Releases Index
List workspace webhooks
View .md

List workspace webhook subscriptions

GET
/workspaces/{workspaceId}/webhooks

Authorization

bearerAuth
headerAuthorizationBearer <relk_… | relu_… | OAuth JWT>

Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.

Path Parameters

workspaceId*string

Query Parameters

enabled?boolean

true for enabled subscriptions only, false for disabled only.

Response Body

The workspace's webhook subscriptions and the caller's role

application/json
  1. response
subscriptions*array<>
role*string
Value in"owner""admin""member"
canManage*boolean
Example Request
curl -X GET 'https://api.releases.sh/v1/workspaces/string/webhooks'
Example Response
{  "subscriptions": [    {      "id": "string",      "scope": "org",      "orgId": "string",      "url": "string",      "sourceId": "string",      "productId": "string",      "releaseType": "feature",      "format": "json",      "enabled": true,      "description": "string",      "secretVersion": -9007199254740991,      "createdAt": "string",      "lastSuccessAt": "string",      "lastErrorAt": "string",      "lastErrorMsg": "string",      "consecutiveFailures": -9007199254740991,      "disabledReason": "string",      "failureStreakStartedAt": "string",      "deliveryHealth": "never_delivered",      "deliveryHealthSummary": "string",      "orgSlug": "string",      "orgName": "string",      "sourceSlug": "string",      "sourceName": "string",      "productSlug": "string",      "productName": "string",      "workspaceId": "string"    }  ],  "role": "owner",  "canManage": true}