curl --request POST \
--url https://api.chatling.ai/v2/chatbots/{chatbotId}/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"properties": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"job_title": "<string>",
"company_name": "<string>",
"website_url": "<string>",
"industry": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
}
'{
"status": "success",
"data": {
"id": "qtr89df0-112d-d197-b541-3f8674663246"
}
}
Create a new contact for the chatbot.
curl --request POST \
--url https://api.chatling.ai/v2/chatbots/{chatbotId}/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"properties": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"phone": "<string>",
"job_title": "<string>",
"company_name": "<string>",
"website_url": "<string>",
"industry": "<string>",
"address": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>"
}
}
'{
"status": "success",
"data": {
"id": "qtr89df0-112d-d197-b541-3f8674663246"
}
}
success if the request was successful, otherwise error.{
"status": "success",
"data": {
"id": "qtr89df0-112d-d197-b541-3f8674663246"
}
}