Skip to content

Concierge API

The Concierge API runs guest services for a hotel: a guest signs in on their phone or the room TV, then calls a department, chats, orders, books and controls the TV. This page covers sign-in and calling; chat, voice, stays and the room TV have their own pages (see Related).

Resources

Resource What it is
Guest session A phone or TV signed in to one stay. Created by a PIN or by room number and password.
Department A hotel team a guest can call or chat with, for example Housekeeping or Front desk.
Call A voice call: guest to a department, staff to a room, or staff to staff.
Media room The real-time audio room of a call. Its ID is the call's roomId, for example call-42.
Stay A guest's booking of a room. See Stays.

Authentication and permissions

Routes accept one of three credentials. Staff tokens come from Authentication.

Caller Credential Routes
Guest Guest session token, from POST /auth/pin, /auth/room or /auth/pin/verify /calls…, /departments, /me, /threads…
Staff Access token (Authorization: Bearer <ACCESS_TOKEN>) /staff/…
Room TV Device token, issued when the display is paired. See Pair a display /tv/…
Guest or staff Either of the first two /rtc/…

A staff member sees calls for the departments of the teams they work in. Supervisors, and people in no team, see all departments. No separate permission name is checked on the calling routes.

Base path

https://<API_HOST>/api/v1/concierge/…

Concierge is served by CoreAPI. The hosts for each environment are in API conventions.

Capabilities

  • Guest calls a department; staff accept and end it
  • Staff call a guest room; the guest answers on the phone or the room TV
  • Staff call a colleague
  • Real-time audio through signaling routes you call before and during a call
  • A call nobody accepts becomes missed
  • Queueing and automatic assignment to the next free staff member (planned)
  • Push notification of call status changes: today you poll about every 1.5 seconds (planned)

Object model

Sign-in

Guests sign in with a PIN shown on the room TV (POST /auth/pin {"code": "<PIN>"}), or with the room number and password from the booking (POST /auth/room {"roomNumber", "password"}). Both need no token and return the guest session token in data.token, valid for 30 days, with the stay's summary. Room login allows 10 tries a minute per room.

{
  "success": true,
  "data": {
    "stayId": 17,
    "hotelName": "Grand Hotel",
    "roomNumber": "203",
    "spaceId": "9a0d6e2f-1b4c-4a7e-8f35-6c2b0d1e9a77",
    "establishmentId": "4c1f8b2e-7d3a-4e9b-a0c5-3b6d9e1f2a84",
    "depositAmount": 0,
    "depositRemaining": 0,
    "checkOutAt": "2026-10-31T11:00:00Z",
    "token": "<GUEST_TOKEN>"
  }
}

Signing in ends every other phone session of the same room: one phone per room.

Call

Field Type Description
id integer ID of the call. Set by the server.
roomId string The media room both sides join, call-<id>. Set by the server.
direction string guest_to_staff or staff_to_guest.
stayId integer The stay that placed or receives the call.
departmentId integer The department called.
staffUserId string staff_to_guest: the staff member who rang.
acceptedBy string guest_to_staff: the staff member who took it.
answeredOn string staff_to_guest: phone or tv, where the guest answered.
status string See States.
startedAt string (ISO 8601 UTC) When it started ringing.
acceptedAt, endedAt string or null Set when accepted and when ended.
{
  "id": 42,
  "roomId": "call-42",
  "direction": "guest_to_staff",
  "stayId": 17,
  "departmentId": 3,
  "status": "ringing",
  "startedAt": "2026-11-16T08:50:00Z"
}

Responses use {"success": true, "data": …}.

Make a call

  1. The guest starts it: POST /calls {"departmentId": 3}. You get 201 with the call in ringing.
  2. Staff see it in GET /staff/calls/ringing and accept it: POST /staff/calls/42/accept.
  3. The guest app polls GET /calls/42 until status is accepted.
  4. Both sides join the media room (below), then end the call with PATCH /calls/42/end or PATCH /staff/calls/42/end.

