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

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.