Skip to main content
POST
/
api
/
v1
/
conversations
/
{id}
/
unsubscribe
/
cURL
curl --request POST \
  --url https://alpha-plagiocephalic-darrell.ngrok-free.dev/api/v1/conversations/{id}/unsubscribe/ \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contact": {
    "phoneNumber": "<string>",
    "name": "<string>"
  },
  "activeAgent": "<string>",
  "whatsappNumber": "<string>",
  "chatWindowRemainingTime": "<string>",
  "lastMessage": "<string>",
  "isHumanTakeover": "<string>",
  "active": "<string>",
  "routing": "<string>",
  "webhookId": "<string>",
  "routingOverride": "<string>"
}
Clears the per-conversation routing and webhookOverride. The conversation falls back to the number’s defaultRouting for future inbound messages. If the conversation was previously routed to a webhook, fires subscription.revoked on that webhook so it knows to stop expecting traffic for this conversation.

Authorizations

X-API-Key
string
header
required

API key authentication. Pass your API key in the X-API-Key header.

Path Parameters

id
string
required

Response

200 - application/json
id
string<uuid>
required
read-only
contact
object
required
activeAgent
string
required
read-only
whatsappNumber
string
required
read-only
chatWindowRemainingTime
string
required
read-only
lastMessage
string
required
read-only
isHumanTakeover
string
required
read-only
active
string
required
read-only
routing
string
required
read-only
webhookId
string
required
read-only
routingOverride
string
required
read-only