Skip to content

Developers

Preshow API

Connect your own tools to Preshow: read projects, upload videos into them, build comps on their stages, and get a webhook the moment something happens. It is a REST API over HTTPS with JSON bodies, authenticated with API keys you create in the app.

API keys, connected apps (MCP) and webhooks are part of Pro and Max. On Free, keys and endpoints are kept, but requests answer 403 plan_required and webhooks are not sent until the workspace is back on a paid plan.

Base URL https://preshow.link/api/v1 · OpenAPI 3.1 description

Overview

Every request is made by an API key, and a key acts as the person who created it: it can see and change only what they can, only in the one workspace it was created for, and only with the permissions ticked when it was made. If that person loses access to a project or leaves the workspace, their keys lose it at the same moment.

Responses are JSON with snake_case fields and ISO 8601 UTC timestamps. Every response carries a Request-Id header; quote it if you contact us. The API is for servers and scripts: it sends no CORS headers, so a browser page cannot call it with a key, which is deliberate, since a key in a web page is a leaked key.

Authentication

  1. In Preshow, open Settings → Developers and choose Create API key.
  2. Name it after what will use it, pick the workspace, tick its permissions and an expiry (90 days by default).
  3. Confirm it is you, then copy the key. It is shown once: Preshow stores only a fingerprint of it.

Send it as a bearer token on every request:

curl https://preshow.link/api/v1/me \
  -H "Authorization: Bearer $PRESHOW_API_KEY"

Keys look like psk_ followed by 49 letters and digits, the last six a checksum, so a mistyped key is refused at once and secret scanners can recognise a leaked one. Keep keys in an environment variable or a secrets manager, never in source code. Revoke a key in the same settings page; it stops working immediately.

Permissions

A key has only the permissions chosen when it was created. To change them, create a new key.

PermissionAllows
projects:readList projects and read a project.
projects:writeCreate, rename and delete projects; rename and delete stages; share private projects with people.
media:writeUpload videos and new versions of them; rename media, set its review status, delete and restore it.
comps:writeCreate, change, approve, duplicate, delete and restore comps.
notes:writeLeave notes on videos; reply, react, resolve, reword and delete notes.
shares:manageMake, change and revoke review links.
webhooks:manageAdd and remove webhook endpoints, e.g. for an automation platform to subscribe itself.

OAuth: apps other people connect

An API key is for your own scripts. If you are building a product that other Preshow users connect to their accounts, use OAuth 2.1 instead: they sign in on Preshow, see what your app is asking for, and press Allow; you never see their password or ask them to paste a key, and they can disconnect you at any time in Settings → Connections. Register your app in Settings → Developers → OAuth apps. Everything is discoverable from https://preshow.link/.well-known/oauth-authorization-server (RFC 8414).

  1. Make a PKCE verifier and challenge (required of every app, with a secret or not) and a random state:
    import crypto from 'node:crypto';
    
    const codeVerifier = crypto.randomBytes(32).toString('base64url');   // keep it for the token request
    const codeChallenge = crypto.createHash('sha256').update(codeVerifier).digest('base64url');
    const state = crypto.randomBytes(16).toString('base64url');          // check it on the callback
  2. Send the person to the authorization endpoint, asking only for the scopes you need (space separated):
    https://preshow.link/app/oauth/authorize
      ?response_type=code
      &client_id=psc_8Zk2Qm4vT7bN1xR6yW3cL9dF
      &redirect_uri=https%3A%2F%2Fexample.com%2Foauth%2Fcallback
      &scope=projects%3Aread%20media%3Awrite
      &state=af0ifjsldkj
      &code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM
      &code_challenge_method=S256
  3. They come back to your redirect URI with a code. Check that state is yours and iss is https://preshow.link:
    https://example.com/oauth/callback?code=pac_…&state=af0ifjsldkj&iss=https%3A%2F%2Fpreshow.link
  4. Within five minutes, trade the code for tokens. A server app authenticates with its client secret (HTTP Basic, or client_secret in the body); a desktop or mobile app has no secret and sends only client_id. A web app makes these calls on its own server, since the API sends no CORS headers and a browser page cannot read its answers:
    curl -X POST https://preshow.link/api/oauth/token \
      -u "$CLIENT_ID:$CLIENT_SECRET" \
      -d grant_type=authorization_code \
      -d code="$CODE" \
      -d redirect_uri=https://example.com/oauth/callback \
      -d code_verifier="$CODE_VERIFIER"
    {
      "access_token": "psa_…",
      "token_type": "Bearer",
      "expires_in": 3600,
      "refresh_token": "psr_…",
      "scope": "media:write projects:read"
    }
  5. Call the API with Authorization: Bearer psa_…, exactly as with a key. The access token lasts 60 minutes; on access_token_expired, refresh it. Every refresh returns a new refresh token: store it and discard the old one, because presenting a used refresh token disconnects the app (it means a copy leaked). The one exception: for 30 seconds after a refresh, the token it replaced may be sent again, so a retry after a lost response still works, and if two refreshes race, whichever new token you keep works (the other stops working once you use it). A refresh token unused for 90 days lapses. The token endpoint allows 600 requests a minute per app.
    curl -X POST https://preshow.link/api/oauth/token \
      -u "$CLIENT_ID:$CLIENT_SECRET" \
      -d grant_type=refresh_token \
      -d refresh_token="$REFRESH_TOKEN"
  6. To sign out, revoke either token; the whole connection ends (RFC 7009):
    curl -X POST https://preshow.link/api/oauth/revoke \
      -u "$CLIENT_ID:$CLIENT_SECRET" \
      -d token="$REFRESH_TOKEN"

Redirect URIs are matched exactly as registered: https, a reverse-domain scheme for a mobile app (com.example.app:/callback), or http://127.0.0.1 or http://localhost for a desktop app, which may use any port (RFC 8252). The token and revocation endpoints answer errors as RFC 6749 JSON ({ "error", "error_description" }), not problem details:

invalid_requestA parameter is missing or wrong; PKCE with S256 is required.
invalid_clientUnknown client, wrong secret, or a public client that sent a secret.
invalid_grantThe code or refresh token is invalid, expired, already used, or the user disconnected the app. A refresh token used twice revokes the connection.
invalid_scopeA requested scope does not exist.
unsupported_grant_typeOnly authorization_code and refresh_token.
rate_limitedOver 600 token requests a minute for this app, or from one address (HTTP 429). Requests that fail to authenticate count against their address, never against your app. Wait the Retry-After seconds.
access_deniedThe user pressed Cancel (returned to your redirect URI).

Endpoints

GET/v1/me

The key making the request: its name, permissions, workspace and expiry. Handy as a first call to check a key works. Any valid key.

curl https://preshow.link/api/v1/me \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{
  "object": "api_key",
  "id": "key_7Qm2x9K4pT0aZ1bC",
  "name": "Edit bay uploader",
  "scopes": [
    "projects:read"
  ],
  "workspace": {
    "kind": "team",
    "id": "team_abc123",
    "name": "Northlight Studio"
  },
  "created_at": "2026-09-23T15:04:05.000Z",
  "expires_at": "2026-12-22T15:04:05.000Z"
}

