Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Get a contact's consent state by contact key

GET
/api/v3/contacts/keyed/{contactKey}/consents
curl --request GET \
--url 'https://api.tryletterhead.com/api/v3/contacts/keyed/example/consents?api=true' \
--header 'Authorization: Bearer <token>'

Same as Get a contactโ€™s consent state (GET /api/v3/contacts/{email}/consents), with the contact addressed by its contactKey instead of its email address. This read is deliberately unrestricted โ€” itโ€™s available regardless of whether notification-platform writes are enabled for your tenant.

This is a company-level (v3) read. Authenticate with a company API key as a Bearer token.

contactKey
required
string

The contactโ€™s opaque 64-character hex key.

api
required
boolean

Required. Set to true.

200 OK. Same shape as GET /api/v3/contacts/{email}/consents.

Media type application/json
object
items

Full field list under GET /api/v3/contacts/{email}/consents.

object
message
string
total
integer
Example generated
{
"items": {},
"message": "example",
"total": 1
}

Still can’t find what you need? Contact support.