API reference
Sources API
Track social accounts
BetaUpdated
- Base URL
- https://reelmirror.com/api
- Authentication
- Authorization: Bearer rm_…
- Contract
- openapi.json
List sources
GET/v1/personas/{persona_id}/sources
Path parameters
persona_idstringrequired
Query parameters
limitinteger≤ 100default 20Maximum number of results to return
offsetintegerdefault 0Number of results to skip
Response 200
List of sources
dataarray of object9 item attributes
idstringuuidcreator_idstringuuidplatformstringOne of
instagramtiktokhandlestringSocial 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 of
sync_onlyauto_cloneauto_publishstatusstringOne of
pendingsyncederrorlast_synced_atstring | nulldate-timecontent_countintegercreated_atstringdate-time
countinteger
curl "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const persona_id = "<persona_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sources`, {
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}/sources",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"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
Path parameters
persona_idstringrequired
Request body application/json
platformstringrequiredOne of
instagramtiktokhandlestringrequiredSocial account handle (e.g. `natgeo`). Leading `@` is stripped automatically.
automation_modestringdefault "sync_only"Automation level for this source. Defaults to `sync_only`.
One of
sync_onlyauto_cloneauto_publish
Response 201
Source added Fields below are inside data.
idstringuuidcreator_idstringuuidplatformstringOne of
instagramtiktokhandlestringSocial 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 of
sync_onlyauto_cloneauto_publishstatusstringOne of
pendingsyncederrorlast_synced_atstring | nulldate-timecontent_countintegercreated_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"
}'const persona_id = "<persona_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sources`, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"platform": "instagram",
"handle": "string"
}),
});
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}/sources",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"platform": "instagram",
"handle": "string"
},
)
payload = response.json(){
"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}
sources:readGet a single tracked source by ID. Requires sources:read scope.
Path parameters
persona_idstringrequiredsource_idstringrequired
Response 200
Source details Fields below are inside data.
idstringuuidcreator_idstringuuidplatformstringOne of
instagramtiktokhandlestringSocial 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 of
sync_onlyauto_cloneauto_publishstatusstringOne of
pendingsyncederrorlast_synced_atstring | nulldate-timecontent_countintegercreated_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"const persona_id = "<persona_id>";
const source_id = "<source_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sources/${source_id}`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
persona_id = "<persona_id>"
source_id = "<source_id>"
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/personas/{persona_id}/sources/{source_id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"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}
sources:writeUpdate source settings such as automation mode. Requires sources:write scope.
Path parameters
persona_idstringrequiredsource_idstringrequired
Request body application/json
automation_modestringAutomation level for this source
One of
sync_onlyauto_cloneauto_publish
Response 200
Source updated Fields below are inside data.
idstringuuidcreator_idstringuuidplatformstringOne of
instagramtiktokhandlestringSocial 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 of
sync_onlyauto_cloneauto_publishstatusstringOne of
pendingsyncederrorlast_synced_atstring | nulldate-timecontent_countintegercreated_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 '{}'const persona_id = "<persona_id>";
const source_id = "<source_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sources/${source_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
persona_id = "<persona_id>"
source_id = "<source_id>"
response = requests.request(
"PATCH",
f"https://reelmirror.com/api/v1/personas/{persona_id}/sources/{source_id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={},
)
payload = response.json(){
"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}
Path parameters
persona_idstringrequiredsource_idstringrequired
Response 200
Source removed Fields below are inside data.
idstringdeletedbooleanOne of
true
curl -X DELETE "https://reelmirror.com/api/v1/personas/$PERSONA_ID/sources/$SOURCE_ID" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const persona_id = "<persona_id>";
const source_id = "<source_id>";
const response = await fetch(`https://reelmirror.com/api/v1/personas/${persona_id}/sources/${source_id}`, {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
persona_id = "<persona_id>"
source_id = "<source_id>"
response = requests.request(
"DELETE",
f"https://reelmirror.com/api/v1/personas/{persona_id}/sources/{source_id}",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json(){
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"deleted": true
}
}