POST
/
v1
/
accounts
/
contacts
/
bulk
curl --request POST \
  --url https://platform.thena.ai/v1/accounts/contacts/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "contacts": [
    "<string>"
  ],
  "accountIds": "A123",
  "contactType": "CT123"
}'
{
  "total": 123,
  "created": 123,
  "skipped": 123
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
contacts
string[]
required

Details of customer contacts to create

accountIds
string[]

Account ID of the customer contacts

Example:

"A123"

contactType
string

Contact type of the customer contacts

Example:

"CT123"

Response

201
application/json
Operation successful
total
number
required

The total number of contacts provided

created
number
required

The number of contacts created

skipped
number
required

The number of contacts skipped due to existing contacts with the same email.