Moltum's public API lets you do from your own tools what you'd otherwise do by hand in the panel: an automation, an agency dashboard or a Discord bot sends a video link, Moltum makes the video, and a webhook lets you know when it's ready. This page is a quick overview; for every field and example, see the full API reference.
/settings/api).Once it's created, use Show to reveal it and Copy to put it on your clipboard. Below it you'll see the key's name, when it was created and when it was last used. You get one key per account, and it's tied to your channel.
Note: Don't share your key or embed it in code that runs in the browser. If you think it has leaked, refresh it immediately.
https://moltum.io/api/v1Authorization: Bearer <API key> header.{} if it's empty.Errors come back with error and message fields. The ones you'll see most: 401 (wrong or deleted key), 403 plan_required (your plan doesn't include the API or publishing), 402 quota_exceeded (no video hours left this period) and 429 (rate limited).
| Endpoint | What it does |
|---|---|
GET /me |
Account, channel, remaining quota, connected YouTube accounts |
GET /jobs |
Jobs (paginated, ?status=ready) |
POST /jobs |
Create a job from a video link |
GET /jobs/{id} |
Job status, outputs, chapters, ad markers |
POST /jobs/{id}/revisions |
Regenerate with a comment |
POST /jobs/{id}/cancel |
Cancel the job |
GET /jobs/{id}/export/{xml|fcpxml|edl} |
Project file (Premiere, DaVinci, EDL) |
POST /jobs/{id}/publish |
Upload or schedule on YouTube |
GET /publications |
YouTube uploads |
Jobs created through the API follow the same rules as jobs created in the panel: your channel rules apply, the source length counts against your quota, on AI revisions the first is free and later ones use 20% of the source length (at least 15 minutes) of your quota; fixing things in the editor and upgrading quality don't use any, and canceled jobs get their quota back. To upload to YouTube, connect your YouTube account on the Publishing page in the panel first (see Publishing to YouTube).
A quick test:
curl -X POST https://moltum.io/api/v1/jobs \
-H "Authorization: Bearer $MOLTUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source_url": "https://www.twitch.tv/videos/123", "target_min": 20, "target_max": 30}'
curl https://moltum.io/api/v1/jobs/<id> -H "Authorization: Bearer $MOLTUM_API_KEY"
Only the channel owner can set up the webhook.
https://.ping event to your URL; the result shows up right next to the button.You can change the secret with Regenerate signing secret. To turn the webhook off, clear the URL field and click Save.
Moltum sends JSON to your URL for these events:
| Event | When |
|---|---|
job.ready |
The video is ready |
job.failed |
The job couldn't be completed |
publication.published |
Uploaded to YouTube (live or scheduled) |
publication.failed |
The YouTube upload failed |
The body is always { event, sent_at, data }. The event name is also sent in the X-Moltum-Event header.
Every request carries an X-Moltum-Signature header: the HMAC-SHA256 of the raw body using your signing secret, hex-encoded. Verify it before you act on the request. In PHP:
$ok = hash_equals(
hash_hmac('sha256', file_get_contents('php://input'), $secret),
$_SERVER['HTTP_X_MOLTUM_SIGNATURE'] ?? ''
);
A few things to keep in mind:
GET /jobs?status=ready.The API and webhooks are available on paid plans. On the free plan, the API & webhook page shows a note that your plan doesn't include them, and you can't create a key. Compare plans in Plans and quota.
With your permission, we use Google analytics cookies to measure visits and improve the site. Cookie Policy