GET/v1/projects

The projects in the key’s workspace that its owner can open, oldest id first. Requires projects:read.

  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl "https://preshow.link/api/v1/projects?limit=10" \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{
  "object": "list",
  "data": [
    {
      "object": "project",
      "id": "proj-1790130227580-2c6a1f827",
      "name": "Arena tour 2027",
      "workspace": {
        "kind": "team",
        "id": "team_abc123"
      },
      "role": "editor",
      "visibility": "team",
      "created_at": "2026-09-01T09:30:00.000Z",
      "updated_at": "2026-09-22T18:12:44.000Z",
      "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827",
      "has_naming_rules": false
    }
  ],
  "has_more": true,
  "next_cursor": "proj-1790130227580-2c6a1f827"
}

GET/v1/projects/{projectId}

One project. Answers 404 alike for a project that does not exist, is in another workspace, or the owner cannot open, so a key cannot probe for ids. Requires projects:read.

  • projectId (path) The project’s id, as returned by the list.
curl https://preshow.link/api/v1/projects/proj-1790130227580-2c6a1f827 \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "project", "id": "proj-1790130227580-2c6a1f827", … }

GET/v1/projects/{projectId}/stages

A project’s stages, each with the screens a comp can use. A screen is known once it is the stage’s default screen or a comp in Preshow already uses it; a stage with none yet needs one of those first. Requires projects:read.

  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl https://preshow.link/api/v1/projects/$PROJECT_ID/stages \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{
  "object": "list",
  "data": [
    {
      "object": "stage",
      "id": "scene-1790130230112-8d1e0b4c2",
      "name": "Arena main stage",
      "default_screen": "Main_LED_Wall",
      "known_screens": [
        "Main_LED_Wall",
        "Side_LED_Left",
        "Side_LED_Right"
      ],
      "thumbnail_url": "https://preshow.link/f?path=projects%2F…%2Fthumbnail.webp&token=…"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

GET/v1/projects/{projectId}/media

A project’s media library: videos, stills and audio, with the processing status of each. Requires projects:read.

  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl https://preshow.link/api/v1/projects/$PROJECT_ID/media \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "list", "data": [{ "object": "media", … }], "has_more": false, "next_cursor": null }

POST/v1/projects/{projectId}/media

Adds a video to the project and returns a one-time upload URL. Then PUT the file’s bytes to upload.url (it stays valid for an hour) and poll the media item until its status is ready. The video appears in Preshow at once, marked as processing, and in open tabs without a reload. Send an Idempotency-Key so a retry cannot add it twice. Requires media:write.

  • name (body) Required. Shown in the media library.
  • filename (body) Optional. Defaults to name.
  • duration_seconds (body) Optional but recommended: checked against your plan’s video minutes before anything is uploaded. Without it, the media’s duration_seconds is null until the file is processed.
  • width, height (body) Optional pixel size. 4K and wide LED content keeps its full resolution.
  • timeout_seconds (body) Optional. How long the upload URL takes bytes: an hour by default, at most a day.
  • size_bytes (body) Optional. The file’s size.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/media \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name": "Opener v3", "filename": "opener_v3.mov", "duration_seconds": 42.5, "width": 3840, "height": 2160}'

# then send the file itself to the upload url from the response
curl -X PUT --upload-file opener_v3.mov "$UPLOAD_URL"
{
  "object": "media",
  "id": "asset-1790131002211-4be09a7d1",
  "project_id": "proj-1790130227580-2c6a1f827",
  "name": "Opener v3",
  "type": "video",
  "status": "processing",
  "duration_seconds": 42.5,
  "width": null,
  "height": null,
  "thumbnail_url": null,
  "version": {
    "id": "ver-1790131002211-0c5f2e9ab",
    "created_at": "2026-09-23T21:03:22.211Z"
  },
  "versions_count": 1,
  "created_at": "2026-09-23T21:03:22.211Z",
  "upload": {
    "url": "https://storage.googleapis.com/video-storage-…",
    "method": "PUT",
    "expires_at": "2026-09-23T22:03:22.211Z"
  }
}

GET/v1/projects/{projectId}/media/{mediaId}

One media item. Poll this after uploading a new video: status goes from processing to ready (usually well under a minute per minute of video), or to error if the file could not be read. It answers for the version the item shows, so after adding a version to a video, poll that version instead. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "media", "id": "asset-1790131002211-4be09a7d1", "status": "ready", "duration_seconds": 42.5, "width": 3840, "height": 2160, … }

POST/v1/projects/{projectId}/media/{mediaId}/versions

Adds a new version to a video, for a render that replaces the last one, and returns the URL to upload it to. PUT the file’s bytes there, then poll the version (the Location of this response) until its status is ready or error. The version joins the stack at once while it processes, and the media item switches to it when it is ready unless someone picked another version since. Comps keep the version they use until they take the update. Send an Idempotency-Key so a retry cannot add it twice. Requires media:write.

  • filename (body) Required. The rendered file’s name, shown on the version.
  • size_bytes (body) Optional. The file’s size.
  • duration_seconds (body) Optional but recommended: checked against the plan’s video minutes before the upload. Without it, ten minutes are reserved until the file is processed.
  • width, height (body) Optional. Pick the encoding tier: 4K and LED-wide files keep their full resolution.
  • timeout_seconds (body) Optional. How long the upload URL takes bytes: an hour by default, at most a day.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/versions \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"filename": "Opener_v004.mov", "duration_seconds": 42.5, "width": 3840, "height": 2160}'

# then send the file to upload.url
curl -X PUT -T Opener_v004.mov "$UPLOAD_URL"
{
  "object": "media_version",
  "id": "ver-1790131402117-0c5e2b9a4",
  "media_id": "asset-1790131002211-4be09a7d1",
  "project_id": "proj-1790130227580-2c6a1f827",
  "number": 4,
  "filename": "Opener_v004.mov",
  "status": "processing",
  "created_at": "2026-09-23T15:16:42.117Z",
  "upload": {
    "url": "https://storage.googleapis.com/video-storage-…",
    "method": "PUT",
    "expires_at": "2026-09-23T16:16:42.117Z"
  }
}

POST/v1/projects/{projectId}/media/{mediaId}/versions/{versionId}/upload

A fresh upload URL for a version whose file has not arrived. An upload URL takes bytes for an hour; when it runs out first (a big render, a slow link, a computer asleep), this mints a new one for the same version, which keeps its id and number. Send the file again from the first byte. Answers 409 upload_already_received once the file has reached Preshow. Requires media:write.

  • timeout_seconds (body) Optional. How long the new URL takes bytes: an hour by default, at most a day.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/versions/$VERSION_ID/upload \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"timeout_seconds": 21600}'
{
  "object": "media_version_upload",
  "media_id": "asset-1790131002211-4be09a7d1",
  "version_id": "ver-1790131402117-0c5e2b9a4",
  "upload": {
    "url": "https://storage.googleapis.com/video-storage-…",
    "method": "PUT",
    "expires_at": "2026-09-23T22:16:42.117Z"
  }
}

GET/v1/projects/{projectId}/media/{mediaId}/versions/{versionId}

