GET
/
webhooks
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: 'My Bearer Token',
});

// Automatically fetches more pages as needed.
for await (const webhookListResponse of client.webhooks.list()) {
  console.log(webhookListResponse.id);
}
{
  "data": [
    {
      "created_at": "<string>",
      "description": "<string>",
      "disabled": true,
      "filter_types": [
        "<string>"
      ],
      "id": "<string>",
      "metadata": {},
      "rate_limit": 1,
      "updated_at": "<string>",
      "url": "<string>"
    }
  ],
  "done": true,
  "iterator": "<string>",
  "prev_iterator": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer | null

Limit the number of returned items

iterator
string | null

The iterator returned from a prior invocation

Response

200 - application/json

List of endpoints

The response is of type object.