/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/webhooks" \ -H "Content-Type: application/json" \ -d '{ "endpoint": "http://example.com", "events": [ "email.sent" ] }'{ "object": "webhook", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "signing_secret": "string"}