Skip to main content
POST
/
webhook
cURL
curl --request POST \
  --url https://api.example.com/webhook \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "createdAt": "<unknown>",
    "enabled": true,
    "events": [],
    "id": "<string>",
    "secret": "<string>",
    "updatedAt": "<unknown>",
    "url": "<string>",
    "userId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

OAuth access token sent as Authorization: Bearer <access-token>.

Response

201 - application/json

Create webhook

data
object
required