DeveloperAPI ReferenceWebhooks
/api/webhooks
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/webhooks" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "url": "http://example.com" }'{
"id": "string",
"name": "string",
"url": "string",
"secret": "string",
"events": "string",
"enabled": true,
"createdAt": "string",
"updatedAt": "string"
}{
"error": "string"
}