List endpoints
const url = 'https://api.hooks.events/v1/endpoints?status=active';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.hooks.events/v1/endpoints?status=active' \ --header 'Authorization: Bearer <token>'Requires the endpoints:read scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Cursor from a previous nextCursor
Page size, 1–100 (default 20)
Responses
Section titled “Responses”Success
object
object
Resource id
Resolved environment name
Path segment of the inbound /in/{publicId} URL
A rotation is in progress; both secrets verify
object
object
ISO-8601 timestamp
ISO-8601 timestamp
Pass as ?cursor= to fetch the next page
Example
{ "data": [ { "status": "active", "verificationMode": "none", "rateLimitAction": "store" } ]}Validation error
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Missing or invalid credentials
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}The credential lacks the required scope, or the workspace is not writable
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Rate limited
object
object
Machine-readable error code
Request id, also echoed in x-request-id
Example generated
{ "error": { "code": "example", "message": "example", "requestId": "example" }}Headers
Section titled “Headers”Requests allowed per window
Seconds until the window resets