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
}
}
Campaign Webhooks
Toggle Campaign Webhook
Enable or disable a campaign webhook
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
}
}
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
string
required
Campaign UUID.
string
required
Webhook UUID.
Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_hereExamples
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
}
}
Was this page helpful?