webhooks
public

List Webhook Endpoints

Changed on

List webhook endpoints.

Scopes: webhooks:read webhooks:write

get/v1/webhooks/endpoints

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/webhooks/endpoints
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: webhooks:read, webhooks:write)
    • or HTTP bearer
    • or HTTP bearer

Query parameters

string uuid4

The organization ID.

OR
string[]
Example:1dbfc517-0bbf-4301-9ba8-555ca42b9737
pageinteger

Page number, defaults to 1.

limitinteger

Size of a page, defaults to 10. Maximum is 100.

Response

Successful Response

Example response

{
  "items": [
    {
      "url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0",
      "secret": "whsec_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK"
    }
  ]
}

Changes

    • warning

      added the new discount.created enum value to the /// response property for the response status

    • warning

      added the new discount.deleted enum value to the /// response property for the response status

    • warning

      added the new discount.updated enum value to the /// response property for the response status

    • warning

      added the new subscription.cycled enum value to the /// response property for the response status