Update Email Integration
Update a Email integration
post
/v1/integration/email/{emailIntegrationId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
emailIntegrationIdstring* Required
The ID of the Email integration
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
contactCollectionboolean
Weather to collect contacts
sessionDurationnumber
The session duration (in milliseconds)
botIdstring
The ID of the bot this configuration is using
curl -X POST "https://api.chatbotkit.com/v1/integration/email/{emailIntegrationId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","contactCollection":"boolean","sessionDuration":"number",} EOF"botId":"string"
{"id":"string"}
The Email integration was updated successfully