Skip to main content
POST
/
api
/
webhooks
Create outbound webhook
curl --request POST \
  --url https://atollhq.com/api/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "enabled": true
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

orgId
string

Body

application/json
url
string<uri>
required

HTTPS DNS receiver URL. IP literals, localhost, .local hosts, URL credentials, and fragments are rejected at creation. Delivery refuses private, loopback, link-local, documentation, multicast, or otherwise non-public DNS results and does not follow redirects.

events
string[]
enabled
boolean

Response

Successful response

The response is of type object.