Gensprite
Account

Get mailing list state

GET
/v1/email-preferences

Whether this account receives product announcements. Read from the mail provider, which holds the consent flag - there is no copy of it here that could disagree with the one the unsubscribe link in a message writes.

false for an account the provider has never seen, which is what an account opened while the list was unconfigured looks like.

Authorization

AuthorizationBearer <token>

API key sent in the Authorization bearer header. Used by programmatic clients.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/email-preferences"
{  "subscribed": true}