webhooks
public
get/v1/webhooks/endpoints/{id}
Request
- Base URLhttps://api.polar.sh
- URLhttps://api.polar.sh/v1/webhooks/endpoints/{id}
- Auth
- OpenID Connect (/.well-known/openid-configuration, scopes: webhooks:read, webhooks:write)
- or HTTP bearer
- or HTTP bearer
Path parameters
idstring uuid4 required
The webhook endpoint ID.
Response
Successful Response
Example response
{
"url": "https://webhook.site/cb791d80-f26e-4f8c-be88-6e56054192b0",
"secret": "whsec_ovyN6cPrTv56AApvzCaJno08SSmGJmgbWilb33N2JuK"
}Changes
- warning
added the new
discount.createdenum value to the/response property for the response status - warning
added the new
discount.deletedenum value to the/response property for the response status - warning
added the new
discount.updatedenum value to the/response property for the response status - warning
added the new
subscription.cycledenum value to the/response property for the response status
- warning