API reference
Publishing API
Manage outgoing posts and connected publishing accounts
BetaUpdated
- Base URL
- https://reelmirror.com/api
- Authentication
- Authorization: Bearer rm_…
- Contract
- openapi.json
List publishing targets
GET/v1/personas/{persona_id}/publishing-targets
publishing:readList connected publishing accounts linked to a persona. These determine where auto-published content is delivered. Requires publishing:read scope.
Path parameters
persona_idstringrequired
Response 200
List of publishing targets Fields below are inside data.
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringOne of
activeexpirederrorcreated_atstringdate-time
curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/publishing-targets" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const persona_id = "<persona_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/publishing-targets`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
persona_id = "<persona_id>"
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/personas/{persona_id}/publishing-targets",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "active",
"created_at": "2026-09-30T17:00:00.000Z"
}
]
}Add publishing target
POST/v1/personas/{persona_id}/publishing-targets
publishing:writeLink a connected publishing account to a persona. The account must already be connected via OAuth (dashboard). Requires publishing:write scope.
Path parameters
persona_idstringrequired
Request body application/json
connected_account_idstringrequireduuidID of a connected publishing account from `GET /v1/publishing/accounts`
Response 201
Publishing target linked Fields below are inside data.
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringOne of
activeexpirederrorcreated_atstringdate-time
Errors 409 use the standard error format.
curl -X POST "https://reelmirror.com/api/v1/personas/$PERSONA_ID/publishing-targets" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connected_account_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
}'const persona_id = "<persona_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/publishing-targets`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"connected_account_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
}),
});
const payload = await response.json();import os
import requests
persona_id = "<persona_id>"
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/personas/{persona_id}/publishing-targets",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"connected_account_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "active",
"created_at": "2026-09-30T17:00:00.000Z"
}
}Remove publishing target
DELETE/v1/personas/{persona_id}/publishing-targets/{target_id}
publishing:writeUnlink a publishing account from a persona. Requires publishing:write scope.
Path parameters
persona_idstringrequiredtarget_idstringrequired
Response 200
Publishing target removed Fields below are inside data.
idstringdeletedbooleanOne of
true
curl -X DELETE "https://reelmirror.com/api/v1/personas/$PERSONA_ID/publishing-targets/$TARGET_ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const persona_id = "<persona_id>";
const target_id = "<target_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/publishing-targets/${target_id}`, {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
persona_id = "<persona_id>"
target_id = "<target_id>"
response = requests.request(
"DELETE",
f"https://reelmirror.com/api/v1/personas/{persona_id}/publishing-targets/{target_id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"deleted": true
}
}Get OAuth connect URL
GET/v1/publishing/accounts/connect
publishing:writeGenerate an OAuth URL to connect a new (or reconnect an existing) social account. Requires publishing:write scope.
The OAuth provider will redirect the user's browser to /api/internal/publishing/accounts/callback after authorization — this is not a JSON callback.
Query parameters
platformstringrequiredSocial platform to connect. Note: TikTok support is in alpha.
One of
instagramtiktokaccountIdstringuuidID of an existing connected account to reconnect. Omit for a new connection.
Response 200
OAuth authorization URL Fields below are inside data.
auth_urlstringrequiredRedirect the user to this URL to authorize the connection
Errors 400, 402 use the standard error format.
curl "https://reelmirror.com/api/v1/publishing/accounts/connect?platform=value" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts/connect?platform=value`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/accounts/connect?platform=value",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"auth_url": "https://reelmirror.com/…"
}
}Get account slots
GET/v1/publishing/accounts/slots
publishing:readReturn the number of purchased, used, and available account slots. Requires publishing:read scope.
Response 200
Slot allocation Fields below are inside data.
purchasedintegerrequiredusedintegerrequiredavailableintegerrequiredsubscriptionIdstring | nullrequired
curl "https://reelmirror.com/api/v1/publishing/accounts/slots" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts/slots`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/accounts/slots",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"purchased": 1,
"used": 1,
"available": 1,
"subscriptionId": "string"
}
}Purchase account slots
POST/v1/publishing/accounts/slots
publishing:writeSet the total number of purchased account slots. Creates, updates, or cancels the Stripe subscription accordingly. Returns a checkoutUrl when no payment method is on file. Requires publishing:write scope.
Request body application/json
slotsintegerrequired≥ 0Total number of paid slots to set
returnUrlstringPath to redirect to after Stripe Checkout (used when no card is on file)
Response 200
Updated slot allocation, or a Stripe Checkout URL when no payment method is on file Fields below are inside data.
purchasedintegerrequiredsubscriptionIdstring | nullrequiredcheckoutUrlstring | nullStripe Checkout URL when payment collection is needed
Errors 400 use the standard error format.
curl -X POST "https://reelmirror.com/api/v1/publishing/accounts/slots" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slots": 1
}'const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts/slots`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"slots": 1
}),
});
const payload = await response.json();import os
import requests
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/accounts/slots",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"slots": 1
},
)
payload = response.json(){
"data": {
"purchased": 1,
"subscriptionId": "string",
"checkoutUrl": "string"
}
}List connected accounts
GET/v1/publishing/accounts
List all publishing accounts (Instagram, TikTok (alpha)) connected to your profile.
Query parameters
limitinteger≤ 100default 20offsetintegerdefault 0
Response 200
Connected publishing accounts
dataarray of object5 item attributes
idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstring`active` = token valid; `expired` = token expired, reconnect needed; `error` = connection error
One of
activeexpirederrorcreated_atstringdate-time
countintegerTotal number of connected accounts
curl "https://reelmirror.com/api/v1/publishing/accounts" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/accounts",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"platform": "instagram",
"username": "string",
"status": "active",
"created_at": "2026-09-30T17:00:00.000Z"
}
],
"count": 1
}Get account health
GET/v1/publishing/accounts/{id}
Check the health/status of a connected publishing account.
Path parameters
idstringrequired
Response 200
Account health Fields below are inside data.
Account health information
curl "https://reelmirror.com/api/v1/publishing/accounts/$ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts/${id}`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/accounts/{id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {}
}Disconnect account
DELETE/v1/publishing/accounts/{id}
Disconnect a publishing account from your profile.
Path parameters
idstringrequired
Response 200
Account disconnected Fields below are inside data.
idstringdeletedbooleanOne of
true
curl -X DELETE "https://reelmirror.com/api/v1/publishing/accounts/$ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/accounts/${id}`, {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"DELETE",
f"https://reelmirror.com/api/v1/publishing/accounts/{id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"deleted": true
}
}List outgoing posts
GET/v1/publishing/posts
List all outgoing posts for your account, including media items and delivery statuses.
Query parameters
limitinteger≤ 100default 20offsetintegerdefault 0
Response 200
List of outgoing posts
dataarray of object10 item attributes
idstringuuidpersona_idstring | nulluuidcaptionstring | nullstatusstringOne of
draftscheduledpublishingpublishedfailedcancelledscheduled_forstring | nulldate-timeplatform_settingsobject | nullitemsarray of object4 item attributes
idstringuuidgenerated_media_item_idstringuuidpositionintegeruse_voice_convertedboolean
deliveriesarray of objectOne delivery per target publishing account. Check all deliveries to determine overall publish outcome.
8 item attributes
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringTerminal states: `published` (success) and `failed` (permanent error). Poll until terminal.
One of
pendingpublishingpublishedfailedplatform_post_idstring | nullPlatform-assigned post ID after successful publish
error_messagestring | nullError detail when status is `failed`
published_atstring | nulldate-time
created_atstringdate-timeupdated_atstringdate-time
countintegerTotal number of outgoing posts
curl "https://reelmirror.com/api/v1/publishing/posts" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/posts",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"persona_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"caption": "string",
"status": "draft",
"scheduled_for": "2026-09-30T17:00:00.000Z",
"platform_settings": {},
"items": [
{
"id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"generated_media_item_id": "d3d94468-02a4-4c5e-b6f7-0a1b2c3d4e40",
"position": 1,
"use_voice_converted": true
}
],
"deliveries": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "pending",
"platform_post_id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"error_message": "string",
"published_at": "2026-09-30T17:00:00.000Z"
}
],
"created_at": "2026-09-30T17:00:00.000Z",
"updated_at": "2026-09-30T17:00:00.000Z"
}
],
"count": 1
}Create outgoing post
POST/v1/publishing/posts
Create a draft outgoing post with media items and target publishing accounts.
Request body application/json
persona_idstringuuidcaptionstringitemsarray of objectrequiredMedia items to include in the post
3 item attributes
generated_media_item_idstringrequireduuidpositionintegerrequireduse_voice_convertedboolean
target_account_idsarray of stringplatform_settingsobject
Response 201
Outgoing post created Fields below are inside data.
idstringuuidpersona_idstring | nulluuidcaptionstring | nullstatusstringOne of
draftscheduledpublishingpublishedfailedcancelledscheduled_forstring | nulldate-timeplatform_settingsobject | nullitemsarray of object4 item attributes
idstringuuidgenerated_media_item_idstringuuidpositionintegeruse_voice_convertedboolean
deliveriesarray of objectOne delivery per target publishing account. Check all deliveries to determine overall publish outcome.
8 item attributes
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringTerminal states: `published` (success) and `failed` (permanent error). Poll until terminal.
One of
pendingpublishingpublishedfailedplatform_post_idstring | nullPlatform-assigned post ID after successful publish
error_messagestring | nullError detail when status is `failed`
published_atstring | nulldate-time
created_atstringdate-timeupdated_atstringdate-time
curl -X POST "https://reelmirror.com/api/v1/publishing/posts" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"generated_media_item_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"position": 1
}
]
}'const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"items": [
{
"generated_media_item_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"position": 1
}
]
}),
});
const payload = await response.json();import os
import requests
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/posts",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"items": [
{
"generated_media_item_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"position": 1
}
]
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"persona_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"caption": "string",
"status": "draft",
"scheduled_for": "2026-09-30T17:00:00.000Z",
"platform_settings": {},
"items": [
{
"id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"generated_media_item_id": "d3d94468-02a4-4c5e-b6f7-0a1b2c3d4e40",
"position": 1,
"use_voice_converted": true
}
],
"deliveries": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "pending",
"platform_post_id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"error_message": "string",
"published_at": "2026-09-30T17:00:00.000Z"
}
],
"created_at": "2026-09-30T17:00:00.000Z",
"updated_at": "2026-09-30T17:00:00.000Z"
}
}Get outgoing post
GET/v1/publishing/posts/{id}
Path parameters
idstringrequired
Response 200
Outgoing post with items and deliveries Fields below are inside data.
idstringuuidpersona_idstring | nulluuidcaptionstring | nullstatusstringOne of
draftscheduledpublishingpublishedfailedcancelledscheduled_forstring | nulldate-timeplatform_settingsobject | nullitemsarray of object4 item attributes
idstringuuidgenerated_media_item_idstringuuidpositionintegeruse_voice_convertedboolean
deliveriesarray of objectOne delivery per target publishing account. Check all deliveries to determine overall publish outcome.
8 item attributes
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringTerminal states: `published` (success) and `failed` (permanent error). Poll until terminal.
One of
pendingpublishingpublishedfailedplatform_post_idstring | nullPlatform-assigned post ID after successful publish
error_messagestring | nullError detail when status is `failed`
published_atstring | nulldate-time
created_atstringdate-timeupdated_atstringdate-time
curl "https://reelmirror.com/api/v1/publishing/posts/$ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/publishing/posts/{id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"persona_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"caption": "string",
"status": "draft",
"scheduled_for": "2026-09-30T17:00:00.000Z",
"platform_settings": {},
"items": [
{
"id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"generated_media_item_id": "d3d94468-02a4-4c5e-b6f7-0a1b2c3d4e40",
"position": 1,
"use_voice_converted": true
}
],
"deliveries": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "pending",
"platform_post_id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"error_message": "string",
"published_at": "2026-09-30T17:00:00.000Z"
}
],
"created_at": "2026-09-30T17:00:00.000Z",
"updated_at": "2026-09-30T17:00:00.000Z"
}
}Update outgoing post
PATCH/v1/publishing/posts/{id}
Update caption, platform settings, or other mutable fields on a draft post.
Path parameters
idstringrequired
Request body application/json
captionstringplatform_settingsobject
Response 200
Post updated Fields below are inside data.
idstringuuidpersona_idstring | nulluuidcaptionstring | nullstatusstringOne of
draftscheduledpublishingpublishedfailedcancelledscheduled_forstring | nulldate-timeplatform_settingsobject | nullitemsarray of object4 item attributes
idstringuuidgenerated_media_item_idstringuuidpositionintegeruse_voice_convertedboolean
deliveriesarray of objectOne delivery per target publishing account. Check all deliveries to determine overall publish outcome.
8 item attributes
idstringuuidconnected_account_idstringuuidplatformstringOne of
instagramtiktokusernamestringstatusstringTerminal states: `published` (success) and `failed` (permanent error). Poll until terminal.
One of
pendingpublishingpublishedfailedplatform_post_idstring | nullPlatform-assigned post ID after successful publish
error_messagestring | nullError detail when status is `failed`
published_atstring | nulldate-time
created_atstringdate-timeupdated_atstringdate-time
curl -X PATCH "https://reelmirror.com/api/v1/publishing/posts/$ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}`, {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"PATCH",
f"https://reelmirror.com/api/v1/publishing/posts/{id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"persona_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"caption": "string",
"status": "draft",
"scheduled_for": "2026-09-30T17:00:00.000Z",
"platform_settings": {},
"items": [
{
"id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"generated_media_item_id": "d3d94468-02a4-4c5e-b6f7-0a1b2c3d4e40",
"position": 1,
"use_voice_converted": true
}
],
"deliveries": [
{
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"connected_account_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
"platform": "instagram",
"username": "string",
"status": "pending",
"platform_post_id": "45c48cce-2e2d-4fbd-8a1c-5e6f7a8b9c30",
"error_message": "string",
"published_at": "2026-09-30T17:00:00.000Z"
}
],
"created_at": "2026-09-30T17:00:00.000Z",
"updated_at": "2026-09-30T17:00:00.000Z"
}
}Delete outgoing post
DELETE/v1/publishing/posts/{id}
Path parameters
idstringrequired
Response 200
Post deleted Fields below are inside data.
idstringdeletedbooleanOne of
true
curl -X DELETE "https://reelmirror.com/api/v1/publishing/posts/$ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}`, {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"DELETE",
f"https://reelmirror.com/api/v1/publishing/posts/{id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"deleted": true
}
}Publish now
POST/v1/publishing/posts/{id}/publish
Immediately publish an outgoing post to all configured accounts.
Path parameters
idstringrequired
Response 200
Publishing started Fields below are inside data.
statusstring
curl -X POST "https://reelmirror.com/api/v1/publishing/posts/$ID/publish" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}/publish`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/posts/{id}/publish",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"status": "publishing"
}
}Schedule post
POST/v1/publishing/posts/{id}/schedule
Schedule an outgoing post for a future time.
Path parameters
idstringrequired
Request body application/json
scheduled_forstringrequireddate-timeISO 8601 datetime to publish at
timezonestringdefault "UTC"IANA timezone name (e.g. America/New_York)
Response 200
Post scheduled Fields below are inside data.
statusstring
curl -X POST "https://reelmirror.com/api/v1/publishing/posts/$ID/schedule" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scheduled_for": "2026-09-30T17:00:00.000Z"
}'const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}/schedule`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"scheduled_for": "2026-09-30T17:00:00.000Z"
}),
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/posts/{id}/schedule",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"scheduled_for": "2026-09-30T17:00:00.000Z"
},
)
payload = response.json(){
"data": {
"status": "scheduled"
}
}Retry publish
POST/v1/publishing/posts/{id}/retry
Retry publishing a post that previously failed.
Path parameters
idstringrequired
Response 200
Retry started Fields below are inside data.
statusstring
curl -X POST "https://reelmirror.com/api/v1/publishing/posts/$ID/retry" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}/retry`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/posts/{id}/retry",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"status": "publishing"
}
}Cancel scheduled post
POST/v1/publishing/posts/{id}/cancel
Cancel a scheduled outgoing post before it is published.
Path parameters
idstringrequired
Response 200
Post cancelled Fields below are inside data.
statusstring
curl -X POST "https://reelmirror.com/api/v1/publishing/posts/$ID/cancel" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const id = "<id>";
const response = await fetch(`https://reelmirror.com/api/v1/publishing/posts/${id}/cancel`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
id = "<id>"
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/posts/{id}/cancel",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"status": "cancelled"
}
}Generate caption
POST/v1/publishing/caption
AI-generate a publishing caption from one or more generated media items, matching the persona's writing style.
Request body application/json
generated_media_item_idsarray of stringrequiredpersona_idstringuuid
Response 200
Generated caption Fields below are inside data.
captionstring
curl -X POST "https://reelmirror.com/api/v1/publishing/caption" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"generated_media_item_ids": [
"8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
]
}'const response = await fetch(`https://reelmirror.com/api/v1/publishing/caption`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"generated_media_item_ids": [
"8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
]
}),
});
const payload = await response.json();import os
import requests
response = requests.request(
"POST",
f"https://reelmirror.com/api/v1/publishing/caption",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"generated_media_item_ids": [
"8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
]
},
)
payload = response.json(){
"data": {
"caption": "string"
}
}