Create a webhook
POST/webhook
Create a webhook associated with a project to receive notifications.
Request
Details
Query Parameters
apiKey stringrequired
The public API key for authentication.
Details
Header Parameters
API-SECRET stringrequired
The secret API key for authentication.
- application/json
Details
Body
required
projectId string
webhookUrl string
eventType string
Responses
- 201
- 403
Webhook successfully created.
- application/json
- Schema
- Example (from schema)
Details
Schema
projectId string
webhookUrl string
eventType string
{
"projectId": "string",
"webhookUrl": "string",
"eventType": "string"
}
Access to the resource is forbidden.
- application/json
- Schema
- Example (from schema)
Details
Schema
statusCode integer
errorMessage string
error string
{
"statusCode": 403,
"errorMessage": "Forbidden resource",
"error": "Forbidden"
}
Loading...