Update Contact

Update contact

post
/v1/contact/{contactId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

contactIdstring* Required

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

fingerprintstring

The fingerprint of the contact

emailstring

The email address of the contact

phonestring

The phone number of the contact

nickstring

The nickname of the contact

curl -X POST "https://api.chatbotkit.com/v1/contact/{contactId}/update" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

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

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