Skip to main content
Contacts

Get contact email preferences by ID

Retrieves the email preference state for a customer contact by their Featurebase ID.

GET
/v2/contacts/{id}/email-preferences

Important: This endpoint only supports customer contacts. Leads do not have a customer email preference surface in the public API.

Path Parameters

  • id - The Featurebase contact ID (24-character ObjectId)

Response Format

Returns a contact email preferences object with:

  • object - Always "contact_email_preferences"
  • contactId - Featurebase contact ID
  • userId - External user ID, if available
  • email - Contact email address, if available
  • preferences - Current email preference state

Preference Semantics

Each preference includes:

  • status - The stored preference state for that category
  • effectiveStatus - The final state after applying the global all preference override

Example Response

{
  "object": "contact_email_preferences",
  "contactId": "676f0f6765bdaa7d7d760f88",
  "userId": "usr_12345",
  "email": "john@example.com",
  "preferences": {
    "all": {
      "status": "unsubscribed",
      "effectiveStatus": "unsubscribed"
    },
    "postUpdates": {
      "status": "subscribed",
      "effectiveStatus": "unsubscribed"
    },
    "postComments": {
      "status": "subscribed",
      "effectiveStatus": "unsubscribed"
    },
    "commentReplies": {
      "status": "subscribed",
      "effectiveStatus": "unsubscribed"
    },
    "changelog": {
      "status": "subscribed",
      "effectiveStatus": "unsubscribed"
    }
  }
}
Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringrequired

Featurebase contact ID

Example: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Response

application/json

Success

contactIdstringrequired

Featurebase contact ID

Example: 676f0f6765bdaa7d7d760f88
emailstring | null

Contact email address, if available

Example: john@example.com
objectenum<string>required

Object type identifier

Available options: contact_email_preferences
Example: contact_email_preferences
preferencesobjectrequired

Email preference state for this contact, including both stored status and final effective status.

userIdstring | null

External user ID from your system, if available

Example: usr_12345