Skip to content

API reference

Sync API

Sync content from sources

Beta

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

  • statusstring
  • persona_idstring
  • sources_countinteger
  • job_idsarray of string
  • estimated_cost_centsinteger
curl -X POST "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sync" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
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.

  • idstringuuid
  • statusstring

    One ofpendingrunningcompletedfailedskipped

  • creatorobject
    2 child attributes
    • handlestring
    • platformstring
  • estimated_cost_centsinteger
  • error_messagestring | null

    Error detail when status is `failed`

  • completed_atstring | nulldate-time

    When the job reached `completed` or `skipped` status

  • failed_atstring | nulldate-time

    When the job reached `failed` status

  • created_atstringdate-time
  • updated_atstringdate-time
curl "https://reelmirror.com/api/v1/sync-jobs/$JOB_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
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"
  }
}