Pair, update, command and remove screens. All requests need a secret key; see REST API for keys, errors and limits.
List screens, newest first, with status GET /v1/screens
List screens, newest first, with status (online: a heartbeat in the last 3 minutes)
Parameters Name In Type Description cursorquery stringlimitquery integersortByquery "createdAt"sortDirquery "asc" | "desc"groupIdquery idincludeRemovedquery "true" | "false"locationIdquery id
curl -X GET https://api.loomieo.com/v1/screens \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description paginationrequired objectscreensrequired list of object
Errors 401: auth_unauthenticated403: forbidden422: validation_failed429: rate_limitedAdd a screen by the code it shows POST /v1/screens/claim
Add a screen by the code it shows; it starts playing within about a minute
Body Name Type Description coderequired stringThe code the screen shows; spaces and dashes are ignored. 6 to 8 characters namerequired string1 to 120 characters contentobjectdefault {"fallbackPlaylistId":null,"layoutId":null,"playlistId":null} groupIdslist of idup to 20 items locationIdidThe store it's in; the organization's first store (of yours, when you're limited to stores) when omitted. orientation"landscape" | "portrait" | "landscape-flipped" | "portrait-flipped"default "landscape"
curl -X POST https://api.loomieo.com/v1/screens/claim \
-H " Authorization: Bearer $LUMIEO_KEY " \
-H " Content-Type: application/json " \
-d ' {"code":"…","name":"…"} '
Response 200 Name Type Description screenrequired object
Errors 400: bad_request401: auth_unauthenticated402: plan_limit_reached403: auth_csrf_rejected, forbidden, out_of_scope404: layout_not_found, location_not_found, pairing_code_not_found, playlist_not_found, screen_group_not_found409: pairing_code_claimed, screen_group_limit_reached422: validation_failed429: rate_limitedRemove a screen DELETE /v1/screens/{id}
Remove a screen (owner): its token stops working and it shows a new pairing code
Parameters Name In Type Description idrequired path id
curl -X DELETE https://api.loomieo.com/v1/screens/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description screenrequired object
Errors 401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: screen_not_found422: validation_failed429: rate_limitedOne screen with its last heartbeat GET /v1/screens/{id}
Parameters Name In Type Description idrequired path id
curl -X GET https://api.loomieo.com/v1/screens/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description screenrequired object
Errors 401: auth_unauthenticated403: forbidden404: screen_not_found422: validation_failed429: rate_limitedRename a screen, move it to a store or set its groups PATCH /v1/screens/{id}
Parameters Name In Type Description idrequired path id
Body Name Type Description groupIdslist of idup to 20 items locationIdidnamestring1 to 120 characters orientation"landscape" | "portrait" | "landscape-flipped" | "portrait-flipped"
curl -X PATCH https://api.loomieo.com/v1/screens/:id \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description screenrequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: location_not_found, screen_group_not_found, screen_not_found409: screen_group_limit_reached422: validation_failed429: rate_limitedSet what one screen shows PUT /v1/screens/{id}/assignment
Set what one screen shows; it overrides its groups. Both null: follow the groups again
Parameters Name In Type Description idrequired path id
Body Name Type Description fallbackPlaylistIdid or nullPlays when the main playlist is empty or none is set; cached on the screen. layoutIdid or nullPlays this layout (zones, each with its playlist, and overlays) instead of a playlist (S-13). playlistIdid or null
curl -X PUT https://api.loomieo.com/v1/screens/:id/assignment \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description screenrequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: layout_not_found, playlist_not_found, screen_not_found422: validation_failed429: rate_limitedSend a screen a live command POST /v1/screens/{id}/commands
Send a screen a live command: reload content, restart, clear cache or snapshot
Parameters Name In Type Description idrequired path id
Body Name Type Description kindrequired "reload-content" | "restart" | "clear-cache" | "snapshot"reload-content fetches the manifest now; restart reloads the app; clear-cache drops cached media and downloads it again; snapshot reports what each zone shows.
curl -X POST https://api.loomieo.com/v1/screens/:id/commands \
-H " Authorization: Bearer $LUMIEO_KEY " \
-H " Content-Type: application/json " \
-d ' {"kind":"reload-content"} '
Response 200 Name Type Description commandrequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden404: screen_not_found422: validation_failed429: rate_limitedHow a live command went, and a snapshot's report GET /v1/screens/{id}/commands/{commandId}
Parameters Name In Type Description commandIdrequired path ididrequired path id
curl -X GET https://api.loomieo.com/v1/screens/:id/commands/:commandId \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description commandrequired object
Errors 401: auth_unauthenticated403: forbidden404: screen_command_not_found, screen_not_found422: validation_failed429: rate_limitedRebuild a screen's manifest now POST /v1/screens/{id}/refresh
Parameters Name In Type Description idrequired path id
curl -X POST https://api.loomieo.com/v1/screens/:id/refresh \
-H " Authorization: Bearer $LUMIEO_KEY "
Response 200 Name Type Description screenrequired object
Errors 400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: screen_not_found422: validation_failed429: rate_limited