Skip to content

List webhooks

Request

Security
authJWT
Query
pagestring

Page number (default: 1)

limitstring

Items per page (default: 50)

curl -i -X GET \
  'https://docs.pers.ninja/_mock/swagger/hooks?page=string&limit=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of webhooks

Bodyapplication/json
dataArray of anyrequired

Array of data items

paginationobjectrequired

Pagination metadata

Example:
{ "page": 1, "limit": 50, "total": 150, "pages": 3, "hasNext": true, "hasPrev": false }
metadataobject or null

Additional metadata (e.g., enriched relations)

Example:
{ "includes": [ "sender", "recipient" ] }
Response
{ "data": [], "pagination": { "page": 1, "limit": 50, "total": 150, "pages": 3, "hasNext": true, "hasPrev": false }, "metadata": { "includes": [ … ] } }