Webhooks
Delete webhook
About API Reference
Linked Account
Config
Config Fields
Webhooks
Session Token
Cobalt Hosted
Webhooks
Delete webhook
DELETE
/
api
/
v2
/
public
/
webhook
/
:id
curl --request DELETE \
--url https://api.gocobalt.io/api/v2/public/webhook/:id \
--header 'x-api-key: <api-key>'
[
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e58b8d19becbeeea0bd11a",
"createdAt": "2024-09-14T13:11:41.043Z",
"webhook_type": "default"
},
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted"
],
"webhook_url": "https://webhookurl.com/newwebhook",
"_id": "66e5963a51b0a208fecbca31",
"createdAt": "2024-09-14T13:57:14.398Z",
"webhook_type": "slack"
}
]
This API deletes a registered Cobalt webhook.
Request description
Path Parameters
Unique ID of the webhook to be deleted.
Response description
Whether the webhook is active or not.
Webhook events subscribed.
Timestamp of webhook creation.
Webhook URL to listen to the events.
Unique ID of the webhook.
The type of webhook. Accepted values are default
and slack
.
[
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e58b8d19becbeeea0bd11a",
"createdAt": "2024-09-14T13:11:41.043Z",
"webhook_type": "default"
},
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted"
],
"webhook_url": "https://webhookurl.com/newwebhook",
"_id": "66e5963a51b0a208fecbca31",
"createdAt": "2024-09-14T13:57:14.398Z",
"webhook_type": "slack"
}
]
curl --request DELETE \
--url https://api.gocobalt.io/api/v2/public/webhook/:id \
--header 'x-api-key: <api-key>'
[
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e58b8d19becbeeea0bd11a",
"createdAt": "2024-09-14T13:11:41.043Z",
"webhook_type": "default"
},
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted"
],
"webhook_url": "https://webhookurl.com/newwebhook",
"_id": "66e5963a51b0a208fecbca31",
"createdAt": "2024-09-14T13:57:14.398Z",
"webhook_type": "slack"
}
]