The social posting API that tells you what went wrong.
PostMyReels is a social media posting API: one POST /posts call publishes or schedules a video to TikTok, Instagram and YouTube, and returns a status per platform. JSON in, JSON out, test keys that post nothing, signed webhooks, and an error format that tells you how to fix the problem. API keys are on every plan, Free included.
const res = await fetch("https://api.postmyreels.com/api/v1/posts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PMR_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
profile: "bella-bakery",
platform: ["tiktok", "instagram", "youtube"],
media: [{ url: "https://cdn.example.com/autumn.mp4" }],
caption: "Autumn menu is here",
title: "Autumn menu at Bella Bakery",
}),
});
const post = await res.json(); // 202, post.deliveries[]curl https://api.postmyreels.com/api/v1/posts \
-H "Authorization: Bearer pmr_test_…" \
-H "Content-Type: application/json" \
-d '{
"profile": "bella-bakery",
"platform": ["tiktok", "instagram", "youtube"],
"media": [{ "url": "https://cdn.example.com/autumn.mp4" }],
"caption": "Autumn menu is here",
"title": "Autumn menu at Bella Bakery",
"tiktok": { "privacy_level": "PUBLIC_TO_EVERYONE" },
"scheduled_at": "2026-11-20T09:30:00Z"
}'
# 202 → { "post_id": "post_01J5", "status": "queued", "deliveries": [3] }import os, requests
r = requests.post(
"https://api.postmyreels.com/api/v1/posts",
headers={"Authorization": f"Bearer {os.environ['PMR_KEY']}"},
json={
"profile": "bella-bakery",
"platform": ["tiktok", "instagram", "youtube"],
"media": [{"url": "https://cdn.example.com/autumn.mp4"}],
"caption": "Autumn menu is here",
"title": "Autumn menu at Bella Bakery",
},
)
post = r.json() # 202, post["deliveries"]$ch = curl_init("https://api.postmyreels.com/api/v1/posts");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("PMR_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
"profile" => "bella-bakery",
"platform" => ["tiktok", "instagram", "youtube"],
"media" => [["url" => "https://cdn.example.com/autumn.mp4"]],
"caption" => "Autumn menu is here",
]),
]);
$post = json_decode(curl_exec($ch), true); // 202
# GET /posts/post_01J5: a failed delivery says why, and what to do
{ "id": "dlv_01J7", "platform": "instagram", "status": "failed",
"error_code": "media_invalid_ratio",
"error_message": "Video is 16:9, Reels need 9:16 to 4:5",
"fix": "Re-export vertical, then retry.",
"retryable": false }# 202 Accepted, always async
{ "request_id": "req_8fK2a1", "post_id": "post_01J5", "status": "queued",
"scheduled_at": "2026-11-20T08:30:00Z",
"deliveries": [
{ "id": "dlv_01J6", "platform": "tiktok", "status": "queued" },
{ "id": "dlv_01J7", "platform": "instagram", "status": "queued" },
{ "id": "dlv_01J9", "platform": "youtube", "status": "queued" } ],
"warnings": [] }# Any rejected request returns the same shape
{ "error": {
"code": "invalid_field",
"message": "scheduled_at must be in the future",
"fix": "Send a time later than now, up to 365 days ahead.",
"docs_url": "https://docs.postmyreels.com/errors#invalid_field",
"request_id": "req_8fK2…" } }
Test key, one request, done.
Get a test key
pmr_test_ keys validate everything like live keys and post nothing. They only see test data.
Copy the request
Send
profile, aplatformlist, a publicmediaURL and a caption. Addscheduled_atto schedule; leave it out to publish now.Run it
You get
202with apost_id. In test mode deliveries move queued, then published, after a few seconds. Then switch to a live key.
Use it from Cursor or Claude Code.
The same engine is an MCP connector, so a coding agent can list accounts, post, schedule, check status and retry without you writing the HTTP calls. Add the address to your MCP settings with an API key.
# MCP connector address
https://app.postmyreels.com/mcp
# Cursor / Claude Code: send your key
Authorization: Bearer pmr_live_…Endpoints
/postsPublish or schedule to N accounts/posts/{id}Per-platform delivery status/postsList posts, filter by profile, status, platform, date/posts/{id}Cancel a scheduled or queued post/posts/{id}/retryRetry failed deliveries/media/uploadsLarge files in parts, up to 500 MB/profiles/{id}/accountsConnected accounts + health/profiles/{id}/connect-linksWhite-label link for a clientWebhooks
Create one with POST /webhooks and pick events. Signed with HMAC-SHA256, retried five times with backoff, and every delivery is listed so you can redeliver it.
# every webhook carries
X-PMR-Signature: t=1763630000,v1=5257a869e7ec…
# v1 = hex( HMAC_SHA256(secret, t + "." + raw_body) )Verify against the raw body with a constant-time compare, reject a timestamp older than 5 minutes, respond 2xx within 10 s, dedupe on the event id.
Built for production
- Idempotency: same
Idempotency-Keyand body within 24 hours returns the original response; a different body gets409 idempotency_conflict. - Rate limits per key: 60 requests/min on Free, 300 on paid plans, with
X-RateLimit-Limit,-Remainingand-Reseton every response. - Cursor pagination:
?limit=(default 25, max 100) and?cursor=, answered withnext_cursor. - Test keys:
pmr_test_run the whole flow and post nothing. - Prefixed ids:
post_prof_acct_dlv_. Platform rules are checked before we call the platform.
Post from n8n or Make today. Zapier is next.
Webhooks go back into n8n or Make for "post published" and "post failed".
The API is in every plan.
Every plan gets test and live keys and webhooks; live posts count toward the plan’s monthly limit. Creator ($19) covers 3 profiles. Building for many users? Business gives you 250 profiles, and extra profiles cost $3 down to $1 a month each, cheaper the more you add.
Same flat field names (platform[], user, scheduled_date, tiktok_title, privacy_level) and the same Authorization: Apikey header. Most flows only change the base URL and the key. We cover TikTok, Instagram and YouTube, so other networks in platform[] return 400 invalid_field.
Developer questions, answered
Is there an API to post to TikTok, Instagram and YouTube with one call?
Yes. POST /posts takes a profile, a platform list, a media URL, a caption and an optional scheduled_at, and returns a post_id with one delivery per platform. It uses each platform's official API through our own app approvals. API keys are on every plan. YouTube works today, TikTok posts are private until TikTok's audit passes, and Instagram opens after Meta's review.
Can I test without posting anything?
Yes. A key starting with pmr_test_ validates the request exactly like a live key, simulates deliveries moving from queued to published, and posts nothing. Test keys only see test data.
How do I schedule a post through the API?
Add scheduled_at as an ISO 8601 time, up to 365 days ahead. If the time has no offset, send timezone as an IANA name such as Europe/Warsaw. Leave scheduled_at out to publish now.
How do I avoid duplicate posts when my code retries?
Send an Idempotency-Key header on the POST. The same key and body within 24 hours returns the original response instead of creating a second post. A different body with the same key returns 409 idempotency_conflict.
How do webhooks work and how do I verify them?
Create one with POST /webhooks and choose events. Each delivery carries an X-PMR-Signature header: t=timestamp,v1=hex HMAC-SHA256 of timestamp, a dot and the raw body, using your whsec_ secret. Failed deliveries retry five times with backoff.
Is PostMyReels compatible with Upload-Post?
Mostly at the request level: the same Apikey header, flat field names like platform[], user, scheduled_date, tiktok_title and privacy_level, and the /uploadposts/status alias. We only support TikTok, Instagram and YouTube, so check your platform list before switching.
Make your first test call in five minutes.
Test keys post nothing, so you can build before any account is connected.