For a staff call to a room, staff send POST /staff/room-calls {"stayId": 17}; the guest sees it at GET /calls/incoming and answers with POST /calls/{id}/answer, or the room TV answers with POST /tv/call/{id}/answer. The TV only plays the staff voice.

Media signaling

Each side runs the same sequence on /rtc/…, using a standard WebRTC client library on the media service's parameters:

  1. POST /rtc/rooms/{roomId}/capabilities to get the room's codecs.
  2. POST /rtc/transports twice: a send and a recv transport.
  3. POST /rtc/transports/{id}/connect for each, with your dtlsParameters.
  4. POST /rtc/transports/{id}/produce on the send transport to publish your microphone.
  5. GET /rtc/rooms/{roomId}/producers, then POST /rtc/transports/{id}/consume on the receive transport to hear the other side.
  6. POST /rtc/transports/{id}/close when you leave.

These bodies are passed through from the media service unchanged. The media itself flows directly between the client and the media service, not through the API.

Lists

No concierge list is paginated: there is no page or limit. A list comes back whole in data, as an array, and [] when empty. The only list with a limit is the staff stay list (see Stays).

List Order
GET /departments (guest) sortOrder, then name. Only active departments of the guest's hotel, plus the shared defaults.
GET /staff/calls/ringing Oldest first. Only departments the staff member works in, unless a supervisor or in no team.
curl "https://<API_HOST>/api/v1/concierge/departments" \
  -H "Authorization: Bearer <GUEST_TOKEN>"
{
  "success": true,
  "data": [
    {
      "id": 3,
      "createdAt": "2026-10-01T02:00:00Z",
      "updatedAt": "2026-10-01T02:00:00Z",
      "deletedAt": null,
      "organizationId": "4f0c2a9e-1b7d-4e55-9a3c-2d8e6f1a7b90",
      "establishmentId": "4c1f8b2e-7d3a-4e9b-a0c5-3b6d9e1f2a84",
      "key": "housekeeping",
      "name": "Housekeeping",
      "description": "Towels, cleaning and amenities",
      "responseTimeLabel": "About 10 minutes",
      "greetingMessage": "Hello, how can housekeeping help?",
      "sortOrder": 1,
      "isActive": true
    }
  ]
}

States

Status Meaning Next
ringing Waiting for someone to accept. Rings for 60 seconds by default. accepted, ended, missed
accepted In progress. ended
ended Either side hung up. none
missed Rang the full time and nobody accepted. A task is left for the department. none

Errors

Status When What to do
400 A required field is missing or an ID isn't a number Fix the request.
401 No valid token for this route Sign in again as the right kind of caller.
403 Staff token without an organization, a department you don't work in, or a /rtc room whose call you aren't part of Use the right account or room.
404 The call, department or active stay doesn't exist for you Check the IDs.
409 The call is no longer ringing, or the room already has a call going Refresh the call's state.
429 Too many room-login tries Wait a minute.
503 Real-time media is unavailable Retry. Calls can't be completed until it is back.

Bodies as returned. The message is English text, not a stable code.

{ "success": false, "error": "invalid id param" }

400. Other messages: invalid JSON: <detail>, departmentId is required.

{ "success": false, "error": "invalid or expired session" }

401 on a guest route. Other messages: missing bearer token, PIN is invalid or has expired, room number or password is incorrect, and missing or invalid session on /rtc. A staff route (/staff/…) answers a missing or bad access token with { "message": "Unauthorized - No token provided" } instead.

{ "success": false, "error": "caller has no organization" }

403. A staff route that needs a workspace permission answers { "message": "Forbidden - Insufficient permissions" }.

{ "success": false, "error": "call not found" }

404. Another: department not found.

{ "success": false, "error": "call is no longer ringing" }

409.

{ "success": false, "error": "too many tries, please wait a minute" }

429. Some 500 responses carry a short failed to … message and others the underlying error text, so don't show a 500 message to guests.

Endpoints