One version of a media item, with its own status. Poll this after uploading a new version: status goes from processing to ready, or to error if the file could not be read. The media item itself keeps answering for the version it shows, which a version that failed, or that a later upload overtook, never becomes. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/versions/$VERSION_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{
  "object": "media_version",
  "id": "ver-1790131402117-0c5e2b9a4",
  "media_id": "asset-1790131002211-4be09a7d1",
  "project_id": "proj-1790130227580-2c6a1f827",
  "number": 4,
  "filename": "Opener_v004.mov",
  "status": "ready",
  "created_at": "2026-09-23T15:16:42.117Z"
}

GET/v1/projects/{projectId}/media/{mediaId}/notes

The notes on a video: the ones left on the video itself and the ones written in comps that point into it, by note id. at_seconds is where in the video each note points, counted from its first frame, so an editing app can put it on its own timeline. Requires projects:read.

  • status (query) open (the default), resolved or all.
  • version_id (query) Optional. Only notes written on this version.
  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl "https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/notes?status=open" \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{
  "object": "list",
  "data": [
    {
      "object": "note",
      "id": "comment-1790131620514-77ab0e3d1",
      "project_id": "proj-1790130227580-2c6a1f827",
      "media_id": "asset-1790131002211-4be09a7d1",
      "version_id": "ver-1790131002211-1f0e9c2b7",
      "version_number": 3,
      "comp_id": null,
      "text": "Logo lands a beat late here.",
      "author": {
        "name": "Dana (client)",
        "signed_in": false
      },
      "at_seconds": 12.48,
      "end_seconds": null,
      "visibility": "all",
      "status": "open",
      "has_drawing": true,
      "replies_count": 1,
      "created_at": "2026-09-23T15:20:20.514Z",
      "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827&view=editor&asset=asset-1790131002211-4be09a7d1&comment=comment-1790131620514-77ab0e3d1"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

GET/v1/projects/{projectId}/comps

A project’s comps, with the media on each screen and a link that opens the comp in Preshow. Requires projects:read.

  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl https://preshow.link/api/v1/projects/$PROJECT_ID/comps \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "list", "data": [{ "object": "comp", … }], "has_more": false, "next_cursor": null }

POST/v1/projects/{projectId}/comps

Makes a comp on a stage, putting media on its screens. Each screen must be one of the stage’s known_screens and each media item must be ready. The comp opens in Preshow as a draft, like one made by hand. Send an Idempotency-Key so a retry cannot make it twice. Requires comps:write.

  • stage_id (body) Required. From the stages list.
  • screens (body) Required, 1 to 32 of { screen, media_id, start_seconds }. start_seconds defaults to 0.
  • name (body) Optional. Defaults to the first media item’s name.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/comps \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name": "Opener look A", "stage_id": "scene-1790130230112-8d1e0b4c2",
       "screens": [{"screen": "Main_LED_Wall", "media_id": "asset-1790131002211-4be09a7d1"}]}'
{
  "object": "comp",
  "id": "comp-1790131090418-a93d0c1e7",
  "project_id": "proj-1790130227580-2c6a1f827",
  "name": "Opener look A",
  "stage_id": "scene-1790130230112-8d1e0b4c2",
  "status": "draft",
  "duration_seconds": 42.5,
  "screens": [
    {
      "screen": "Main_LED_Wall",
      "media_id": "asset-1790131002211-4be09a7d1",
      "start_seconds": 0,
      "duration_seconds": 42.5
    }
  ],
  "created_at": "2026-09-23T21:04:50.418Z",
  "updated_at": "2026-09-23T21:04:50.418Z",
  "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827&view=editor&composition=comp-1790131090418-a93d0c1e7"
}

GET/v1/projects/{projectId}/comps/{compId}

One comp. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "comp", "id": "comp-1790131090418-a93d0c1e7", … }

POST/v1/projects

Creates an empty project in the key’s workspace (a team project in a team workspace), as New project does. Stages are added in Preshow, by importing a 3D model. On Free, the active-project limit applies. Requires projects:write.

  • name (body) Required.
curl -X POST https://preshow.link/api/v1/projects \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Arena tour 2027"}'
{ "object": "project", "id": "proj-1790130227580-2c6a1f827", "name": "Arena tour 2027", … }

PATCH/v1/projects/{projectId}

Renames a project: its owner, or a workspace editor on a team project. Requires projects:write.

  • name (body) The new name.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Arena tour 2027 (final)"}'
{ "object": "project", … }

GET/v1/projects/{projectId}/naming_rules

How rendered file names map to the project’s videos and comp screens: the pattern, the code name a video keeps across versions, the pair stem its screens share, and for each screen token its comp, the screens it covers, fit and scale. Preshow Uploader’s inbox folders route renders by these. rules is null when the project has none. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/naming_rules \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "naming_rules", "project_id": "proj-1790130227580-2c6a1f827", "rules": { "pattern": "{id}_{section}_{descriptor}_{screen}_v{version}", "screens": [{ "token": "Back", "comp_name": "Direct comp", "meshes": ["LED_BackL", "LED_BackR"], "fit": "fill", "scale": 100, "place": true, "place_new": false, … }], … }, "updated_at": "2026-11-24T10:00:00.000Z" }

PATCH/v1/projects/{projectId}/naming_rules

Replaces the project’s naming rules whole, or removes them with rules: null. The project’s owner or an editor. Requires projects:write.

  • rules (body) pattern (needs {version}), extensions, tokens (a regular expression per token), code_name, pair_stem, screens [{ token, size, comp_name or comp_id, meshes, fit, scale (percent), place, place_new }], skip (globs); or null.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/naming_rules \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rules":{"pattern":"{name}_{screen}_v{version}","extensions":["mov"],"screens":[{"token":"Back","comp_name":"Direct comp","meshes":["LED_BackL","LED_BackR"]}]}}'
{ "object": "naming_rules", "rules": { … }, … }

POST/v1/naming_rules/resolve

Which of the account’s projects (those it can upload to, with naming rules), which video and which comp screens a rendered file name is for. status is matched (the next version of media_id; only relation newer should go up on its own), new, skipped, or ambiguous / unmatched with the reason: it never guesses. placement says where the version goes once ready. Requires projects:read.

  • filename (body) Required: the file’s name, without its folder.
  • size_bytes (body) Optional: a version of the same size is reported as likely_identical.
  • hints (body) Optional: last_sent, files the caller sent to videos lately [{ project_id, media_id, filename, size_bytes }].
curl -X POST https://preshow.link/api/v1/naming_rules/resolve \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filename":"100020_Bob_Walk-In_Back_v002.mov","size_bytes":52428800}'
{ "object": "file_name_resolution", "status": "matched", "project_id": "proj-…", "media_id": "asset-…", "code_name": "100020_Bob_Walk-In_Back", "current_version": 1, "relation": "newer", "placement": { "comp_id": "comp-…", "meshes": ["LED_BackL", "LED_BackR"], "scale": 100 }, … }

DELETE/v1/projects/{projectId}

Moves a project to Recently deleted, where its owner can restore it for 30 days. The project’s owner only. Requires projects:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "project", "id": "comp-1790131090418-a93d0c1e7", "deleted": true, "restorable_until": "2026-12-24T10:00:00.000Z", "also_deleted": [] }

