POST
/
api
/
v1
/
webhooks
Create Webhook
curl --request POST \
  --url {protocol}://{domain}/api/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'url=<string>' \
  --data 'secret=<string>'
{
  "id": "<string>",
  "url": "<string>",
  "secret": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication supports:

  • Personal API tokens (PATs)
  • OAuth2 access tokens
  • JWT tokens

Example: Authorization: Bearer your_token_here

Body

application/x-www-form-urlencoded

Response

201 - application/json

Webhook created

The response is of type object.