Contacts

Update a contact

PATCH
/contacts/{id}

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string

The contact's id or email address

Request Body

application/json
  1. body

Fields left out stay as they are; null clears a name, the language or the time zone.

consent?|null
first_name?string|null
language?|

An exx extension; null clears it.

last_name?string|null
properties?|

Values to set by key; null removes a value.

timezone?|

An exx extension; null clears it.

unsubscribed?boolean|null

Response Body

Success

application/json
  1. response
id*string
Formatuuid
object*string
Example Request
curl -X PATCH 'https://api.exx.sh/contacts/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}