POST/v1/projects/{projectId}/restore

Brings a project back from Recently deleted. Requires projects:write.

curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/restore \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "project", … }

DELETE/v1/projects/{projectId}/permanently

Deletes a project that is in Recently deleted for good, with its media, comps, notes, files and video. Cannot be undone. Answers 204. Requires projects:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/permanently \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
(204 No Content)

GET/v1/projects/{projectId}/members

The owner and the people a private project is shared with, with their roles. A team project lists only its owner: its people are its workspace’s members. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/members \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "list", "data": [{ "object": "member", "email": "maya@northlight.example", "role": "editor", … }], … }

POST/v1/projects/{projectId}/members

Shares a private project with an email address as editor or viewer; they see it once they sign in with that address. Preshow does not email them. The project’s owner only. Requires projects:write.

  • email (body) Required.
  • role (body) editor or viewer. Default viewer.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/members \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"maya@northlight.example","role":"editor"}'
{ "object": "member", "email": "maya@northlight.example", "role": "editor", … }

PATCH/v1/projects/{projectId}/members/{email}

Changes someone’s role on a private project. Requires projects:write.

  • role (body) editor or viewer.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/members/maya%40northlight.example \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"role":"viewer"}'
{ "object": "member", "role": "viewer", … }

DELETE/v1/projects/{projectId}/members/{email}

Takes away someone’s access to a private project. Answers 204. Requires projects:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/members/maya%40northlight.example \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
(204 No Content)

PATCH/v1/projects/{projectId}/stages/{stageId}

Renames a stage. Requires projects:write.

  • name (body) The new name.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/stages/$STAGE_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Arena, end stage"}'
{ "object": "stage", … }

DELETE/v1/projects/{projectId}/stages/{stageId}

Moves a stage, and every comp on it, to Recently deleted. Restoring the stage brings them back. Requires projects:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/stages/$STAGE_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "comp", "id": "comp-1790131090418-a93d0c1e7", "deleted": true, "restorable_until": "2026-12-24T10:00:00.000Z", "also_deleted": [] }

POST/v1/projects/{projectId}/stages/{stageId}/restore

Brings a stage back from Recently deleted, with the comps deleted with it. Requires projects:write.

curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/stages/$STAGE_ID/restore \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "restored", "restored": [{ "object": "stage", "id": "scene-1790130230112-8d1e0b4c2" }, …] }

PATCH/v1/projects/{projectId}/media/{mediaId}

Renames a media item and/or sets its review status. Requires media:write.

  • name (body) Optional.
  • review_status (body) Optional: draft, in_review, changes_requested or approved.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"review_status":"approved"}'
{ "object": "media", "review_status": "approved", … }

DELETE/v1/projects/{projectId}/media/{mediaId}

Moves a media item to Recently deleted for 30 days. Comps that play it keep their place for it. Requires media:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "media", "id": "comp-1790131090418-a93d0c1e7", "deleted": true, "restorable_until": "2026-12-24T10:00:00.000Z", "also_deleted": [] }

POST/v1/projects/{projectId}/media/{mediaId}/restore

Brings a media item back from Recently deleted. Requires media:write.

curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/restore \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "restored", "restored": [{ "object": "media", "id": "asset-1790131002211-4be09a7d1" }] }

POST/v1/projects/{projectId}/media/{mediaId}/notes

Leaves a note on a video, from the key’s owner, at at_seconds (to end_seconds for a range), on the version the media shows unless version_id names another. It reaches Slack and the comment.created webhook like a note from the app. Requires notes:write.

  • text (body) Required, up to 10,000 characters.
  • at_seconds (body) Default 0.
  • end_seconds (body) Optional: makes it a range.
  • version_id (body) Optional.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/notes \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Logo lands a beat late","at_seconds":12.5}'
{ "object": "note", "text": "Logo lands a beat late", "at_seconds": 12.5, "replies": [], "reactions": {}, … }

GET/v1/projects/{projectId}/notes/{noteId}

One note, with its replies and how many people reacted with each emoji. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "note", "replies": [{ "id": "reply-…", "text": "Fixed in v4", … }], "reactions": { "thumbs_up": 2 }, … }

PATCH/v1/projects/{projectId}/notes/{noteId}

Resolves or reopens a note (an editor, or its author), or changes its words (its author, or the project’s owner). Requires notes:write.

  • status (body) open or resolved.
  • text (body) New words.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"resolved"}'
{ "object": "note", "status": "resolved", … }

DELETE/v1/projects/{projectId}/notes/{noteId}

Deletes a note and its replies; notes have no Recently deleted. Its author or the project’s owner only. Answers 204. Requires notes:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
(204 No Content)

POST/v1/projects/{projectId}/notes/{noteId}/replies

Replies to a note. Anyone who can read the project may. Requires notes:write.

  • text (body) Required.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID/replies \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Fixed in v4"}'
{ "object": "note", "replies": [{ "text": "Fixed in v4", … }], … }

DELETE/v1/projects/{projectId}/notes/{noteId}/replies/{replyId}

Takes back one of the key owner’s own replies. Answers 204. Requires notes:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID/replies/$REPLY_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
(204 No Content)

POST/v1/projects/{projectId}/notes/{noteId}/reactions

Adds the key owner’s reaction: thumbs_up, heart, eyes, check, laugh or fire. Requires notes:write.

  • emoji (body) Required.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID/reactions \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emoji":"thumbs_up"}'
{ "object": "note", "reactions": { "thumbs_up": 1 }, … }

DELETE/v1/projects/{projectId}/notes/{noteId}/reactions/{emoji}

Takes back the key owner’s reaction. Requires notes:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/notes/$NOTE_ID/reactions/thumbs_up \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "note", "reactions": {}, … }

PATCH/v1/projects/{projectId}/comps/{compId}

Renames a comp, sets its review status, and/or replaces which media plays on which screen (a screen keeping its media keeps its clip settings). A status change is announced as one made in the app: activity, Slack and the comp.status_changed webhook. Requires comps:write.

  • name (body) Optional.
  • status (body) Optional: draft, in_review, changes_requested or approved.
  • screens (body) Optional, as for Create a comp.
curl -X PATCH https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"approved"}'
{ "object": "comp", "status": "approved", … }

POST/v1/projects/{projectId}/comps/{compId}/screens/set_media

Puts one ready media item on some of a comp’s screens, in one step on its draft: its clips there take version_id, an empty screen gets the clip, a screen with one clip of other media has it replaced at its start, a screen with several clips is left alone (skipped). pair_note says what the comp’s paired screens show, by the naming rules. Requires comps:write.

  • meshes (body) Required: the comp’s screens (known_screens of its stage).
  • media_id (body) Required.
  • version_id (body) Optional: a ready version of the media; default the one it shows.
  • scale (body) Optional: 1 fills the screen.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID/screens/set_media \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"meshes":["LED_BackL","LED_BackR"],"media_id":"$MEDIA_ID","version_id":"$VERSION_ID"}'
{ "object": "comp_screen_media", "comp": { "object": "comp", … }, "changed": ["LED_BackL", "LED_BackR"], "skipped": [], "pair_note": "Front: pairs with 100020_Bob_Walk-In_Front_v001.mov" }

