Webhooks
Update Webhook
PUT
/
api
/
v2
/
public
/
webhook
/
:id
This API updates an existing Cobalt webhook using its unique identifier.
Request description
Path Parameters
id
string
requiredUnique webhook id.
Body Parameters
webhook_url
string
Provide the URL where you wish to listen to the event.
webhook_events
string[]
Array of strings of webhooks events to subscribe. Accepted values are, Connection Created
, Connection Deleted
, Workflow Completed
, Workflow Errored
, Connection Expired
.
is_enabled
boolean
Determines whether the webhook is active or not.
webhook_type
string
The type of webhook. Accepted values are default
and slack
.
Response description
is_enabled
boolean
Whether the webhook is active or not.
webhook_events
array
Webhook events subscribed.
created_At
string
Timestamp of webhook creation.
webhook_url
string
Webhook URL to listen to the events.
_id
string
Unique ID of the webhook.
webhook_type
string
The type of webhook. Accepted values are default
and slack
.