cURL
curl "https://api.myworklayer.com/v1/subscriptions/0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90" \
-H "Authorization: Bearer $WORKLAYER_API_KEY"const response = await fetch('https://api.myworklayer.com/v1/subscriptions/0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90', {
headers: {
Authorization: `Bearer ${process.env.WORKLAYER_API_KEY}`,
},
});
const data = await response.json();
console.log(data);{
"id": "0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90",
"name": "Support backend",
"url": "https://hooks.example.com/worklayer",
"enabled": true,
"createdAt": "2026-11-20T15:02:44.120Z",
"updatedAt": "2026-11-20T15:02:44.120Z",
"events": [
"room.response",
"reviews.questions.created",
"reviews.approvals.created"
]
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "Not Found"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Subscriptions
Get a subscription
Retrieves a single Subscription by ID. For security, the signing secret is never returned after creation.
GET
/
v1
/
subscriptions
/
{id}
cURL
curl "https://api.myworklayer.com/v1/subscriptions/0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90" \
-H "Authorization: Bearer $WORKLAYER_API_KEY"const response = await fetch('https://api.myworklayer.com/v1/subscriptions/0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90', {
headers: {
Authorization: `Bearer ${process.env.WORKLAYER_API_KEY}`,
},
});
const data = await response.json();
console.log(data);{
"id": "0f8e2b7c-5a1d-4c3e-9b6f-2d7a8c1e4f90",
"name": "Support backend",
"url": "https://hooks.example.com/worklayer",
"enabled": true,
"createdAt": "2026-11-20T15:02:44.120Z",
"updatedAt": "2026-11-20T15:02:44.120Z",
"events": [
"room.response",
"reviews.questions.created",
"reviews.approvals.created"
]
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "Not Found"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Authorizations
Your factory's Worklayer API key (wrk-...). See Get an API key and Authentication. Requests sent from the playground execute live against your factory.
Response
The subscription.