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

Authorizations

x-api-key
string
header
required

Enter your API key

Body

application/json

Bulk customer contact data

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"

source
string

Source of the customer contacts

Example:

"Slack"

Response

Customer contacts created successfully

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.