Add a contact to an audience
Deprecated (as in Resend): a new contact in the audience, or, for an address the project has, that contact joins it (and unsubscribes with `unsubscribed: true`; an unsubscribe is never undone here); its id is the answer.
Deprecated
Deprecated (as in Resend): a new contact in the audience, or, for an address the project has, that contact joins it (and unsubscribes with unsubscribed: true; an unsubscribe is never undone here); its id is the answer.
bearerAuthorizationBearer <token>id*stringuuidapplication/json- body
consent?|nullemail*stringThe identity in the project, in any case.
first_name?string|nulllanguage?|A BCP 47 language tag (an exx extension: the hosted pages' language), kept in its
conventional case (pt-BR).
last_name?string|nullproperties?|Values of the project's properties by key, each of its property's type.
segments?array<>|Static segments it joins.
timezone?|An IANA time zone name (an exx extension: local-time sends).
topics?array<>|Topic choices.
unsubscribed?|The global subscription; absent: subscribed, unless the address was deleted while unsubscribed (it comes back unsubscribed).
Success
application/json- response
id*stringuuidobject*stringcurl -X POST 'https://api.exx.sh/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}