Skip to content

Unsubscribe from a webhook event

PATCH
/webhook/event/{name}/unsubscribe
curl --request PATCH \
--url https://client-api.abi.ai/webhook/event/questionResolved/unsubscribe \
--header 'Authorization: Bearer <token>'
name
required
string

Registered event name to remove from the authenticated partner’s webhook configuration.

Example
questionResolved

Webhook event subscription removed.

Media typeapplication/json

Result returned when listing, registering, or removing webhook subscriptions.

object
success

Whether the requested configuration change or lookup succeeded.

boolean
message

Human-readable outcome summary.

string
eventList

Current event subscriptions after the operation

Array<object>

An event subscription returned in the partner’s webhook configuration.

object
name

Registered event name.

string
url

HTTPS endpoint configured for the event.

string format: uri
Example
{
"success": true,
"message": "Webhook configuration updated.",
"eventList": [
{
"name": "questionResolved",
"url": "https://partner.example/webhooks/abi/question-resolved"
},
{
"name": "caseClosed",
"url": "https://partner.example/webhooks/abi/case-closed"
}
]
}

Request could not be completed.

Media typeapplication/json
object
code

Short machine-readable error code.

string
message

Human-readable explanation of the error.

string
Examplegenerated
{
"code": "example",
"message": "example"
}