cURL
curl "https://api.myworklayer.com/v1/rooms/cmhx3q7v20004l808sd5k2r1m" \
-H "Authorization: Bearer $WORKLAYER_API_KEY"const response = await fetch('https://api.myworklayer.com/v1/rooms/cmhx3q7v20004l808sd5k2r1m', {
headers: {
Authorization: `Bearer ${process.env.WORKLAYER_API_KEY}`,
},
});
const data = await response.json();
console.log(data);{
"id": "cmhx3q7v20004l808sd5k2r1m",
"source": "api",
"kind": "api",
"name": "Support ticket 4821",
"externalKey": "zendesk-ticket-4821",
"lastActivityAt": "2026-11-19T17:42:08.311Z",
"createdAt": "2026-11-19T17:40:55.902Z"
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "Room not found.",
"error": "Not Found"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Rooms
Get a Room
Retrieves a single Room by ID. Pass web as roomId to fetch the factory’s main Room.
GET
/
v1
/
rooms
/
{roomId}
cURL
curl "https://api.myworklayer.com/v1/rooms/cmhx3q7v20004l808sd5k2r1m" \
-H "Authorization: Bearer $WORKLAYER_API_KEY"const response = await fetch('https://api.myworklayer.com/v1/rooms/cmhx3q7v20004l808sd5k2r1m', {
headers: {
Authorization: `Bearer ${process.env.WORKLAYER_API_KEY}`,
},
});
const data = await response.json();
console.log(data);{
"id": "cmhx3q7v20004l808sd5k2r1m",
"source": "api",
"kind": "api",
"name": "Support ticket 4821",
"externalKey": "zendesk-ticket-4821",
"lastActivityAt": "2026-11-19T17:42:08.311Z",
"createdAt": "2026-11-19T17:40:55.902Z"
}{
"statusCode": 401,
"message": "Unauthorized"
}{
"statusCode": 404,
"message": "Room not found.",
"error": "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.
Path Parameters
Response
The Room.
A conversation between your app and the factory. Each factory has a main Room, and you can create more.