From pull request to video,
in one call.
Request a narrated demo from your CI, follow it live, get the MP4 or send it to Slack, Microsoft Teams, Discord, Linear or the pull request. JSON and a key, nothing else.
https://pullscene.com/api/v1Quickstart
A key, a pull request link, and the video comes back when it is ready. Here is the shortest path.
- Create a key. In the app, Workspace › API keys. It starts with
sc_live_and is shown only once: store it in your secrets manager. - Check that the API answers. Its root needs no key: it is the right test from a CI.
cURL curl https://pullscene.com/api/v1Response · 200 { "object": "service", "name": "Pullscene", "version": "v1", "docs": "https://pullscene.com/docs", "endpoints": [ "GET /api/v1/videos", "POST /api/v1/videos", "GET /api/v1/videos/:id", "…" ] } - Send a pull request. The response comes back right away, as a 202. The script, rehearsal, recording and delivery carry on without you.
curl -X POST https://pullscene.com/api/v1/videos \ -H "Authorization: Bearer $PULLSCENE_KEY" \ -H "Content-Type: application/json" \ -d '{"pr_url": "https://github.com/fkqdstudio/proofit-app/pull/19"}' - Get the video. Follow it through its object or the event stream. When
statusisready, download it.
All endpoints
Authentication
Every request carries your key in the Authorization header, as a Bearer token.
Authorization: Bearer sc_live_…- Keys are created in the app, Workspace › API keys. Name each one after its use ("shop CI", "release script"): you will know which one to revoke.
- A key is shown only once, when it is created. We keep only its SHA-256 fingerprint: not even we can give it back to you.
- A revoked key answers
401from the next request on. - It lives in a CI secret or an environment variable. Never in code, never in a browser.
export PULLSCENE_KEY="sc_live_…"
curl https://pullscene.com/api/v1/videos?limit=5 \
-H "Authorization: Bearer $PULLSCENE_KEY"Create a video
/api/v1/videosGive it a pull request link and we handle the rest. By default the API runs everything: the script is written, the gestures are rehearsed, the app is recorded, the voice is laid down, then the video goes to your outputs. The response doesn’t wait: it comes back as a 202 with the video in planning.
Parameters
The body is a JSON object. Everything is optional except pr_url.
| Field | Description |
|---|---|
pr_urlstringrequired | A GitHub pull request link ( |
templatestring | A template id or name, as returned by Default: |
voicestring | A voice id, as returned by Default: |
styleadhd | concise | normal | slow | The length. Default: |
format16:9 | 9:16 | 1:1 | Landscape, portrait or square. Default: |
langen | fr | The language of the voice and the slides. Default: |
tonecasual | formal | Casual or formal. Default: |
audienceteam | developers | management | customers | sales | Who watches it. Changes what the video shows and says: code paths and how to test for developers, outcome and risk for management, how to use it for customers. Default: |
qualitydraft | final |
Default: |
captionsboolean | Burns captions into the video. Default: |
presenterboolean | string | A presenter of the workspace in a round bubble, narrating in their cloned voice when they have one: true for the template’s presenter, or a presenter’s name or id. Team plan, otherwise 402. Default: |
introboolean | Opens on a title card with the project and the pull request. Default: |
outroboolean | Closes on an end card with what is left before it ships. Default: |
bulletsboolean | Two to four short lines next to the app in each scene. Default: |
zoomboolean | The camera zooms on each click and each field. Default: |
accentstring | Main color of the titles, Default: |
surfaceweb | ios | android | Where the app is recorded: a browser, the iOS simulator or the Android emulator. Default: |
base_urlstring | The URL of the app to record, for |
notesstring | Instructions for the script, 2,000 characters at most: what to show, what to leave out. |
autopilotboolean | Runs script, rehearsal, recording and delivery without waiting for you. With Default: |
outputsarray | Where to send it once ready: Default: |
messagestring | The few lines posted with the video, 1,500 characters at most. Left out, they are written from the script: what changed, the scenes, what is left before it ships. An empty string posts only the title and the link. Default: |
projectstring | The project name shown in the video. Derived from the repository otherwise. |
titlestring | A temporary title, until the script gives the video its own. |
Example
curl -X POST https://pullscene.com/api/v1/videos \
-H "Authorization: Bearer $PULLSCENE_KEY" \
-H "Content-Type: application/json" \
-d '{
"pr_url": "https://github.com/fkqdstudio/proofit-app/pull/19",
"template": "quick-look",
"surface": "ios",
"outputs": ["slack", "comment"]
}'{
"id": "2026-12-01-09-41-proofit-app",
"object": "video",
"title": "Proofit app",
"project": "Proofit app",
"status": "planning",
"stage": "plan",
"error": null,
"source": {
"label": "proofit-app #19",
"pr_url": "https://github.com/fkqdstudio/proofit-app/pull/19",
"provider": "github"
},
"settings": {
"template": "quick-look",
"format": "16:9",
"style": "concise",
"voice": "orion",
"surface": "ios"
},
"duration": null,
"scenes": 0,
"autopilot": true,
"deliveries": [],
"share_url": null,
"app_url": "https://pullscene.com/app/videos/2026-12-01-09-41-proofit-app",
"downloads": null,
"created_at": "2026-12-01T09:41:12.000Z",
"updated_at": "2026-12-01T09:41:12.000Z"
}Retrieve a video
/api/v1/videos/:idReturns the video object, plus three fields the list doesn’t have: chapters (the scenes), transcript (the subtitles) and tickets.
Statuses
| status | What is happening |
|---|---|
planning | The pull request, the diff and the code are read, and the script is written. |
script | The script is ready and waiting. This is the final state when |
rehearsing | Each scene is played without recording, with a screenshot. A failed gesture goes back to the script writer to be fixed. |
review | Some scenes still fail after the fix. Nothing is recorded: review the script in the app ( |
rendering | Voice, recording, slides and editing. |
ready | The video is ready: |
failed | The last run failed. |
The simplest way is to poll the video every ten seconds until it settles. For live updates, open the event stream instead.
curl https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app \
-H "Authorization: Bearer $PULLSCENE_KEY"{
"id": "2026-12-01-09-41-proofit-app",
"object": "video",
"status": "ready",
…
"chapters": [
{
"id": "s0",
"kind": "slide",
"title": "A pause that says why",
"kicker": "Proofit · PR #19",
"start": 0,
"dur": 9.367,
"bullets": [],
"cards": ["FKQD-2"],
"voice": "Injury mode is in. …"
},
{
"id": "s1",
"kind": "demo",
"title": "The pause says why",
"kicker": "PR #19 · start a pause",
"start": 9.367,
"dur": 14.534,
"bullets": ["**4 options**: Injury, Illness, Vacation, Just a break", …],
"cards": ["FKQD-2"],
"voice": "In my profile, I turn on the pause. …"
}
],
"transcript": [
{ "start": 0.35, "end": 1.62, "text": "Injury mode is in." }
],
"tickets": [
{
"id": "FKQD-2",
"title": "Injury mode",
"status": "In Review",
"label": "Feature",
"assignee": "qdpy",
"pr": "PR #19"
}
]
}List videos
/api/v1/videos?limit=20The workspace’s videos, most recently updated first. limit goes from 1 to 100, 20 by default.
curl "https://pullscene.com/api/v1/videos?limit=20" \
-H "Authorization: Bearer $PULLSCENE_KEY"{
"object": "list",
"data": [
{
"id": "2026-12-01-09-41-proofit-app",
"object": "video",
"title": "Injury mode: a pause that says why",
"status": "ready",
…
}
]
}The video object
Every /videos route returns the same JSON object, with snake_case field names.
| Field | Description |
|---|---|
idstring | The video id: the date, the time and the project. |
object"video" | Always |
titlestring | The title of the script, or a temporary title before the script. |
projectstring | The project name. |
statusstring |
|
stagestring | null | The current run ( |
errorstring | null | Why it failed or what is blocking, in plain words. |
sourceobject |
|
settingsobject |
|
durationnumber | null | The length in seconds, once the video is edited. |
scenesinteger | The number of scenes in the script (0 before the script). |
autopilotboolean | True if the video runs on its own all the way to delivery. |
deliveriesarray | One item per autopilot output: |
share_urlstring | null | The public link to the video page, if there is one. See the |
app_urlstring | The video in the app: script, rehearsal, player. |
downloadsobject | null |
|
created_atstring | ISO 8601 creation date. |
updated_atstring | ISO 8601 date of the last change. |
Also on GET /videos/:id
| Field | Description |
|---|---|
chaptersarray | One entry per scene: |
transcriptarray | The subtitles: |
ticketsarray | The tickets in the script: |
{
"id": "2026-12-01-09-41-proofit-app",
"object": "video",
"title": "Injury mode: a pause that says why",
"project": "Proofit",
"status": "ready",
"stage": "done",
"error": null,
"source": {
"label": "proofit-app #19",
"pr_url": "https://github.com/fkqdstudio/proofit-app/pull/19",
"provider": "github"
},
"settings": {
"template": "quick-look",
"format": "16:9",
"style": "concise",
"voice": "orion",
"surface": "ios"
},
"duration": 62.917,
"scenes": 5,
"autopilot": true,
"deliveries": [
{ "target": "slack", "ok": true, "message": "Posted to Slack" },
{ "target": "comment", "ok": true, "message": "Commented on #19" }
],
"share_url": "https://pullscene.com/v/k3Pq9xYwT2mVbL",
"app_url": "https://pullscene.com/app/videos/2026-12-01-09-41-proofit-app",
"downloads": {
"hd": "https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/download?file=hd",
"small": "https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/download?file=small",
"srt": "https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/download?file=srt"
},
"created_at": "2026-12-01T09:41:12.000Z",
"updated_at": "2026-12-01T09:52:40.000Z"
}Actions
/api/v1/videos/:id/{plan|rehearse|render|autopilot|stop|share|unshare}Restart a step, stop everything, or share. Each action answers 202 with the updated video object, except sending through share, which waits for the delivery to finish and answers 200.
| Action | Effect |
|---|---|
plan | Rewrites the script from the pull request. The previous script is replaced. |
rehearse | Rehearses the gestures of each scene, without recording, and fixes the ones that fail. |
render | Voice, recording, slides, editing, subtitles and the small version. |
autopilot | Runs what is left, then sends to the |
stop | Stops the current run, and autopilot with it. No effect if nothing is running. |
share | Without a body: creates the public link ( |
unshare | Removes the public link. The old link no longer leads anywhere. |
Only one thing runs at a time per video: plan, rehearse, render and autopilot answer 409 if a run is already in progress.
curl -X POST https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/render \
-H "Authorization: Bearer $PULLSCENE_KEY"Send the video
The output must be connected in the app. Otherwise the response is a 400 that says which one is missing.
curl -X POST https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/share \
-H "Authorization: Bearer $PULLSCENE_KEY" \
-H "Content-Type: application/json" \
-d '{"target": "teams:a1b2c3d4", "message": "Have a look before Friday."}'{
"id": "2026-12-01-09-41-proofit-app",
"object": "video",
"status": "ready",
"share_url": "https://pullscene.com/v/k3Pq9xYwT2mVbL",
…
"delivered": "Posted to Teams Product"
}Download
/api/v1/videos/:id/download?file=hd|small|srtReturns the file as an attachment, named after the project and the title. Partial requests (Range) are supported. Until the video is edited: 404.
| file | File |
|---|---|
hd | The HD MP4. This is the default. |
small | The version of 10 MB at most, made for Linear’s free plan and chat apps. The HD file if it does not exist. |
srt | The subtitles, timed scene by scene. |
curl -fLOJ "https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/download?file=small" \
-H "Authorization: Bearer $PULLSCENE_KEY"Live events
/api/v1/videos/:id/eventsA Server-Sent Events stream: each message is a data: line followed by a JSON object, then an empty line. These are the recording pipeline’s events, exactly as it writes them.
| type | Content |
|---|---|
step | A step starts. |
progress | Progress within a step: |
scene | A scene rehearsed or recorded: |
artifact | A file is ready: |
log | A log line, for humans: |
error | An error: |
end | End of the run: |
curl -N https://pullscene.com/api/v1/videos/2026-12-01-09-41-proofit-app/events \
-H "Authorization: Bearer $PULLSCENE_KEY"data: {"type":"step","step":"voice","message":"eroq-voice-turbo · bastien"}
data: {"type":"progress","step":"voice","done":5,"total":5}
data: {"type":"step","step":"record"}
data: {"type":"progress","step":"record","done":1,"total":4,"message":"s1"}
data: {"type":"step","step":"assemble","message":"16:9"}
data: {"type":"artifact","kind":"video","path":"…/video.mp4"}
data: {"type":"step","step":"compress"}
data: {"type":"artifact","kind":"video-small","path":"…/video-10mb.mp4"}
data: {"type":"step","step":"done","message":"…/video.mp4"}
data: {"type":"end","code":0,"kind":"render"}Templates
/api/v1/templatesThe templates of the workspace the key belongs to: the built-in ones and those your team made in the app. Every video starts from one. Without a template field, the video uses the workspace default; any field you pass, like format, overrides the template for that video only.
curl https://pullscene.com/api/v1/templates \
-H "Authorization: Bearer $PULLSCENE_KEY"{
"object": "list",
"default": "pr-demo",
"data": [
{
"id": "pr-demo",
"name": "Pull request demo",
"built_in": true,
"default": true,
"settings": {
"style": "normal",
"audience": "team",
"format": "16:9",
"voice": "orion",
"lang": "en",
"tone": "casual",
"quality": "draft",
"captions": true,
"intro": true,
"outro": true,
"bullets": true,
"zoom": true,
"accent": "#7c6cff",
"accent2": "#22c3ff",
"presenter": false,
"presenterId": null,
"prompt": ""
}
},
{
"id": "adhd-cut",
"name": "ADHD cut",
"built_in": true,
"default": false,
"settings": {
"style": "adhd",
"audience": "team",
"format": "16:9",
"voice": "orion",
"lang": "en",
"tone": "casual",
"quality": "draft",
"captions": true,
"intro": false,
"outro": false,
"bullets": false,
"zoom": true,
"accent": "#ff3d1f",
"accent2": "#ffb020",
"presenter": false,
"presenterId": null,
"prompt": ""
}
},
{
"id": "vertical",
"name": "Vertical clip",
"built_in": true,
"default": false,
"settings": {
"style": "concise",
"audience": "customers",
"format": "9:16",
"voice": "orion",
"lang": "en",
"tone": "casual",
"quality": "draft",
"captions": true,
"intro": true,
"outro": false,
"bullets": true,
"zoom": true,
"accent": "#ff5fa2",
"accent2": "#ffb347",
"presenter": false,
"presenterId": null,
"prompt": ""
}
}
]
}Voices
/api/v1/voicesThe voice catalog. Pass the id in the voice field when you create a video, or set it once in a template.
curl https://pullscene.com/api/v1/voices \
-H "Authorization: Bearer $PULLSCENE_KEY"{
"object": "list",
"data": [
{ "id": "bastien", "name": "Bastien", "language": "fr" },
{ "id": "margaux", "name": "Margaux", "language": "fr" }
]
}Errors
An error answers with the right HTTP status and a JSON body. Read statusMessage: it is written for humans and names the faulty field on a 422. Read it from the body, not from the HTTP status line, which drops non-ASCII characters.
| Code | When |
|---|---|
400 | The request cannot go through as is: an output that is not connected ("Slack is not connected"), a video without a pull request for a comment, a malformed id. |
401 | Missing, unknown or revoked key. For webhooks: invalid signature or token. |
402 | The workspace has no credits left. Nothing was started. |
404 | Video, file or action not found. Also: no video yet to download or send. |
409 | A run is already in progress for this video. Wait for it to finish, or send |
422 | A parameter is invalid. The message starts with the field name. |
429 | Too many videos or analyses this hour for the workspace. Try again later. |
502 | Slack, Microsoft Teams, Discord, Linear, GitHub or GitLab rejected the delivery. The message quotes their answer. |
503 | Webhooks are disabled: the |
{
"error": true,
"url": "https://pullscene.com/api/v1/videos",
"statusCode": 422,
"statusMessage": "pr_url: this is not a GitHub pull request or GitLab merge request link",
"message": "pr_url: this is not a GitHub pull request or GitLab merge request link"
}Webhooks
Instead of calling the API, let GitHub or GitLab notify the app on every pull request. Webhooks don’t make anything on their own: they trigger the rules you set up in Automations. A matching rule creates a video on autopilot and sends it to its outputs.
One secret serves both providers: the app’s NUXT_WEBHOOK_SECRET environment variable. Without it, both routes answer 503.
GitHub
/api/hooks/github- In the repository: Settings › Webhooks › Add webhook.
- Payload URL:
https://pullscene.com/api/hooks/github, Content type:application/json. - Secret: the value of
NUXT_WEBHOOK_SECRET. - Events: Let me select individual events › Pull requests.
Each call is checked with the X-Hub-Signature-256 header: an HMAC SHA-256 of the raw body, keyed with the secret. A wrong signature answers 401.
| action | Effect |
|---|---|
openedpull_request | A pull request opened, or moved from draft to ready ( |
closedpull_request | Only when |
labeledpull_request | A label added. Triggers "label" rules with a matching name, case-insensitive. |
pingping | The test GitHub sends when the webhook is created. Answers |
GitLab
/api/hooks/gitlab- In the project: Settings › Webhooks › Add new webhook.
- URL:
https://pullscene.com/api/hooks/gitlab. - Secret token: the value of
NUXT_WEBHOOK_SECRET. GitLab sends it inX-Gitlab-Token. - Trigger: Merge request events.
| object_attributes.action | Effect |
|---|---|
open, reopenmerge_request | Triggers "opened" rules. |
mergemerge_request | Triggers "merged" rules. |
labelsmerge_request | Each label added (present in |
Response
202 if at least one rule started a video, 200 otherwise. started lists each rule that fired, with the video it created or the error that stopped it. An event of no interest answers 200 with ignored.
{
"ok": true,
"started": [
{
"automation": "a8Kd2mQx7P",
"video": "2026-12-01-09-41-proofit-app"
}
]
}Test without GitHub
Sign a fake event yourself, with the same secret:
body='{"action":"labeled","label":{"name":"demo"},"pull_request":{"html_url":"https://github.com/fkqdstudio/proofit-app/pull/19","title":"Injury mode"},"repository":{"full_name":"fkqdstudio/proofit-app"}}'
sig="sha256=$(printf '%s' "$body" | openssl dgst -sha256 -hmac "$NUXT_WEBHOOK_SECRET" | sed 's/^.* //')"
curl -X POST https://pullscene.com/api/hooks/github \
-H "X-GitHub-Event: pull_request" \
-H "X-Hub-Signature-256: $sig" \
-H "Content-Type: application/json" \
-d "$body"GitHub Action
If you’d rather keep the decision in the repo, a workflow calls the API. This one requests a Quick look video when a pull request is merged or gets the demo label, then posts it as a comment and to Slack.
- In the repository, Settings › Secrets and variables › Actions: a
PULLSCENE_KEYsecret (your API key). - On the same screen, Variables tab:
PULLSCENE_URL, the app’s URL, without/api/v1. - Add the file and push it to the default branch.
name: PR demo
on:
pull_request:
types: [closed, labeled]
jobs:
demo:
if: github.event.pull_request.merged == true || github.event.label.name == 'demo'
runs-on: ubuntu-latest
steps:
- name: Request the demo video
env:
PULLSCENE_URL: ${{ vars.PULLSCENE_URL }}
PULLSCENE_KEY: ${{ secrets.PULLSCENE_KEY }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
jq -n --arg pr "$PR_URL" \
'{pr_url: $pr, template: "quick-look", outputs: ["comment", "slack"]}' |
curl --fail-with-body -X POST "$PULLSCENE_URL/api/v1/videos" \
-H "Authorization: Bearer $PULLSCENE_KEY" \
-H "Content-Type: application/json" \
--data @-GitLab CI
The same idea in .gitlab-ci.yml: a job that runs in pipelines of merge requests labeled demo, and requests the video with a comment on the merge request.
- Settings › CI/CD › Variables:
PULLSCENE_KEY, masked, andPULLSCENE_URL. Leave them unprotected: merge request pipelines run on unprotected branches and would not see protected variables. - Add the job to your
.gitlab-ci.yml.
demo:
stage: .post
image:
name: curlimages/curl:latest
entrypoint: [""]
rules:
- if: >-
$CI_PIPELINE_SOURCE == "merge_request_event" &&
$CI_MERGE_REQUEST_LABELS =~ /(^|,)demo(,|$)/
script:
- |
curl --fail-with-body -X POST "$PULLSCENE_URL/api/v1/videos" \
-H "Authorization: Bearer $PULLSCENE_KEY" \
-H "Content-Type: application/json" \
--data @- <<EOF
{
"pr_url": "$CI_MERGE_REQUEST_PROJECT_URL/-/merge_requests/$CI_MERGE_REQUEST_IID",
"template": "quick-look",
"outputs": ["comment"]
}
EOFAutomations
No code at all: in the app, Workspace › Automations, one rule per repository. The webhooks feed it; on every matching pull request, the video makes itself and goes where you said.
| Setting | Values |
|---|---|
Repository |
|
Trigger | Pull request merged, pull request opened, or label added ( |
Filters | Words that skip a pull request ( |
Videos | Up to four per pull request, each made with its own template (one for the team, one for sales…) and posted to its own destinations: a comment on the pull request, Slack or Microsoft Teams channels, Discord, Linear. Each video also sets its message: written from the script, your own text, or none. |
App to record | The URL of a preview or staging build, shared by every video of the automation. |
What each output does
| Output | What happens |
|---|---|
slack:<channel id> | A message in that Slack channel: the title, the length, the message and a Watch the demo link to the video page. |
teams:<channel id> | A card in that Microsoft Teams channel, through its Workflows webhook: the title, the message, the poster and a Watch the demo button. Teams webhooks carry no video file. |
discord | The file (the small version when there is one) posted to the channel through its webhook, with the link. |
linear | A comment on each ticket in the script, with the video attached. |
comment | A comment on the pull request or merge request, with the link to the video page. |
Each output must be connected in the app. If one fails, the others still go out, and deliveries says which one got stuck and why.
Four ways to automate
A webhook on the repository and a rule in the app.
You want zero files in the repo.A workflow that calls the API.
You want the decision in code, with your own conditions.A merge request pipeline job that calls the API.
Same thing, on GitLab.A call from any script.
You already have your own tooling.Your first video is free.
Create your key, paste a pull request, watch the result.