Make a watch link for named people

An address (`url`, the dashboard's watch page) that lets the people it names watch this screen for a while, each signed in.

POST/v1/sandboxes/{sandbox_id}/screen/watch-links

Not available yet The API does not serve a screen's tree, live stream, takeovers, watch links or recordings yet.

An address (url, the dashboard's watch page) that lets the people it names watch this screen for a while, each signed in. Name them by email in viewers, or leave it empty for the members of the project whose role holds screen:read. It lives 15 minutes, an hour or 8 hours (ttl_s, the v1 lengths), never longer, and can be revoked. Whoever else holds the address sees nothing. A link that works for whoever holds it (bearer: true) waits on the owner's choice and is not_supported.

A key with the screen:write scope.

Request

curl -X POST "https://api.pod.mapier.ai/v1/sandboxes/sbx_3ahrz6dmv29gqy5ckt18fpx4b/screen/watch-links" \
  -H "Authorization: Bearer $POD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"viewers":["example"]}'

Parameters

NameInTypeRequiredWhat it is
sandbox_idpathstringYes
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Body

FieldTypeRequiredWhat it is
viewersstring[]NoThe people who may open it, by email. Empty, the project's members who may watch.
ttl_s900 | 3600 | 28800NoHow long it lives. The v1 lengths. Default 3600.
bearerbooleanNoA link for whoever holds it. Not offered yet (not_supported). Default false.

Answer

201. The watch link.

201
{
  "id": "wlk_3ahrz6dmv29gqy5ckt18fpx4b",
  "sandbox": "sbx_3ahrz6dmv29gqy5ckt18fpx4b",
  "project": "prj_3ahrz6dmv29gqy5ckt18fp",
  "viewers": ["example"],
  "bearer": false,
  "url": "https://app.example.com",
  "created_by": "example",
  "created_at": "2026-11-23T12:00:00.000Z",
  "expires_at": "2026-11-23T12:00:00.000Z",
  "revoked_at": null
}
FieldTypeAlwaysWhat it is
idstringYes
sandboxstringYes
projectstringYes
viewersstring[]Yes
bearerbooleanYes
urlstringYesThe dashboard's watch page for this link.
created_bystringYesThe key or the person's account that made it.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
expires_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
revoked_atstring | nullYes

Errors

The refusals this call is known for: invalid, not_found, not_supported, in_other_cell. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptsandbox.screen.createWatchLink({ viewers })
Pythonsandbox.screen.create_watch_link(viewers=…)