---
title: "Sync API"
description: "Sync content from sources"
canonical_url: https://reelmirror.com/docs/api/sync
markdown_url: https://reelmirror.com/docs/api/sync.md
last_updated: 2026-11-09
---
# ReelMirror API reference: Sync

> Sync content from sources

The ReelMirror API is in beta. Base URL: `https://reelmirror.com/api` (every path starts with `/v1`). Authenticate every request with `Authorization: Bearer rm_...`. Machine-readable contract: https://reelmirror.com/docs/openapi.json.

## Endpoints

- [Trigger sync](https://reelmirror.com/docs/api/sync#trigger-sync): `POST /v1/personas/{persona_id}/sync`
- [Get sync job status](https://reelmirror.com/docs/api/sync#get-sync-job): `GET /v1/sync-jobs/{job_id}`

### Trigger sync

`POST /v1/personas/{persona_id}/sync`

Authentication: bearer token · Operation ID: `triggerSync`

Sync all sources for a persona. Debits balance for estimated API requests. Returns job IDs for status polling.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `persona_id` | string | Yes |  |

#### Response 202

Sync started

- `status` (string; optional)
- `persona_id` (string; optional)
- `sources_count` (integer; optional)
- `job_ids` (array of string; optional)
- `estimated_cost_cents` (integer; optional)

#### Example request

```bash
curl -X POST "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sync" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

### Get sync job status

`GET /v1/sync-jobs/{job_id}`

Authentication: bearer token · Operation ID: `getSyncJob`

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `job_id` | string | Yes |  |

#### Response 200

Sync job status

Fields inside `data`:

- `id` (string, uuid; optional)
- `status` (string, one of `pending`, `running`, `completed`, `failed`, `skipped`; optional)
- `creator` (object; optional)
  - `handle` (string; optional)
  - `platform` (string; optional)
- `estimated_cost_cents` (integer; optional)
- `error_message` (string | null; optional): Error detail when status is `failed`
- `completed_at` (string | null, date-time; optional): When the job reached `completed` or `skipped` status
- `failed_at` (string | null, date-time; optional): When the job reached `failed` status
- `created_at` (string, date-time; optional)
- `updated_at` (string, date-time; optional)

#### Example request

```bash
curl "https://reelmirror.com/api/v1/sync-jobs/$JOB_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
```

