Skip to main content
GET
Get a contact's consent sources
consent_data is the consent definition ID; channels is keyed by channel (for example, email or sms).
  • Double opt-in: value is yes, and last_confirmation provides the date and source of the double opt-in confirmation.
  • Single opt-in: value is yes, without last_confirmation.
  • Nothing recorded: The channel is omitted. This is not the same as no: no consent value has been recorded for this channel.
  • No consent: value is no. A previous double opt-in confirmation may still appear in last_confirmation as history.
Both single and double opt-in include first_proof and last_proof, with the dates and sources of the first and most recent records.

Authorizations

Authorization
string
header
required

OAuth2 access token. Pass the token in the Authorization header as Bearer <token>. The token is looked up in Redis to resolve the caller identity.

Path Parameters

contactId
integer<int64>
required

Contact ID.

Required range: x >= 1
Example:

42

Response

object[] | null

OK

channels
object
required
read-only

Recorded consent and source details keyed by channel, such as email or sms. Channels with no recorded proof are omitted.

Consent definition ID.

Required range: x >= 0
Example:

42