Skip to main content
POST
/
contacts
/
{contactId}
/
attributes
Add contact attribute
curl --request POST \
  --url https://api.heyy.io/api/v2.0/contacts/{contactId}/attributes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "externalId": "<string>",
  "value": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "attributes": [
      {
        "name": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contactId
string
required

Body

application/json
externalId
string
required
value
string
required

Response

200 - application/json
data
object
required