Upsert Conversation Contact

Upsert contact

post
/v1/conversation/{conversationId}/contact/upsert

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

conversationIdstring* Required

The ID of the conversation

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

emailstring

The email address of the contact

phonestring

The phone number of the contact

curl -X POST "https://api.chatbotkit.com/v1/conversation/{conversationId}/contact/upsert" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"name":"string",
"description":"string",
"meta":"object",
"email":"string",
"phone":"string"
}
EOF
{
"id":"string"
}
The contact was created successfully