API referenceWebhooks
POST /webhooks/endpoints
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/webhooks/endpoints" \ -H "Content-Type: application/json" \ -d '{ "channelId": "string", "url": "http://example.com" }'{ "$schema": "https://example.com/schemas/CreateEndpointOutputBody.json", "active": true, "channelId": "string", "createdAt": "string", "description": "string", "endpointId": "string", "eventTypes": [ "string" ], "hasSecret": true, "orgId": "string", "rawSecret": "string", "updatedAt": "string", "url": "string"}channelId*string
Length
1 <= lengthdescription?string
eventTypes?array<string>|
Event types to filter (empty = all)
url*string
Format
uriLength
1 <= length