planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

Documentation Issue #1186

Closed michaelhvisser closed 4 months ago

michaelhvisser commented 4 months ago

Affected Product Which product does this bug affect? API Documentation

Describe the bug The current URL shown in the documentation does not match the returned URL from webhooks/v2/

Docs: https://api.planningcenteronline.com/webhooks/v2/webhook_subscriptions

Returned URL: https://api.planningcenteronline.com/webhooks/v2/subscriptions

glosie commented 4 months ago

Hi @michaelhvisser,

The rename from /subscriptions to /webhook_subscriptions is part of a versioned change: 2022-10-20. Ensuring the X-PCO-API-Version header is set accordingly should get you the version you're expecting.

Also worth noting: though it's been available for a while, 2022-10-20 is still technically tagged as beta. We'll look into getting that designation removed, but in the meantime, there's still the possibility of breaking changes within that version.