curl --request POST \
--url https://platform.thena.ai/v1/accounts/contacts/ingest \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"users": [
{
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
],
"sinkSource": "MANUAL"
}'
{
"statusCode": 200,
"message": "Users ingested successfully!",
"data": [
{
"uid": "cc_123456789",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"avatarUrl": "https://example.com/avatar.jpg",
"contactType": "customer",
"createdAt": "2023-12-07T10:30:00Z",
"updatedAt": "2023-12-07T10:30:00Z"
}
]
}
curl --request POST \
--url https://platform.thena.ai/v1/accounts/contacts/ingest \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"users": [
{
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
],
"sinkSource": "MANUAL"
}'
{
"statusCode": 200,
"message": "Users ingested successfully!",
"data": [
{
"uid": "cc_123456789",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phoneNumber": "+1234567890",
"avatarUrl": "https://example.com/avatar.jpg",
"contactType": "customer",
"createdAt": "2023-12-07T10:30:00Z",
"updatedAt": "2023-12-07T10:30:00Z"
}
]
}
Enter your API key
Data for ingesting customer contacts
The body is of type object
.
Customer contacts ingested successfully
The response is of type any
.