PUT
/
api
/
v2
/
public
/
webhook
curl --request PUT \
  --url https://api.gocobalt.io/api/v2/public/webhook \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "webhook_url": "<string>"
}'
{
    "webhook_url": "https://mysite.com/cobalt/webhook",
    "webhook_events": [
        "connected-created",
        "workflow-completed"
    ]
}

This api updates an existing Cobalt webhook url.

Request description

Body Parameters

webhook_url
string
required

Provide a url where you wish to listen to the event.

Response description

  • 200

  • 500

webhook_url
string

Registered webhook url

webhook_events
array

Subscribed events.