Skip to main content
PUT
Update webhook endpoint

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Path Parameters

webhook_endpoint_id
string
required

Body

application/json
url
string | null

The HTTPS URL that Orb sends webhook events to.

Maximum string length: 2048
enabled_event_types
string[] | null

The webhook event types to send to this endpoint. Null sends all event types; omit to leave them unchanged.

payload_style
enum<string> | null

The payload style of the webhook events sent to this endpoint. Applies to events created after the change; omit to leave it unchanged.

Available options:
expanded,
standard

Response

OK

A webhook endpoint is an HTTPS URL that Orb sends webhook events to.

id
string
required

The Orb-assigned unique identifier for the webhook endpoint.

url
string
required

The HTTPS URL that Orb sends webhook events to.

enabled
boolean
required

Whether Orb sends webhook events to this endpoint.

enabled_event_types
string[] | null
required

The webhook event types sent to this endpoint. If null, all event types are sent.

payload_style
enum<string>
required

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.

Available options:
expanded,
standard
created_at
string<date-time>
required

The time the webhook endpoint was created.