Skip to content

Room TV and Cast

The room TV routes give a TV its room, its stay and its screens, and let a guest phone pair with the TV and cast to it. Staff routes manage the landing templates the TV shows. For sign-in and calling see the Concierge API.

Resources

Resource What it is
Room TV A paired display (see Provisioning API) that resolves to its room and that room's active stay.
PIN A short code the TV shows so a guest phone can sign in and pair.
Cast session The TV on its Cast screen, ready for a phone.
Landing template The JSON design of the TV's home screen, published from the hotel's console.

Authentication and permissions

Caller Credential
Room TV Device token: Authorization: Bearer <DEVICE_TOKEN>. The TV sees only its own room.
Guest phone Guest session token (signed in with a PIN or a room login).
Phone before sign-in None. Only GET /cast/context/{sessionId}.
Staff Access token, for /staff/tv-templates….

Base path

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

Capabilities

  • The TV reads its room, stay, messages, bill and welcome screen
  • Phone pairing by PIN or by same Wi-Fi
  • Casting: the TV registers a cast session, the phone checks and joins it
  • Currency, weather, world time and flights for TV apps
  • Landing templates, published to chosen screens
  • Calling the room: see Concierge API

Object model

Stay and room

GET /tv/stay returns the room's active stay, GET /tv/room the room the device is registered in ({"spaceId", "roomName"}, even when nobody is checked in; 404 if the device has no room), and GET /tv/folio the bill. The welcome payload is described in Stays.

GET /tv/stay answers with the stay's guest and dates:

curl "https://<API_HOST>/api/v1/concierge/tv/stay" \
  -H "Authorization: Bearer <DEVICE_TOKEN>"
{
  "success": true,
  "data": {
    "guestName": "Aiko Sato",
    "roomNumber": "203",
    "checkInAt": "2026-10-28T14:00:00Z",
    "checkOutAt": "2026-10-31T11:00:00Z",
    "nights": 3
  }
}

Lists

TV lists are not paginated: there is no page or limit, and the list comes back whole in data. GET /tv/messages is capped at the 50 most recent messages, newest first.

curl "https://<API_HOST>/api/v1/concierge/tv/messages" \
  -H "Authorization: Bearer <DEVICE_TOKEN>"
{
  "success": true,
  "data": [
    {
      "id": 12,
      "createdAt": "2026-10-29T09:00:00Z",
      "updatedAt": "2026-10-29T09:00:00Z",
      "deletedAt": null,
      "stayId": 17,
      "fromLabel": "Front desk",
      "title": "Breakfast hours",
      "body": "Breakfast is served from 06:30 to 10:30 on level 2.",
      "accent": "sv",
      "sentAt": "2026-10-29T09:00:00Z"
    }
  ]
}

readAt appears once the TV has sent a read receipt. GET /tv/folio is not a list: it returns { "lines": [...], "total": <number> }.

Landing template

GET /tv/template returns data as {id, name, version, publishedAt, matchedBy, template}, or null (the TV keeps its built-in look). The most specific active template wins: screen, then device group, then place (room's floor, building or venue), then the workspace default, then the organization default; the later publish wins a tie.

Errors

Status When What to do
400 Invalid coordinates, no or too many time zones, invalid body Fix the request.
401 No valid device or guest token Sign in or pair again.
404 The device has no room or the room has no active stay; the cast session or QR was revoked; the template or message isn't found Check the device's placement.
409 A staff template or welcome photo conflicts with its current state Reload and retry.
501 The flights feed isn't set up for this hotel The TV keeps its built-in airport list.

Bodies as returned:

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

400.

{ "success": false, "error": "device token required" }

401. Another: invalid device token. A staff route (/staff/tv-templates…) answers { "message": "Unauthorized - No token provided" }.

{ "success": false, "error": "no active stay for this room" }

404. Another: device not found or not assigned to a room.

409, 501 and 500 have the same shape; for example { "success": false, "error": "failed to load messages" } is a 500.

Endpoints

Room TV (device token):

Method and path What it does
GET /tv/stay The room's active stay.
GET /tv/room The room the device is registered in.
GET /tv/messages The stay's last 50 guest messages, newest first.
POST /tv/messages/{id}/read Read receipt. First read wins; repeating is harmless.
GET /tv/folio The stay's bill.
GET /tv/welcome, POST /tv/welcome/viewed The welcome screen and the "shown" mark.
GET /tv/devices/{deviceId}/pairing Whether a phone is paired. Used when the Phone Connect screen reopens, so it shows "Connected" instead of a new PIN.
POST /tv/pins/device A PIN for the room, for this device.
GET /tv/pins/{code}/status Whether the PIN was redeemed.
PUT, GET, DELETE /tv/cast/session The TV is on its Cast screen and ready; read the session (with whether a phone is paired); leave the screen. A paired phone stays paired.
GET /tv/template The landing template for this TV. Ask at start and every 2 minutes.
GET /tv/call, POST /tv/call/{id}/answer, POST /tv/call/{id}/hangup Staff calls to the room. See the Concierge API.

Information tools (device token, no personal data):

Method and path Notes
GET /tv/fx?symbols=USD,KRW VND per 1 unit of each symbol. Default symbols if none are given.
GET /tv/weather?lat=&lon=&tz= Weather for the coordinates. 400 unless lat is -90..90 and lon is -180..180.
GET /tv/worldtime?zones=Asia/Seoul,Europe/London Time in IANA zones from the server clock. 400 for none or too many zones.
GET /tv/flights?airport=HAN Arrivals and departures as text rows time;flight;city;estimated;status;terminal joined by \|. Cached for 10 minutes. 501 when not set up.

Guest phone (guest session token):

Method and path What it does
POST /devices/pair Same-Wi-Fi pairing for a signed-in guest. The device must belong to the guest's own room. Body {"deviceId": "<DEVICE_ID>"}.
GET /cast/status Whether the phone can cast now: ready when the room's TV is on its Cast screen.
POST /cast/ready The guest opened the Cast page. Body {"castSessionId": "<ID>"}.
GET /vtv-channels The channels the phone can list.
POST /playout/command, POST /voice/intent See Voice commands.

Public:

Method and path What it does
GET /cast/context/{sessionId} What a phone that scanned the TV's QR may show before sign-in: the room and hotel, and whether the TV is ready. 404 once the QR is revoked.

Landing templates (staff access token; scoped to your organization and the workspace in X-Workspace-ID, all or none meaning organization-wide):

Method and path What it does
GET /staff/tv-templates List. status is draft, published, or changed (published with unpublished edits).
POST /staff/tv-templates Create a draft {name, workspaceId?, draft?}.
GET /staff/tv-templates/{id} One template.
PUT /staff/tv-templates/{id} Save the draft {name?, draft?}, at most 256 KB, images as URLs. TVs keep the published copy.
POST /staff/tv-templates/{id}/publish Draft becomes the published copy, version +1. Body {targets: {devices, groups, locations}}; empty means every screen of the workspace, and the template becomes its default.
GET /staff/tv-templates/targets The screens, device groups and locations a template can go to.
POST /staff/tv-templates/{id}/unpublish Take it off the TVs.
DELETE /staff/tv-templates/{id} Delete.