DELETE/v1/projects/{projectId}/comps/{compId}

Moves a comp to Recently deleted for 30 days. Requires comps:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "comp", "id": "comp-1790131090418-a93d0c1e7", "deleted": true, "restorable_until": "2026-12-24T10:00:00.000Z", "also_deleted": [] }

POST/v1/projects/{projectId}/comps/{compId}/restore

Brings a comp back from Recently deleted, with its stage if that was deleted too. Requires comps:write.

curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID/restore \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "restored", "restored": [{ "object": "comp", "id": "comp-1790131090418-a93d0c1e7" }] }

POST/v1/projects/{projectId}/comps/{compId}/duplicate

Copies a comp as a new draft: nothing published or approved is carried over. Requires comps:write.

  • name (body) Optional. Defaults to the name followed by Copy.
curl -X POST https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID/duplicate \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Opener look B"}'
{ "object": "comp", "name": "Opener look B", "status": "draft", … }

GET/v1/projects/{projectId}/trash

The project’s Recently deleted: media, comps and stages, newest first, each with when it is removed for good. Requires projects:read.

curl https://preshow.link/api/v1/projects/$PROJECT_ID/trash \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "list", "data": [{ "object": "trash_item", "kind": "comp", "purge_after": "2026-12-24T10:00:00.000Z", … }], … }

DELETE/v1/projects/{projectId}/media/{mediaId}/permanently

Deletes a media item for good, with its files and video, once it is in Recently deleted. Cannot be undone. Kept (held) while a published comp version still plays it. Requires media:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/media/$MEDIA_ID/permanently \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "purge", "purged": [{ "kind": "media", "id": "…" }], "held": [], "skipped": [] }

DELETE/v1/projects/{projectId}/comps/{compId}/permanently

Deletes a comp for good, with its files and video, once it is in Recently deleted. Cannot be undone. Kept (held) while a published comp version still plays it. Requires comps:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/comps/$COMP_ID/permanently \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "purge", "purged": [{ "kind": "comp", "id": "…" }], "held": [], "skipped": [] }

DELETE/v1/projects/{projectId}/stages/{stageId}/permanently

Deletes a stage, with the comps deleted with it, for good, with its files and video, once it is in Recently deleted. Cannot be undone. Kept (held) while a published comp version still plays it. Requires projects:write.

curl -X DELETE https://preshow.link/api/v1/projects/$PROJECT_ID/stages/$STAGE_ID/permanently \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "purge", "purged": [{ "kind": "stage", "id": "…" }], "held": [], "skipped": [] }

GET/v1/webhook_endpoints

The webhook endpoints this key (or app connection) added. Endpoints added in Settings or by other keys are not listed. Revoking the key, or disconnecting the app, disables its endpoints. Requires webhooks:manage.

  • limit (query) Page size, 1 to 100. Default 25.
  • cursor (query) The next_cursor from the previous page. Omit for the first page.
curl https://preshow.link/api/v1/webhook_endpoints \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "list", "data": [{ "object": "webhook_endpoint", … }], "has_more": false, "next_cursor": null }

POST/v1/webhook_endpoints

Starts sending the chosen events to a URL. The response holds the signing secret, the only time it is shown. This is how an automation platform subscribes itself; people usually add endpoints in Settings instead. Deliveries carry project content, so this also needs projects:read. Requires webhooks:manage.

  • url (body) Required. An https URL on the public internet.
  • events (body) Required. Event types from the list below, or ["*"] for all of them, including ones added later.
  • description (body) Optional, up to 100 characters.
