Skip to main content
GET
/
api
/
v1
/
mgt
/
workspaces
/
{workspaceId}
/
webhook-subscriptions
/
{subscriptionId}
Get Webhook Subscription
curl --request GET \
  --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/webhook-subscriptions/{subscriptionId} \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
  "status": true,
  "code": 123,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>",
    "events": [
      "<string>"
    ],
    "description": "<string>",
    "isActive": true,
    "status": "<string>",
    "rateLimit": 123,
    "metadata": {},
    "lastDeliveryAt": "2023-11-07T05:31:56Z",
    "lastDeliveryStatus": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

Workspace ID

subscriptionId
string<uuid>
required

Subscription ID

Response

Subscription retrieved successfully

status
boolean
code
integer
data
object