Create a webhook endpoint
Registers an endpoint for the given event types. The response includes the signing secret; verify deliveries with any Standard Webhooks library.
Registers an endpoint for the given event types. The response includes the signing secret; verify deliveries with any Standard Webhooks library.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
url*string
Format
urievents*array<>
Items
1 <= itemsResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com", "events": [ "member.joined" ] }'{ "id": "string", "url": "string", "events": [ "member.joined" ], "enabled": true, "createdAt": "2019-08-24T14:15:22Z", "secret": "string"}