Skip to content
dimmiDocs

Contacts and companies

Sign a contact out of the messenger

DELETE/api/v1/contacts/{contact}/widget-sessions

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

contactstringrequired

Id of the contact (a customer or lead), starting with ctc_, such as ctc_01jx2m8k4t. Find it with GET /contacts.

Response 200

OK
sessions_revokedintegerrequired

How many of the contact's messenger sessions were ended.

Format: int64

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.