Skip to content

API reference

Sources API

Track social accounts

Beta

Base URL
https://reelmirror.com/api
Authentication
Authorization: Bearer rm_…
Contract
openapi.json

List sources

GET/v1/personas/{persona_id}/sources

Bearer token

Path parameters

  • persona_idstringrequired

Query parameters

  • limitinteger≤ 100default 20

    Maximum number of results to return

  • offsetintegerdefault 0

    Number of results to skip

Response 200

List of sources

  • dataarray of object
    9 item attributes
    • idstringuuid
    • creator_idstringuuid
    • platformstring

      One ofinstagramtiktok

    • handlestring

      Social account handle (e.g. `natgeo`)

    • automation_modestringdefault "sync_only"

      Automation level: `sync_only` = sync content only, `auto_clone` = sync + auto-generate clones, `auto_publish` = sync + generate + publish automatically

      One ofsync_onlyauto_cloneauto_publish

    • statusstring

      One ofpendingsyncederror

    • last_synced_atstring | nulldate-time
    • content_countinteger
    • created_atstringdate-time
  • countinteger
curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": [
    {
      "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
      "creator_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
      "platform": "instagram",
      "handle": "string",
      "automation_mode": "sync_only",
      "status": "pending",
      "last_synced_at": "2026-09-30T17:00:00.000Z",
      "content_count": 1,
      "created_at": "2026-09-30T17:00:00.000Z"
    }
  ],
  "count": 1
}

Add source

POST/v1/personas/{persona_id}/sources

Bearer token

Path parameters

  • persona_idstringrequired

Request body application/json

  • platformstringrequired

    One ofinstagramtiktok

  • handlestringrequired

    Social account handle (e.g. `natgeo`). Leading `@` is stripped automatically.

  • automation_modestringdefault "sync_only"

    Automation level for this source. Defaults to `sync_only`.

    One ofsync_onlyauto_cloneauto_publish

Response 201

Source added Fields below are inside data.

  • idstringuuid
  • creator_idstringuuid
  • platformstring

    One ofinstagramtiktok

  • handlestring

    Social account handle (e.g. `natgeo`)

  • automation_modestringdefault "sync_only"

    Automation level: `sync_only` = sync content only, `auto_clone` = sync + auto-generate clones, `auto_publish` = sync + generate + publish automatically

    One ofsync_onlyauto_cloneauto_publish

  • statusstring

    One ofpendingsyncederror

  • last_synced_atstring | nulldate-time
  • content_countinteger
  • created_atstringdate-time
curl -X POST "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "platform": "instagram",
  "handle": "string"
}'
Response 201 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "creator_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
    "platform": "instagram",
    "handle": "string",
    "automation_mode": "sync_only",
    "status": "pending",
    "last_synced_at": "2026-09-30T17:00:00.000Z",
    "content_count": 1,
    "created_at": "2026-09-30T17:00:00.000Z"
  }
}

Get source

GET/v1/personas/{persona_id}/sources/{source_id}

Scope sources:read

Get a single tracked source by ID. Requires sources:read scope.

Path parameters

  • persona_idstringrequired
  • source_idstringrequired

Response 200

Source details Fields below are inside data.

  • idstringuuid
  • creator_idstringuuid
  • platformstring

    One ofinstagramtiktok

  • handlestring

    Social account handle (e.g. `natgeo`)

  • automation_modestringdefault "sync_only"

    Automation level: `sync_only` = sync content only, `auto_clone` = sync + auto-generate clones, `auto_publish` = sync + generate + publish automatically

    One ofsync_onlyauto_cloneauto_publish

  • statusstring

    One ofpendingsyncederror

  • last_synced_atstring | nulldate-time
  • content_countinteger
  • created_atstringdate-time

Errors 404 use the standard error format.

curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources/$SOURCE_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "creator_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
    "platform": "instagram",
    "handle": "string",
    "automation_mode": "sync_only",
    "status": "pending",
    "last_synced_at": "2026-09-30T17:00:00.000Z",
    "content_count": 1,
    "created_at": "2026-09-30T17:00:00.000Z"
  }
}

Update source

PATCH/v1/personas/{persona_id}/sources/{source_id}

Scope sources:write

Update source settings such as automation mode. Requires sources:write scope.

Path parameters

  • persona_idstringrequired
  • source_idstringrequired

Request body application/json

  • automation_modestring

    Automation level for this source

    One ofsync_onlyauto_cloneauto_publish

Response 200

Source updated Fields below are inside data.

  • idstringuuid
  • creator_idstringuuid
  • platformstring

    One ofinstagramtiktok

  • handlestring

    Social account handle (e.g. `natgeo`)

  • automation_modestringdefault "sync_only"

    Automation level: `sync_only` = sync content only, `auto_clone` = sync + auto-generate clones, `auto_publish` = sync + generate + publish automatically

    One ofsync_onlyauto_cloneauto_publish

  • statusstring

    One ofpendingsyncederror

  • last_synced_atstring | nulldate-time
  • content_countinteger
  • created_atstringdate-time
curl -X PATCH "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources/$SOURCE_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "creator_id": "c9f0f895-fb98-4b91-9e3f-1d2a6b7c8d20",
    "platform": "instagram",
    "handle": "string",
    "automation_mode": "sync_only",
    "status": "pending",
    "last_synced_at": "2026-09-30T17:00:00.000Z",
    "content_count": 1,
    "created_at": "2026-09-30T17:00:00.000Z"
  }
}

Remove source

DELETE/v1/personas/{persona_id}/sources/{source_id}

Bearer token

Path parameters

  • persona_idstringrequired
  • source_idstringrequired

Response 200

Source removed Fields below are inside data.

  • idstring
  • deletedboolean

    One oftrue

curl -X DELETE "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources/$SOURCE_ID" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
    "deleted": true
  }
}