RaylightAPI

Webhooks

List webhook endpoints

List webhook endpoints. GET /v1/webhooks in the Raylight API.

GET/v1/webhooks

API key with the productions scope.

Parameters

FieldInTypeDescription
workspaceIdqueryuuid

Responses

200The workspace's endpoints.
400Invalid request.
401Missing, invalid or revoked key.
403The key lacks the productions scope (code api_key_missing_scope), or its owner has view-only access to the workspace (code forbidden).
404No such endpoint or workspace for this key (code not_found).
429Rate limited, or a monthly cap reached.
503Webhooks are not switched on for this server (code disabled). Every webhook route answers this while they are off.

200 response body

FieldTypeDescription
endpointsrequiredobject[]
endpoints[].idrequireduuid
endpoints[].workspaceIdrequireduuid
endpoints[].urlrequiredurl
endpoints[].descriptionrequiredstring | null
endpoints[].eventsrequiredenum[]
endpoints[].enabledrequiredboolean
endpoints[].disabledReasonrequiredstring | null
endpoints[].consecutiveFailuresrequiredinteger
endpoints[].lastAttemptAtrequireddatetime | null
endpoints[].lastSuccessAtrequireddatetime | null
endpoints[].previousSecretExpiresAtrequireddatetime | null
endpoints[].createdAtrequireddatetime
endpoints[].updatedAtrequireddatetime

Example

curl
curl https://api.raylight.app/v1/webhooks \  -H "Authorization: Bearer $RAYLIGHT_API_KEY"