PUT
/
v1
/
accounts
/
contacts
/
{contactId}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/contacts/{contactId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "firstName": "John",
  "lastName": "Doe",
  "avatarUrl": "https://example.com/avatar.png",
  "email": "john.doe@example.com",
  "phoneNumber": "+1234567890",
  "contactType": "CT123",
  "accountIds": [
    "A123",
    "A456"
  ],
  "metadata": {},
  "customFieldValues": [
    {}
  ]
}'
{
  "id": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "phoneNumber": "<string>",
  "avatarUrl": "<string>",
  "accounts": [
    "<string>"
  ],
  "contactTypeId": "<string>",
  "contactType": "<string>",
  "customFieldValues": [
    "<string>"
  ],
  "metadata": {},
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

contactId
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.