Skip to main content
POST
/
webhooks
Create Webhook
curl --request POST \
  --url https://crm.universal.rollout.com/api/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Rollout-Credential-Id: <api-key>' \
  --data '
{
  "url": "<string>",
  "event": "<string>",
  "filters": {}
}
'
{
  "id": "<string>",
  "status": "<string>",
  "event": "<string>",
  "url": "<string>",
  "filters": {}
}

Authorizations

Authorization
string
header
required

Authorization JWT

X-Rollout-Credential-Id
string
header
required

The Rollout Credential ID to use for queries/mutations

Body

application/json
url
string
required
event
string
required
filters
object

Response

Created

id
string
required
status
required
event
string
required
url
string
required
filters
object
required