API reference
Sync API
Sync content from sources
BetaUpdated
- Base URL
- https://reelmirror.com/api
- Authentication
- Authorization: Bearer rm_…
- Contract
- openapi.json
Trigger sync
POST/v1/personas/{persona_id}/sync
Bearer token
Sync all sources for a persona. Debits balance for estimated API requests. Returns job IDs for status polling.
Path parameters
persona_idstringrequired
Response 202
Sync started
statusstringpersona_idstringsources_countintegerjob_idsarray of stringestimated_cost_centsinteger
curl -X POST "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sync" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const persona_id = "<persona_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sync`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
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}/sync",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json()Response 202 (example)
{
"status": "string",
"persona_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"sources_count": 1,
"job_ids": [
"c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20"
],
"estimated_cost_cents": 1
}Get sync job status
GET/v1/sync-jobs/{job_id}
Bearer token
Path parameters
job_idstringrequired
Response 200
Sync job status Fields below are inside data.
idstringuuidstatusstringOne of
pendingrunningcompletedfailedskippedcreatorobject2 child attributes
handlestringplatformstring
estimated_cost_centsintegererror_messagestring | nullError detail when status is `failed`
completed_atstring | nulldate-timeWhen the job reached `completed` or `skipped` status
failed_atstring | nulldate-timeWhen the job reached `failed` status
created_atstringdate-timeupdated_atstringdate-time
curl "https://reelmirror.com/api/v1/sync-jobs/$JOB_ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const job_id = "<job_id>";
const response = await fetch(`https://reelmirror.com/api/v1/sync-jobs/${job_id}`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
job_id = "<job_id>"
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/sync-jobs/{job_id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json()Response 200 (example)
{
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"status": "pending",
"creator": {
"handle": "string",
"platform": "string"
},
"estimated_cost_cents": 1,
"error_message": "string",
"completed_at": "2026-09-30T17:00:00.000Z",
"failed_at": "2026-09-30T17:00:00.000Z",
"created_at": "2026-09-30T17:00:00.000Z",
"updated_at": "2026-09-30T17:00:00.000Z"
}
}