cURL
basic
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": "[email protected]" } ], "sinkSource": "MANUAL" } '
{ "statusCode": 200, "message": "Users ingested successfully!", "data": [ { "uid": "cc_123456789", "firstName": "John", "lastName": "Doe", "email": "[email protected]", "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
Array of customer contacts to ingest
Show child attributes
The source application for the ingestion
MANUAL
SLACK
TEAMS
INTERCOM
ZENDESK
"MANUAL"
URL to logo image for created accounts
"https://example.com/logo.png"
Customer contacts ingested successfully