Webhooks
Get all webhooks
About API Reference
Linked Account
Config
Config Fields
Webhooks
Public Workflows
Schedule
Session Token
Cobalt Hosted
Webhooks
Get all webhooks
GET
/
api
/
v2
/
public
/
webhook
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/webhook \
--header 'x-api-key: <api-key>'
[
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhookurl.com/123-br8-48gq",
"_id": "66e56d6584659ad40b4a6799",
"createdAt": "2024-09-14T11:03:01.877Z",
"webhook_type": "default"
},
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e5701971ff81574d55b2ba",
"createdAt": "2024-09-14T11:14:33.368Z",
"webhook_type": "slack"
}
]
This API retrieves list of all registered webhooks in Cobalt.
Response description
Whether the webhook is active or not.
Webhooks events subscribed. Accepted values are, Connection Created
, Connection Deleted
, Workflow Completed
, Workflow Errored
, Connection Expired
.
Webhook URL to listen to the events.
Unique ID of the webhook.
The type of webhook. Accepted values are default
and slack
.
[
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhookurl.com/123-br8-48gq",
"_id": "66e56d6584659ad40b4a6799",
"createdAt": "2024-09-14T11:03:01.877Z",
"webhook_type": "default"
},
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e5701971ff81574d55b2ba",
"createdAt": "2024-09-14T11:14:33.368Z",
"webhook_type": "slack"
}
]
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/webhook \
--header 'x-api-key: <api-key>'
[
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhookurl.com/123-br8-48gq",
"_id": "66e56d6584659ad40b4a6799",
"createdAt": "2024-09-14T11:03:01.877Z",
"webhook_type": "default"
},
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e5701971ff81574d55b2ba",
"createdAt": "2024-09-14T11:14:33.368Z",
"webhook_type": "slack"
}
]