Create webhook endpoint
This endpoint creates a webhook endpoint and returns the secret used to sign its webhook events. The secret isn’t returned by any other endpoint. An account can have at most 20 webhook endpoints by default.
Authorizations
API Keys can be issued in the Orb's web application.
Body
The HTTPS URL that Orb sends webhook events to.
2048The webhook event types to send to this endpoint. If omitted or null, all event types are sent.
The payload style of the webhook events sent to this endpoint. If omitted or null, the account's default style is used.
expanded, standard Response
Created
A newly created webhook endpoint, along with the secret used to sign its webhook events.
The Orb-assigned unique identifier for the webhook endpoint.
The HTTPS URL that Orb sends webhook events to.
Whether Orb sends webhook events to this endpoint.
The webhook event types sent to this endpoint. If null, all event types are sent.
The payload style of the webhook events sent to this endpoint. standard payloads include each object's own fields and references to related objects, without invoice line items or subscription price intervals. expanded payloads include every object fully expanded.
expanded, standard The time the webhook endpoint was created.
The secret used to sign the webhook events sent to this endpoint. Only returned when the endpoint is created.