Reeling publishing API reference
Use the Reeling REST API at https://api.reeling.app/api/v1 to discover projects and channels, submit reviewed video requests and check per-destination delivery results.
Reviewed 2026-10-20 · Reeling product team
Quick Reference — TL;DR Summary
Reeling REST API v1 (https://api.reeling.app/api/v1) enables programmatic video and social content publishing across 15 platforms. Authenticate with X-API-Key, inspect projects via GET /projects and channels via GET /channels, submit video payloads to POST /publish, and poll status at GET /posts/:id.
Core REST API v1 Endpoints & Status Codes
| Method & Endpoint | Expected Input | Success Response | Behavior / Next Action |
|---|---|---|---|
| GET /projects | X-API-Key header | 200 OK (Array of workspaces) | Retrieve project_id required for multi-project channel queries and posts. |
| GET /channels?projectId={id} | X-API-Key + projectId param | 200 OK (Channel capabilities) | Inspect destination capabilities and active channel UUIDs before publishing. |
| POST /publish | JSON or multipart video payload | 200 OK (post_id + initial status) | Enqueues asynchronous video download, R2 upload, and platform distribution. |
| GET /posts/:id | X-API-Key header | 200 OK (Per-destination publish_results) | Poll with bounded backoff to verify destination status (published: true/false). |
| GET /analytics/overview | X-API-Key + optional dates | 200 OK (Stored cross-platform metrics) | Reads stored performance metrics; does not synthesize missing platform data. |
Authenticate with a header
Provide X-API-Key or Authorization: Bearer in your request headers. Create and revoke keys in your Reeling account. Account and plan eligibility apply. Keep keys in an environment variable or secret manager; do not put them in URLs, GitHub examples or screenshots.
Start with project discovery. The example below makes one account read; its output can contain private project identifiers and names.
curl --fail-with-body \
-H "X-API-Key: $REELING_API_KEY" \
https://api.reeling.app/api/v1/projectsSelect a project and channel
GET /projects returns projects owned by the authenticated account. Pass a projectId query parameter to GET /channels. Choose the correct channel ID from that project, and inspect GET /channels/{id}/options where the provider exposes choices.
The runnable account example requires explicit project selection for multi-project accounts. It emits platform/capability summaries and omits private names and IDs from its report. This reduces accidental disclosure when sharing a connection check.
node examples/read-account.mjs
node --env-file=.env examples/read-account.mjs --live-readReview a publishing request
POST /publish accepts a video URL or multipart video upload. Include project_id, channel_ids and platforms explicitly. The example uses private YouTube visibility and a future timestamp with a timezone. The media URL and UUIDs are placeholders, not a runnable upload.
The scheduling script validates the date and identifiers, displays a local request draft first, and only sends when you pass --publish. A real submission can consume plan allowance. Retain its post_id and original request context.
{
"project_id": "YOUR_PROJECT_UUID",
"channel_ids": [
"YOUR_CHANNEL_UUID"
],
"platforms": [
"youtube"
],
"video_url": "https://example.com/owned-video.mp4",
"title": "A useful workflow",
"caption": "A short demonstration.",
"youtube": {
"privacy_status": "private",
"made_for_kids": false
},
"scheduled_for": "2026-12-01T15:00:00Z"
}Follow the post through delivery
GET /posts/{id} returns a top-level status and publish_results for individual destinations. Check published, upload_status, url and error. A success flag on the request or upload can precede final publication. TikTok inbox delivery requires a separate action in the TikTok app.
Use bounded polling, back off for rate limits and save the existing post ID. An expired observation window is an unknown result, not permission to upload the same content again.
node examples/poll-status.mjs
node --env-file=.env examples/poll-status.mjs --live-readRead analytics with their definitions
GET /analytics/overview accepts projectId and optional startDate/endDate filters. Missing provider metrics remain unavailable; they should not silently become measured zeroes. Provider definitions and available permissions differ.
The example reads the stored overview. It does not request a metric synchronization or claim that platform views are website visits. Keep the returned account analytics private.
Frequently Asked Questions
How do I authenticate with the Reeling REST API v1?
Include your secret API key in the 'X-API-Key: rl_live_...' header or as a Bearer token in 'Authorization: Bearer rl_live_...'. Generate and manage keys in your Reeling dashboard under Settings > API & Automation. Keep keys in environment variables; never embed them in client-side code.
Does POST /publish support both video URLs and direct file uploads?
Yes. You can pass 'video_url' with a publicly accessible HTTPS MP4, MOV, or WebM URL (JSON payload), or upload a raw video file using multipart/form-data. In both cases, Reeling downloads and validates the media (up to 100 MiB) before uploading it to Cloudflare R2 storage and dispatching to platform APIs.
What is the recommended polling interval for GET /posts/:id?
Because video transcoding and platform ingestion take time, poll GET /posts/:id every 5 to 10 seconds with a maximum timeout window of 2 to 3 minutes. Stop polling once 'status' is 'completed' or 'failed', or when all entries in 'publish_results' report definitive 'published' or 'error' values.
How does error handling work if one platform fails in a multi-platform post?
Reeling dispatches to each destination independently. If YouTube succeeds but Instagram fails due to invalid video aspect ratio, the top-level response records per-platform results. Preserve the returned post_id and only retry the failed destination after addressing the specific error.
Try it with your own workflow
Start with the offline examples, check the intended account and choose the next action deliberately.
Open the runnable examplesCreate a Reeling workspace