Create Webhook Endpoint
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
API version to use for the request. If you’re using an SDK, you can ignore this parameter. If you are not using an SDK and do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.
Request
A human-readable name for the webhook endpoint.
The list of global event types to subscribe to. Pass an empty array to create an endpoint with no global events (useful if you only plan to use resource-scoped subscriptions).
Response
A human-readable name for the webhook endpoint.
The signing secret used to verify webhook payloads. This is only returned when creating the endpoint and cannot be retrieved again.
Store it securely — you will need it to verify webhook signatures.

