Skip to content

API reference

Review API

Approve, reject, or compose generated posts

Beta

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

Approve generated post

POST/v1/generated-posts/{post_id}/approve

Bearer token

Approve a generated post pending review. Creates an outgoing post and immediately publishes it to the persona's connected accounts.

Requires connected accounts. The persona must have at least one publishing account connected via GET /v1/publishing/accounts/connect. If no accounts are connected, the request returns 400. Connect accounts once via the dashboard — this step requires a browser OAuth flow.

Path parameters

  • post_idstringrequireduuid

Response 200

Post approved and publishing started Fields below are inside data.

  • statusstring
  • outgoing_post_idstringuuid

Errors 400, 404, 500 use the standard error format.

curl -X POST "https://reelmirror.com/api/v1/generated-posts/$POST_ID/approve" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "status": "publishing",
    "outgoing_post_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
  }
}

Reject generated post

POST/v1/generated-posts/{post_id}/reject

Bearer token

Reject a generated post pending review. Sets review_status to rejected.

Path parameters

  • post_idstringrequireduuid

Response 200

Post rejected Fields below are inside data.

  • statusstring

Errors 400, 404 use the standard error format.

curl -X POST "https://reelmirror.com/api/v1/generated-posts/$POST_ID/reject" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "status": "rejected"
  }
}

Send to compose

POST/v1/generated-posts/{post_id}/send-to-compose

Bearer token

Approve a generated post and create a draft outgoing post for manual editing in the composer, without publishing immediately.

Path parameters

  • post_idstringrequireduuid

Response 200

Draft outgoing post created Fields below are inside data.

  • outgoing_post_idstringuuid

Errors 400, 404 use the standard error format.

curl -X POST "https://reelmirror.com/api/v1/generated-posts/$POST_ID/send-to-compose" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "outgoing_post_id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10"
  }
}

Reject media item

POST/v1/generated-media-items/{item_id}/reject

Bearer token

Reject a single generated media item within a post pending review. If all items in the post are rejected, the parent post is auto-rejected.

Path parameters

  • item_idstringrequireduuid

Response 200

Media item rejected Fields below are inside data.

  • statusstring
  • post_auto_rejectedboolean

    True if all items were rejected and the parent post was auto-rejected

Errors 400, 404 use the standard error format.

curl -X POST "https://reelmirror.com/api/v1/generated-media-items/$ITEM_ID/reject" \
  -H "Authorization: Bearer $REELMIRROR_API_KEY"
Response 200 (example)
{
  "data": {
    "status": "rejected",
    "post_auto_rejected": true
  }
}