Utopia PaymentsDocs
Webhooks

List webhook endpoints

Lists every webhook endpoint in the key's mode, newest first, so you can see which of them is subscribed to what. This list is not paginated: `has_more` is always `false` and `next_cursor` always `null`. Signing secrets are not included; read one with `GET /webhooks/{id}/secret`.

GET
/webhooks

Lists every webhook endpoint in the key's mode, newest first, so you can see which of them is subscribed to what. This list is not paginated: has_more is always false and next_cursor always null. Signing secrets are not included; read one with GET /webhooks/{id}/secret.

Authorization

secretKey
AuthorizationBearer <token>

Your secret key: sk_live_… or sk_test_….

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/webhooks"
{  "items": [    {      "object": "webhook",      "webhook_id": "wh_3f2b8c1e9a4d4e7b8c2a1d5e6f7a8b9c",      "url": "http://example.com",      "description": "string",      "event_types": [        "payment.succeeded"      ],      "disabled": true,      "livemode": true,      "created_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true,  "next_cursor": "string"}