Audiences (deprecated)

Update an audience's contact

Deprecated (as in Resend): changes the contact itself.

Deprecated

PATCH
/audiences/{id}/contacts/{contact_id}

Deprecated (as in Resend): changes the contact itself.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid
contact_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/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}