Skip to content
cascadehook.docs
API referenceEndpoints

List endpoints

Returns newest-first retained data. Unknown or repeated query parameters are rejected. Follow next_cursor until null; preserve filters. Omit cursor on the first page.

GET
/v1/endpoints

Returns newest-first retained data. Unknown or repeated query parameters are rejected. Follow next_cursor until null; preserve filters. Omit cursor on the first page.

Authorization

projectAPIKey
headerAuthorizationBearer <ch_dev_ or ch_live_ project API key>

Read CASCADEHOOK_API_KEY from the local environment. Never print keys or headers. Scope is the project selected when the key was created.

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string

Opaque next_cursor from the preceding page; omit on the first page. Keep filters unchanged.

Length1 <= length <= 512
enabled?boolean
event_type?string
Match^[a-z0-9][a-z0-9_.-]{2,127}$
Length3 <= length <= 128

Response Body

List endpoints

application/json
  1. response
data*array<>
next_cursor*|

Opaque cursor. Null means the final page. Repeat the same filters when continuing.

Example Request
curl -X GET 'https://api.cascadehook.com/v1/endpoints'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",      "url": "http://example.com",      "enabled": true,      "verified_at": "2019-08-24T14:15:22Z",      "has_signing_secret": true,      "event_types": [        "string"      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}