EasyRoutes API

List webhook subscriptions

GET
/webhooks

Fetch a list of all webhook subscriptions. The response will include a list of webhook subscriptions with their IDs, URLs, subscribed topics, and active status.

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from /authenticate

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/webhooks"
{  "webhooks": [    {      "id": "sub-123e4567-e89b-12d3-a456-426614174000",      "url": "https://example.com/webhook",      "topics": [        "ROUTE_CREATED",        "ROUTE_UPDATED"      ],      "active": true    }  ]}
{  "code": 0,  "message": "string",  "details": [    {      "@type": "string"    }  ]}