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.
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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
sandbox_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
viewers | string[] | No | The people who may open it, by email. Empty, the project's members who may watch. |
ttl_s | 900 | 3600 | 28800 | No | How long it lives. The v1 lengths. Default 3600. |
bearer | boolean | No | A link for whoever holds it. Not offered yet (not_supported). Default false. |
Answer
201. The watch link.
{
"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
}| Field | Type | Always | What it is |
|---|---|---|---|
id | string | Yes | |
sandbox | string | Yes | |
project | string | Yes | |
viewers | string[] | Yes | |
bearer | boolean | Yes | |
url | string | Yes | The dashboard's watch page for this link. |
created_by | string | Yes | The key or the person's account that made it. |
created_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
expires_at | string | Yes | RFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z. |
revoked_at | string | null | Yes |
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
| Client | Call |
|---|---|
| TypeScript | sandbox.screen.createWatchLink({ viewers }) |
| Python | sandbox.screen.create_watch_link(viewers=…) |