POST
/
v1
/
accounts
/
contacts
/
filter
/
ids
curl --request POST \
  --url https://platform.thena.ai/v1/accounts/contacts/filter/ids \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "ids": [
    "C123",
    "C456"
  ]
}'
[
  {
    "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

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
ids
string[]
required

The IDs of the customer contacts to filter

Example:
["C123", "C456"]

Response

201
application/json
Operation successful
id
string
required

The identifier of the customer contact

firstName
string
required

The first name of the customer contact

lastName
string
required

The last name of the customer contact

email
string
required

The email of the customer contact

phoneNumber
string
required

The phone number of the customer contact

avatarUrl
string
required

The avatar URL of the customer contact

accounts
string[]
required

The name of the account

contactTypeId
string
required

The identifier of the contact type

contactType
string
required

The name of the contact type

customFieldValues
string[]
required

The custom field values

metadata
object
required

The metadata of the contact

createdAt
string
required

The creation date of the contact

updatedAt
string
required

The last update date of the contact