Webhooks
List Endpoints
Lists endpoints configured for a site.
Authorization
BasicAuth AuthorizationBasic <token>
The username is a Maxio Chargify API key. The password is x.
In: header
Response Body
application/json
curl -X GET "https://example.com/endpoints.json"[ { "id": 11, "url": "https://foobar.com/webhooks", "site_id": 1, "status": "enabled", "webhook_subscriptions": [ "payment_success", "payment_failure", "invoice_pending" ] }, { "id": 12, "url": "https:/example.com/webhooks", "site_id": 1, "status": "enabled", "webhook_subscriptions": [ "payment_success", "payment_failure", "refund_failure" ] }]Replay Webhooks POST
Replays webhooks. Posting to this endpoint does not immediately resend the webhooks. They are added to a queue and sent as soon as possible, depending on available system resources. You can submit an array of up to 1000 webhook IDs in the replay request.
Create Endpoint POST
Creates an endpoint and assigns a list of webhook subscriptions (events) to it. See the [Webhooks Reference](https://maxio-test-wp.pages.dev/getting-started/webhooks/webhooks-reference#events) page for available events.