curl --request GET \
--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": "66e5701971ff81574d55b2ba",
"createdAt": "2024-09-14T11:14:33.368Z",
"webhook_type": "slack"
}
This API fetches a registered Cobalt webhook details by ID.
Request description
Path Parameters
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": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e5701971ff81574d55b2ba",
"createdAt": "2024-09-14T11:14:33.368Z",
"webhook_type": "slack"
}