Contacts
Create a contact
A new contact of the project. Its address is its identity in any case; an address the project has is refused (409 `exx_contact_exists`).
POST
A new contact of the project. Its address is its identity in any case; an address the project has is refused (409 exx_contact_exists).
bearerheader
AuthorizationBearer <token>application/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*stringFormat
uuidobject*stringcurl -X POST 'https://api.exx.sh/contacts' \ -H 'Content-Type: application/json' \ -d '{ "email": "string"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}