curl -X POST https://preshow.link/api/v1/webhook_endpoints \
  -H "Authorization: Bearer $PRESHOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/preshow-events", "events": ["media.ready", "comp.status_changed"]}'
{
  "object": "webhook_endpoint",
  "id": "we_4hQ8mZ2rT6yV0bN3cX7k",
  "url": "https://example.com/preshow-events",
  "description": "",
  "events": [
    "comp.status_changed",
    "media.ready"
  ],
  "status": "enabled",
  "disabled_reason": null,
  "created_at": "2026-09-23T21:10:00.000Z",
  "last_success_at": null,
  "last_failure_at": null,
  "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}

GET/v1/webhook_endpoints/{endpointId}

One endpoint, with when it last delivered and whether it is failing. The secret is never returned again. Requires webhooks:manage.

curl https://preshow.link/api/v1/webhook_endpoints/$ENDPOINT_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
{ "object": "webhook_endpoint", "id": "we_4hQ8mZ2rT6yV0bN3cX7k", "status": "enabled", … }

DELETE/v1/webhook_endpoints/{endpointId}

Stops sending to the endpoint at once, including retries already scheduled. Answers 204 with no body. Requires webhooks:manage.

curl -X DELETE https://preshow.link/api/v1/webhook_endpoints/$ENDPOINT_ID \
  -H "Authorization: Bearer $PRESHOW_API_KEY"
HTTP/1.1 204 No Content

Uploading a video

  1. POST /v1/projects/{projectId}/media with the video’s name. The answer holds its id and an upload.url.
  2. PUT the file’s bytes to that URL as the whole request body, within the hour. No key is needed for this request: the URL itself is the permission.
  3. Poll GET /v1/projects/{projectId}/media/{mediaId} every few seconds until status is ready.
  4. Put it on a stage: GET …/stages for the screens, then POST …/comps.

The video shows up in Preshow as soon as step 1 answers, marked as processing, and becomes playable when step 3 says ready, in every open tab. Video minutes count against the plan of the project’s owner, as they do for uploads made in the app. If the file is never sent, the upload URL runs out after its hour and the status turns to error within a day, with a media.failed event.

A new version of a video already in Preshow goes the same way through POST …/media/{mediaId}/versions, except at step 3: poll GET …/media/{mediaId}/versions/{versionId}, because the media item keeps answering for the version it shows.

Retries

Send an Idempotency-Key header (a fresh UUID is ideal) with every POST. If the connection drops and you retry with the same key and the same body within 24 hours, you get the first answer again, marked Idempotent-Replayed: true, instead of a second video or comp. A request that was refused (a 4xx) is not remembered, so once you fix the cause, retrying it runs it again. One that failed on our side (a 5xx) may have got partway, so the same key answers with that failure from then on: check whether it took effect, then retry with a new key.

Webhooks

Instead of asking Preshow over and over whether something changed, give it a URL and it will tell you: a signed POST to your server within seconds of the event. Add endpoints in Settings → Developers → Webhooks, or with POST /v1/webhook_endpoints (how an automation platform subscribes itself). An endpoint receives events from the projects in its workspace that the person who added it can open; if they lose access, the events stop.

Events

TypeWhendata
media.readyA video finished processing and can be used in a comp.The media item, as GET …/media/{mediaId} returns it, plus processed_version_id.
media.failedA video could not be processed.The media item, plus processed_version_id.
comp.createdA comp was created, in the app or through the API.The comp, as GET …/comps/{compId} returns it.
comp.status_changedA comp’s review status changed, for example to approved.The comp (its status is the new one), plus changed_by and via (app or review_link).
comp.version_publishedA new version of a comp was published for review.A comp_version: its id, number, label, published_at and published_by, and the comp.
comment.createdSomeone left a note on a comp.A comment: text, author, comp_id and media_id, at_seconds on the timeline it was written on (the comp’s, for a note left in a comp), media_at_seconds (where it points in the video) and version_id, has_drawing and a link that opens it.

Subscribe to * to receive every type, including ones added later. Send test event in Settings delivers a webhook.test event whatever you subscribed to.

What arrives

Every body is { type, timestamp, data }. For a media or comp event, data is the object the API returns for that media item or comp, with the extra fields the table lists. A comment is not the API’s note: its at_seconds is the time on the timeline the note was written on, which for a note left in a comp is the comp’s, while a note’s at_seconds is always the time in the video. The comment carries that as media_at_seconds, with the version_id the note was written on. Deliveries follow the Standard Webhooks specification, so its libraries verify them unchanged.

POST /preshow-events HTTP/1.1
Content-Type: application/json
User-Agent: Preshow-Webhooks/1.0
webhook-id: msg_2c6a1f827e0b4d5a9f13c7e2b8d4a6f0
webhook-timestamp: 1790205562
webhook-signature: v1,49ffLVXq4ec3YTYpJTpr9dbiqkXGZY6UFW/T3zBSwe8=

{
  "type": "comp.status_changed",
  "timestamp": "2026-09-23T21:59:22.000Z",
  "data": {
    "object": "comp",
    "id": "comp-1790131090418-a93d0c1e7",
    "project_id": "proj-1790130227580-2c6a1f827",
    "name": "Opener look A",
    "stage_id": "scene-1790130230112-8d1e0b4c2",
    "status": "approved",
    "duration_seconds": 42.5,
    "screens": [
      {
        "screen": "Main_LED_Wall",
        "media_id": "asset-1790131002211-4be09a7d1",
        "start_seconds": 0,
        "duration_seconds": 42.5
      }
    ],
    "created_at": "2026-09-23T21:04:50.418Z",
    "updated_at": "2026-09-23T21:59:21.870Z",
    "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827&view=editor&composition=comp-1790131090418-a93d0c1e7",
    "changed_by": {
      "name": "Dana (client)"
    },
    "via": "review_link"
  }
}

Verifying a delivery

Anyone can POST to your URL, so check the signature before trusting the body. It is an HMAC-SHA256, keyed with your endpoint’s secret (whsec_…, shown once when the endpoint is added), of {webhook-id}.{webhook-timestamp}.{raw body}. Use the raw body exactly as received: parsing and re-serialising the JSON changes it. Reject a timestamp more than five minutes from now, which makes a captured request useless to replay. The Standard Webhooks libraries (JavaScript, Python, Go, Ruby, PHP, Java, C#, Rust and more) do all of this in one call:

import { Webhook } from 'standardwebhooks';

const wh = new Webhook(process.env.PRESHOW_WEBHOOK_SECRET);
const event = wh.verify(rawBody, request.headers); // throws if it is not from Preshow

Or by hand, in Node.js:

import crypto from 'node:crypto';

// rawBody: the request body exactly as received (a string or Buffer), before any JSON parsing.
function verifyPreshowWebhook(rawBody, headers, secret) {
  const id = headers['webhook-id'];
  const timestamp = headers['webhook-timestamp'];
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false; // replayed or clock skew
  const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64');
  const expected = crypto.createHmac('sha256', key).update(`${id}.${timestamp}.${rawBody}`).digest();
  return headers['webhook-signature'].split(' ').some((entry) => {
    const [version, signature] = entry.split(',');
    const given = Buffer.from(signature || '', 'base64');
    return version === 'v1' && given.length === expected.length && crypto.timingSafeEqual(given, expected);
  });
}

The example delivery above is real: it verifies with the secret whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw once the timestamp check is off, so you can test your receiver against it.

Responding, retries and duplicates

  • Answer with any 2xx within 10 seconds. Do slow work after answering, from a queue.
  • Anything else (an error, a redirect, a timeout) is retried after 5 seconds, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 10 hours: eight attempts over about 28 hours. After that the delivery is marked failed, and you can resend it from Settings.
  • A retry carries the same webhook-id. Store the ids you have handled and skip repeats: a delivery can arrive twice if your answer is lost on the way back.
  • Events can arrive out of order. Use timestamp, or fetch the current state from the API.
  • If every delivery to an endpoint fails for five days, Preshow switches it off and tells the person who added it. Turning it back on in Settings starts it again.
  • Preshow only sends to https URLs on the public internet, and does not follow redirects. Its sending addresses are not fixed, so do not allowlist IPs: verify the signature instead.

Actions

An action is a button of your own on comps and media, like Send to Resolume or Push to the media server. A workspace’s owner or an admin adds it in Settings → Developers → Actions: a name, an icon, the URL to call, whether it shows on comps, media or both, and optionally a question to ask first. Everyone who can edit a project in that workspace sees it in the comp and media menus and in the editor’s Export menu; viewers and review guests never do. Actions are part of Pro and Max.

What arrives

Pressing the button sends one POST from Preshow’s servers, signed exactly like a webhook (see Verifying a delivery), with the secret shown once when the action was added. The body is { type: "action.run", timestamp, data }, and data names the action, the person who pressed it, the workspace and the project, then the item: comp is the comp as the API returns it, with its published_version, its stage and the media on its screens; media is the media item, with playback. playback.file_url is the full-resolution file and hls_url the stream, as the person who pressed the button can play and download them. Treat both as secrets: anyone holding them can fetch the video. For video the MP4 is made the first time it is asked for, so a fetch straight after the action can answer 404 for a minute.

POST /preshow-action HTTP/1.1
Content-Type: application/json
User-Agent: Preshow-Actions/1.0
webhook-id: msg_7Hq2Lk9ZpX4vB1nC8mR3tW6y
webhook-timestamp: 1790206200
webhook-signature: v1,EsU3ccOWfXsXLKuTN5kWxXFQLpdBAlD+zRWXYfNmGU0=

{
  "type": "action.run",
  "timestamp": "2026-09-23T22:10:00.000Z",
  "data": {
    "object": "action_run",
    "id": "msg_7Hq2Lk9ZpX4vB1nC8mR3tW6y",
    "action": {
      "id": "ca_3Fz8Qw1Ny6Tb0Kc5Vd2H",
      "name": "Send to Resolume"
    },
    "triggered_by": {
      "user_id": "Xk2mP9qL4rT7vB1nC8sD",
      "name": "Dana Reyes",
      "email": "dana@northlight.example"
    },
    "workspace": {
      "kind": "team",
      "id": "team_abc123",
      "name": "Northlight Studio"
    },
    "project": {
      "id": "proj-1790130227580-2c6a1f827",
      "name": "Arena tour 2027"
    },
    "item_type": "comp",
    "comp": {
      "object": "comp",
      "id": "comp-1790131090418-a93d0c1e7",
      "project_id": "proj-1790130227580-2c6a1f827",
      "name": "Opener look A",
      "stage_id": "scene-1790130230112-8d1e0b4c2",
      "status": "approved",
      "duration_seconds": 42.5,
      "screens": [
        {
          "screen": "Main_LED_Wall",
          "media_id": "asset-1790131002211-4be09a7d1",
          "start_seconds": 0,
          "duration_seconds": 42.5
        }
      ],
      "created_at": "2026-09-23T21:04:50.418Z",
      "updated_at": "2026-09-23T21:59:21.870Z",
      "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827&view=editor&composition=comp-1790131090418-a93d0c1e7",
      "published_version": {
        "id": "cut-1790205501112-5d0c2a9e1",
        "number": 3,
        "label": null,
        "published_at": "2026-09-23T21:58:21.112Z"
      },
      "stage": {
        "id": "scene-1790130230112-8d1e0b4c2",
        "name": "Arena main stage"
      },
      "media": [
        {
          "object": "media",
          "id": "asset-1790131002211-4be09a7d1",
          "project_id": "proj-1790130227580-2c6a1f827",
          "name": "opener_v3.mov",
          "type": "video",
          "status": "ready",
          "duration_seconds": 42.5,
          "width": 3840,
          "height": 1080,
          "thumbnail_url": null,
          "version": {
            "id": "ver-1790131402117-0c5e2b9a4",
            "created_at": "2026-09-23T21:10:02.117Z"
          },
          "versions_count": 3,
          "created_at": "2026-09-23T21:03:22.211Z",
          "playback": {
            "file_url": "https://stream.mux.com/a1B2c3D4e5F6g7H8/highest.mp4",
            "hls_url": "https://stream.mux.com/a1B2c3D4e5F6g7H8.m3u8",
            "filename": "opener_v3.mov"
          },
          "app_url": "https://preshow.link/app?project=proj-1790130227580-2c6a1f827&view=editor&asset=asset-1790131002211-4be09a7d1"
        }
      ],
      "media_truncated": false
    }
  }
}

Like the webhook example, this one is real: it verifies with whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw once the timestamp check is off.

Answering

  • The person is waiting: answer within 10 seconds. They see a toast with your status, for example Sent to Resolume: 200 OK, or the error.
  • Reply with JSON holding a message and its first 200 characters are shown under the status:
HTTP/1.1 200 OK
Content-Type: application/json

{
  "message": "Queued on Resolume Arena, deck 2"
}
  • An action is not retried. If your server was down, the person sees that and can press it again.
  • One person can run 30 actions in ten minutes, and one action runs at most 300 times an hour. A workspace can have 10 actions.
  • Every run is recorded in the project’s activity, whatever your server answered: who ran which action on what.
  • As with webhooks, Preshow only calls https URLs on the public internet and does not follow redirects.

AI assistants (MCP)

Preshow is also a remote MCP server at https://preshow.link/api/mcp, so an assistant such as Claude, Cursor or VS Code can read your projects and build comps when you ask it to. Its tools are this API’s endpoints under other names: the same permissions, the same project access and the same rate limits. Give it a key with only projects:read to let it look without changing anything.

With an API key, in Claude Code:

claude mcp add --transport http preshow https://preshow.link/api/mcp \
  --header "Authorization: Bearer psk_…"

Or in a client that takes a JSON configuration (Cursor, VS Code, Windsurf):

{
  "mcpServers": {
    "preshow": {
      "url": "https://preshow.link/api/mcp",
      "headers": {
        "Authorization": "Bearer psk_…"
      }
    }
  }
}

A client that signs in with OAuth instead (ChatGPT, Claude and others) needs only the URL: it registers itself and sends you to Preshow to approve it, and you choose the workspace and see what it may do.

ToolWhat it doesNeeds
whoamiThe credential in use, its workspace and permissions.—
list_projectsProjects the credential can see, oldest id first.projects:read
get_projectOne project.projects:read
get_naming_rulesHow rendered file names map to a project’s videos and comp screens.projects:read
set_naming_rulesReplaces or removes a project’s naming rules.projects:write
resolve_file_nameWhich project, video and comp screens a file name is for.projects:read
set_comp_screen_mediaPuts one media item on some of a comp’s screens.comps:write
list_stagesA project’s stages and their known_screens.projects:read
list_mediaA project’s media and its processing status.projects:read
get_mediaOne media item.projects:read
get_media_versionOne version of a media item, with its own status.projects:read
create_media_uploadAdds a video and returns the URL to PUT its bytes to.media:write
list_compsA project’s comps, with review status and app links.projects:read
get_compOne comp.projects:read
create_compPuts ready media on a stage’s screens as a new draft comp.comps:write
update_compRenames a comp, sets its review status or changes its screens.comps:write
duplicate_compCopies a comp as a new draft.comps:write
delete_compMoves a comp to Recently deleted.comps:write
restore_compBrings a comp back from Recently deleted.comps:write
update_mediaRenames a media item or sets its review status.media:write
create_media_versionAdds a new version of a video and returns the URL to PUT it to.media:write
delete_mediaMoves a media item to Recently deleted.media:write
restore_mediaBrings a media item back from Recently deleted.media:write
list_media_notesA media item’s notes, with where each points in the video.projects:read
get_noteOne note with its replies and reactions.projects:read
create_noteLeaves a note on a video at a time or range.notes:write
update_noteResolves, reopens or rewords a note.notes:write
delete_noteDeletes a note for good.notes:write
reply_to_noteReplies to a note.notes:write
delete_replyTakes back your own reply.notes:write
add_reactionReacts to a note.notes:write
remove_reactionTakes back your reaction.notes:write
rename_stageRenames a stage.projects:write
delete_stageMoves a stage and its comps to Recently deleted.projects:write
restore_stageBrings a stage and its comps back.projects:write
list_deletedA project’s Recently deleted.projects:read
delete_permanentlyDeletes an item in Recently deleted for good.media:write, comps:write or projects:write
list_share_linksA project’s live share links.shares:manage
create_share_linkMakes a review link for comps and media.shares:manage
update_share_linkChanges a link’s access, downloads or expiry.shares:manage
revoke_share_linkEnds a link and the sessions it opened.shares:manage
create_projectCreates an empty project.projects:write
rename_projectRenames a project.projects:write
delete_projectMoves a project to Recently deleted.projects:write
restore_projectBrings a project back from Recently deleted.projects:write
delete_project_permanentlyDeletes a project in Recently deleted for good.projects:write
list_membersThe people a project is shared with.projects:read
add_memberShares a private project with someone.projects:write
update_memberChanges someone’s role.projects:write
remove_memberRemoves someone from a project.projects:write
list_webhooksThis credential’s webhook endpoints.webhooks:manage
create_webhookSubscribes a URL to events.webhooks:manage
delete_webhookRemoves a webhook endpoint.webhooks:manage

Pagination

Lists return data, has_more and next_cursor. While has_more is true, request the next page with cursor=<next_cursor>. Cursors are stable: items added or removed between pages never cause one to be repeated or skipped. A page can hold fewer items than limit; rely on has_more, not the count.

Errors

Errors use RFC 9457 problem details, served as application/problem+json. Branch on code, which is stable; detail is written for people and may change.

{
  "type": "https://preshow.link/docs/api#insufficient_scope",
  "title": "Forbidden",
  "status": 403,
  "detail": "This key lacks the \"projects:read\" permission. Create a key that includes it.",
  "code": "insufficient_scope",
  "request_id": "a1b2c3d4e5f6"
}
CodeStatusMeaningWhat to do
missing_api_key401No Authorization header, or not a Bearer token.Send Authorization: Bearer psk_….
invalid_api_key401The key is malformed, mistyped or unknown.Copy the key again; it is 53 characters starting psk_.
api_key_revoked401The key was revoked in Settings.Create a new key.
api_key_expired401The key passed its expiry date.Create a new key; choose a longer expiry if you need one.
api_key_owner_inactive401The account that owns the key was deleted or disabled.Ask a current member to create a key.
invalid_access_token401The OAuth access token is malformed or unknown.Send the access_token from the token endpoint, exactly.
access_token_expired401The OAuth access token is more than an hour old.Get a new one with your refresh token, then retry.
access_token_revoked401The user disconnected your app, or it was deleted.Send the user through the authorization flow again.
workspace_access_revoked403The key’s owner is no longer a member of its workspace.A current member creates a new key for that workspace.
plan_required403The workspace is on the Free plan; the API, connected apps and webhooks are part of Pro and Max. The key or connection is kept.Move the workspace to Pro or Max in Settings → Billing; the same key works again.
insufficient_scope403The key lacks the permission this endpoint needs.Create a key that includes it; permissions cannot be added to an existing key.
invalid_request400A parameter is missing, unknown or out of range.Read `detail`; it names the parameter.
project_not_found404No project with that id is visible to this key.Check the id and the key’s workspace.
project_read_only403The key’s owner can view this project but not change it.Ask the project’s owner for editor access.
project_needs_first_open409The project was last opened before a storage update and has not been moved to the current format yet.Open it once in Preshow, then retry.
media_not_found404No media item with that id in this project.Check the id against the media list.
invalid_naming_rules422The naming rules fit the schema but cannot be used: the pattern has no {version}, a token is used twice or is not in the pattern, a token pattern is not a valid regular expression, or a screen token is listed twice.Fix what the detail lists and send the rules again.
media_version_not_ready409The version to put on a comp’s screens is still processing.Poll the version until its status is ready, then retry.
media_version_not_found404No version with that id on this media item, or it is in Recently deleted.Use the id the version was created with, or version.id from the media item.
upload_already_received409The version’s file has already reached Preshow, so no new upload URL is minted for it.Poll the version until it is ready or error; to send another file, add a new version.
upload_renewed_meanwhile409Another request renewed this version’s upload URL at the same time.Use the URL that request got, or ask for a new one again.
media_not_ready409The media item is still processing.Poll it until status is ready, then retry.
media_not_placeable422Audio cannot be put on a screen.Use a video or still.
media_not_video422Only a video takes a new video version; this media item is a still or audio.Pick a video, or upload the file as new media.
video_minutes_exceeded403The upload would take the plan past its video minutes.Remove unused videos or upgrade the plan.
upload_unavailable503The video service could not create an upload.Retry with backoff.
stage_not_found404No stage with that id in this project.Check the id against the stages list.
stage_has_no_known_screens422No screen on this stage can be verified yet.In Preshow, set a default screen on the stage or make one comp on it.
unknown_screen422The screen is not one of the stage’s known_screens.Use a name from known_screens; `detail` lists them.
comp_not_found404No comp with that id in this project.Check the id against the comps list.
webhook_endpoint_not_found404No webhook endpoint with that id for this key.Endpoints are visible only to the person who added them, in their workspace.
webhook_url_not_allowed422The URL is not https, or points somewhere private (localhost, an internal network).Use an https URL on the public internet.
webhook_endpoint_limit409The workspace already has 10 webhook endpoints, or you already added 5 to this team workspace.Delete one you no longer use.
not_in_recently_deleted409Only an item in Recently deleted can be restored or deleted for good, and this one is not there.Delete it first, or check the id against Recently deleted.
purge_in_progress409The project is already being deleted for good.Nothing to do; it will be gone shortly.
stage_has_too_many_comps409More than 450 comps are on this stage, too many to move to Recently deleted with it in one step.Delete some of its comps first, then the stage.
not_purged409The project could not be deleted for good right now.`detail` says why; retry later.
project_id_taken409The new project drew an id that was used before.Retry.
owner_only403Only the project’s owner may do this (delete, restore, share with people, or rename a private project).Ask the owner, or use a key the owner made.
workspace_read_only403The key’s owner cannot create projects in this workspace (a viewer, or the workspace’s plan has lapsed).Ask a workspace admin.
team_project409A team project is shared with its workspace’s members, not person by person.Manage people in Preshow under Settings → Members.
member_not_found404That email address is not on this project.Check it against the members list.
already_member409That email address is already on this project.Change their role instead.
note_not_found404No note with that id in this project.Use an id from a media item’s notes.
not_note_author403Only a note’s author or the project’s owner may change its words or delete it.Resolve it instead, or ask the author.
reply_not_found404No reply with that id on this note.Read the note for its replies.
not_reply_author403Only a reply’s author may delete it.Leave it, or ask the author.
unknown_reaction422Not one of the reactions Preshow offers.Use thumbs_up, heart, eyes, check, laugh or fire.
invalid_range422end_seconds is not after at_seconds, or the range is longer than a day.Send an end after the start.
invalid_idempotency_key400The Idempotency-Key header is empty, too long or not plain ASCII.Use a UUID.
idempotency_key_reused422This Idempotency-Key was already used for a different request.Use a new key for each distinct request.
idempotency_in_progress409The first request with this Idempotency-Key is still running.Retry in a moment; you will get its result.
not_found404No endpoint at that path.Check the path against this page.
unsupported_protocol_version400An MCP client sent an MCP-Protocol-Version this server does not speak.Update the client; `detail` lists the supported versions.
batch_too_large400An MCP request batched more than 20 JSON-RPC messages.Send at most 20 messages a request. Each tool call in a batch counts as one request against the rate limit.
method_not_allowed405The endpoint exists but not for that HTTP method.Use the method in the Allow header.
rate_limited429Too many requests for this key, or for all of its account’s keys and apps together, in the current minute.Wait the Retry-After seconds, then retry.
internal_error500Something failed on our side. Under an Idempotency-Key the same failure is replayed, since the request may have got partway.Retry with backoff; with an Idempotency-Key, check whether it took effect and retry with a new key. Quote the request_id if you contact us.

Rate limits

Each key may make 120 requests per 60 seconds, and one account’s keys and connected apps together 600. Every response says where you stand, in the IETF RateLimit and RateLimit-Policy headers (r is requests remaining, t seconds until the window resets). Over the limit you get 429 with a Retry-After header: wait that long, then retry.

RateLimit-Policy: "per-key";q=120;w=60
RateLimit: "per-key";r=117;t=42

Versioning

The version is in the path (/v1). Within a version we only add: new endpoints, new optional parameters, new fields in responses. Write clients that ignore fields they do not know. Anything that would break an existing client ships as a new version, with the old one kept running while you move.