Releases Index
Get a workspace webhook
View .md

Get a workspace webhook subscription

GET
/workspaces/{workspaceId}/webhooks/{id}

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
id*string

Response Body

The subscription and its delivery health

application/json
  1. response
id*string
scope*string
orgId*string|null
url*string
sourceId*string|null
productId*string|null
releaseType*|null
format*string
Value in"json""slack""discord"
enabled*boolean
description*string|null
secretVersion*integer
Range-9007199254740991 <= value <= 9007199254740991
createdAt*string
lastSuccessAt*string|null
lastErrorAt*string|null
lastErrorMsg*string|null
consecutiveFailures*integer
Range-9007199254740991 <= value <= 9007199254740991
disabledReason*string|null
failureStreakStartedAt*string|null
workspaceId*string
deliveryHealth*string
Value in"never_delivered""healthy""degraded""failing""paused""auto_paused"
deliveryHealthSummary*string
Example Request
curl -X GET 'https://api.releases.sh/v1/workspaces/string/webhooks/string'
Example Response
{  "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",  "workspaceId": "string",  "deliveryHealth": "never_delivered",  "deliveryHealthSummary": "string"}