Skip to main content
POST
Close conversation

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Path Parameters

conversation_id
string
required

The ID of the conversation to close. It's the conversation.id you get back from Create conversation.

Body

application/json

The status change to make and who is making it.

event
string
required

The kind of event. Set it to status to change the conversation's status.

Example:

"status"

status
string
required

The new status. Set it to CLOSE to close the conversation.

Example:

"CLOSE"

user
object
required

The agent closing the conversation.

Response

The conversation was closed. Returns ok set to true.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

Last modified on October 23, 2026