remagicaDocs home
API referenceClip exports

Get a clip export

GET
/clips/{clipId}/exports/{exportId}

Needs a key withclips:read

Returns one export of your clip. Once status is completed, videoUrl and posterUrl are the new clip and its poster. Poll every second or two while it is queued or processing.

Requires scope clips:read.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Path Parameters

clipId*string

Id of one of your clips (clips[].id from GET /clip-jobs/{jobId}).

Length1 <= length <= 128
exportId*string

Id returned by POST /clips/{clipId}/exports.

Length1 <= length <= 128

Response Body

The export.

application/json
  1. response

One re-export of a clip.

clipId*string

The clip this export re-renders.

completedAt*|

When the export completed; null until then.

createdAt*string

When the export was requested.

Formatdate-time
error*|

Why the export failed; otherwise null.

id*string

Export id.

jobId*string

The job the clip belongs to.

options*

What the export was asked to change, as sent.

posterUrl*|

URL of the export's poster (JPEG) once completed, else null. Same access rules as videoUrl.

status*string

Where the export is:

  • queued: accepted, waiting for a worker.
  • processing: a worker is burning it (seconds, not minutes).
  • completed: done; videoUrl is the new clip.
  • failed: gave up after retries; error says why.
Value in"queued""processing""completed""failed"
updatedAt*string

When the export last changed.

Formatdate-time
videoKey*|

Storage key of the exported MP4 once completed, else null.

videoUrl*|

URL of the exported clip (MP4) once completed, else null. Public when the deployment has a public storage domain, otherwise presigned and valid for 1 hour.

wordsUrl*|

URL of the export's own words.json (the words, style and hook box it was burned with) once completed, else null. An editor can continue from it.

Example Request
curl -X GET 'https://api.remagica.com/api/v1/clips/9d2e7a61-3b0f-4c1e-b5a8-7f4d2c6e1a93/exports/3c7b1e90-52d4-4f8a-9e61-0b2d7a4c5f18'
Example Response
{  "clipId": "9d2e7a61-3b0f-4c1e-b5a8-7f4d2c6e1a93",  "completedAt": "2026-09-27T12:00:00.000Z",  "createdAt": "2026-09-27T12:00:00.000Z",  "error": null,  "id": "3c7b1e90-52d4-4f8a-9e61-0b2d7a4c5f18",  "jobId": "5f0c2a4e-1d7b-4b9e-8a3c-2e6f9d1b7c40",  "options": {    "captionStyle": {      "preset": "beasty"    },    "captions": true,    "hook": {      "position": "top",      "style": "dark",      "text": "Nobody tells you this about pricing",      "visible": true    },    "words": [      {        "end": 0.48,        "start": 0.12,        "word": "Nobody"      },      {        "end": 0.8,        "start": 0.5,        "word": "tells"      }    ]  },  "posterUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.jpg",  "status": "completed",  "updatedAt": "2026-09-27T12:00:00.000Z",  "videoKey": "jobs/5f0c2a4e-1d7b-4b9e-8a3c-2e6f9d1b7c40/clips/0/exports/3c7b1e90-52d4-4f8a-9e61-0b2d7a4c5f18.mp4",  "videoUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.mp4",  "wordsUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"}