Skip to main content
PATCH
/
api
/
v1
/
campaigns
/
{campaign_id}
/
webhooks
/
{webhook_id}
/
toggle
curl -X PATCH "https://app.talkover.ai/api/v1/campaigns/campaign-uuid/webhooks/webhook-uuid-1/toggle" \
  -H "Authorization: Bearer talq_your_environment_token_here"
{
  "success": true,
  "message": "Webhook disabled",
  "data": {
    "id": "webhook-uuid-1",
    "enabled": false
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

Toggle Campaign Webhook

Toggle a campaign webhook between enabled and disabled. Disabling stops all deliveries without deleting the configuration.

Endpoint

PATCH /api/v1/campaigns/{campaign_id}/webhooks/{webhook_id}/toggle

Path Parameters

campaign_id
string
required
Campaign UUID.
webhook_id
string
required
Webhook UUID.

Request Headers

Authorization
string
required
Bearer token. Format: Bearer talq_your_environment_token_here

Examples

curl -X PATCH "https://app.talkover.ai/api/v1/campaigns/campaign-uuid/webhooks/webhook-uuid-1/toggle" \
  -H "Authorization: Bearer talq_your_environment_token_here"

Response

{
  "success": true,
  "message": "Webhook disabled",
  "data": {
    "id": "webhook-uuid-1",
    "enabled": false
  }
}