GET
/
webhook_endpoints
curl --request GET \
  --url https://api.chargeapi.co/v1/webhook_endpoints \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "object": "list",
  "url": "<string>",
  "has_more": true,
  "data": [
    {
      "id": null,
      "object": null,
      "api_version": null,
      "application": null,
      "created": null,
      "description": null,
      "enabled_events": [
        null
      ],
      "livemode": null,
      "metadata": null,
      "secret": null,
      "status": null,
      "url": null
    }
  ]
}

Query Parameters

limit
integer

Maximum number of endpoints to return (default 10).

Required range: 1 <= x <= 100
starting_after
string

Cursor for pagination; returns items after this endpoint ID.

ending_before
string

Cursor for pagination; returns items before this endpoint ID.

expand
string[]

Specifies related objects to expand in each endpoint (for example, expand[]=application).

Body

application/json · object

Response

200
application/json

A dictionary with a data property that contains an array of up to limit Webhook Endpoint objects, starting after Endpoint starting_after. Each entry in data is a separate Webhook Endpoint object. If no additional endpoints are available, the array is empty.

The response is of type object.