Create a webhook endpoint.
Scopes: webhooks:write
You can generate an Organization Access Token from your organization's settings.
Schema to create a webhook endpoint.
The URL where the webhook events will be sent.
1 - 2083The format of the webhook payload.
raw, discord, slack The events that will trigger the webhook.
checkout.created, checkout.updated, customer.created, customer.updated, customer.deleted, customer.state_changed, customer_seat.assigned, customer_seat.claimed, customer_seat.revoked, order.created, order.updated, order.paid, order.refunded, subscription.created, subscription.updated, subscription.active, subscription.canceled, subscription.uncanceled, subscription.revoked, refund.created, refund.updated, product.created, product.updated, benefit.created, benefit.updated, benefit_grant.created, benefit_grant.cycled, benefit_grant.updated, benefit_grant.revoked, organization.updated The secret used to sign the webhook events.
32"polar_whs_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK"
The organization ID associated with the webhook endpoint. Required unless you use an organization token.
"1dbfc517-0bbf-4301-9ba8-555ca42b9737"
Webhook endpoint created.
A webhook endpoint.
Creation timestamp of the object.
Last modification timestamp of the object.
The ID of the object.
The URL where the webhook events will be sent.
1 - 2083The format of the webhook payload.
raw, discord, slack The secret used to sign the webhook events.
The organization ID associated with the webhook endpoint.
The events that will trigger the webhook.
checkout.created, checkout.updated, customer.created, customer.updated, customer.deleted, customer.state_changed, customer_seat.assigned, customer_seat.claimed, customer_seat.revoked, order.created, order.updated, order.paid, order.refunded, subscription.created, subscription.updated, subscription.active, subscription.canceled, subscription.uncanceled, subscription.revoked, refund.created, refund.updated, product.created, product.updated, benefit.created, benefit.updated, benefit_grant.created, benefit_grant.cycled, benefit_grant.updated, benefit_grant.revoked, organization.updated Whether the webhook endpoint is enabled and will receive events.