Skip to main content
POST
/
api
/
v1
/
projects
/
{project_id}
/
webhook
Create Webhook
curl --request POST \
  --url https://api.example.com/api/v1/projects/{project_id}/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "WebhookEndpoint": "<string>",
  "AdditionalHeaders": {},
  "EventTypes": []
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

Body

application/json
WebhookEndpoint
string
required
AdditionalHeaders
Additionalheaders · object
EventTypes
string[]

Response

Successful Response

success
boolean
required
data
unknown