Start free
Docs · Posts

API reference

Posts: Review, approval, previews and links

Read as Markdown

On this page
  1. List my approval requests
  2. Find posts a caption can link to
  3. Get a post's approval request
  4. Withdraw a post's approval request
  5. Approve a post in review
  6. Check a post's links before scheduling
  7. Create a preview link
  8. Revoke a preview link
  9. Send a post in review back for changes
  10. Send a post to review

Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits: conventions. OpenAPI document: openapi.json.

All 21 Posts operations

List my approval requests

GET /organizations/{organizationId}/workspaces/{workspaceId}/approval-requests
Beta Reads only posts.approvalRequests.list
Scope
posts:read
Role permission
Any member who can see it
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Lists the approval requests this integration made in the workspace, newest first, pending ones by default (status for another one). Paginated with limit (1–100, default 25) and cursor.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
limit optional query integer from 1 to 100
cursor optional query string at most 512 characters
status optional query string Only requests in this status. Default: pending. One of pending, approved, rejected, cancelled, expired.

Responses

200 OK

object · PostApprovalListResponse

  • dataarray of objectrequired
    13fields in each item
    • idstring (uuid)required
    • postIdstring (uuid)required
    • workspaceIdstring (uuid)required
    • postTitlestringrequired
    • actionstringrequired
      One of: schedule, publish_now
    • scheduledAtstring (date-time)requirednullable
    • statusstringrequired
      One of (may gain values): pending, approved, rejected, cancelled, expired
    • requestedByobject · PostApprovalRequesterrequired
      5fields
      • userobject · PostApprovalPersonrequired
        2fields
        • idstringrequired
          1–128 characters
        • namestringrequired
          The member's name; "A member" for an integration that does not hold members:read.
      • kindstringrequirednullable
        One of (may gain values): personal_token, app, mcp
      • namestringrequirednullable
      • clientIdstringoptionalnullable
        The app's or assistant's OAuth client id; null for a personal token or once the connection is gone.
      • logoUrlstringoptionalnullable
        A registered app's logo URL; null for assistants, personal tokens, or once the connection is gone.
    • createdAtstring (date-time)required
    • decidedAtstring (date-time)requirednullable
    • decidedByobject · PostApprovalPersonrequirednullable
      2fields
      • idstringrequired
        1–128 characters
      • namestringrequired
        The member's name; "A member" for an integration that does not hold members:read.
    • notestringrequirednullable
    • urlstringrequired
      The post's page in the Beplan web app (for a signed-in member). Not an API URL.
  • pageobjectrequired
    2fields
    • nextCursorstringrequirednullable
    • hasMorebooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
9 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

What still waits for a person

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/approval-requests?status=pending" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/approval-requests?status=pending", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/approval-requests?status=pending",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "postId": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
      "workspaceId": "5d2e8f14-3a6b-4c7d-9e0f-1a2b3c4d5e60",
      "postTitle": "Spring drop teaser",
      "action": "schedule",
      "scheduledAt": "2026-12-03T14:00:00.000Z",
      "status": "pending",
      "requestedBy": {
        "user": {
          "id": "user_2x8Kq",
          "name": "Alex Martin"
        },
        "kind": "personal_token",
        "name": "API token",
        "clientId": null,
        "logoUrl": null
      },
      "createdAt": "2026-11-19T10:15:00.000Z",
      "decidedAt": null,
      "decidedBy": null,
      "note": null,
      "url": "https://app.beplan.io/…"
    }
  ],
  "page": {
    "nextCursor": null,
    "hasMore": false
  }
}

Find posts a caption can link to

GET /organizations/{organizationId}/workspaces/{workspaceId}/posts/link-targets
Beta Reads only posts.linkTargets.list
Scope
posts:write
Role permission
Any of: Create posts (post:create), Edit posts (post:update)
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Finds posts to link to from a caption. Without ids: the workspace's scheduled and published posts whose title contains q, newest first, at most 30 (no pagination). With ids (comma separated): those posts whatever their status (unknown ids are left out). Each lists its publications (one per active account: socialAccountId, platform, state, and url once published). Link to one by writing {{post:<postId>:<socialAccountId>}} in a caption (posts.update); use this as the post id for another account of the post being written. Send that post's id as forPostId: it is left out, and linksBack: true marks posts that already link to it (linking back would be a cycle, refused at scheduling).

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
q optional query string Text the post title contains. at most 200 characters
ids optional query one of
forPostId optional query string (uuid) The post being written: left out of the results, and sets each result's linksBack.

Responses

200 OK

object · ListPostLinkTargetsResponse

  • dataarray of objectrequired
    7fields in each item
    • idstringrequired
    • titlestringrequired
    • statusstringrequired
      One of (may gain values): idea, in_progress, in_review, ready, scheduled, in_process, posted, failed
    • scheduledAtstring (date-time)requirednullable
    • mediaobjectrequirednullable
      2fields
      • typestringrequired
        One of (may gain values): image, video, gif
      • thumbnailUrlstringrequirednullable
        A signed URL valid for one hour; null while the media is processing.
    • publicationsarray of objectrequired
      5fields in each item
      • socialAccountIdstringrequired
        The account: the second id of a {{post:<postId>:<socialAccountId>}} token.
      • platformstringrequired
      • usernamestringrequired
        The account's handle, to tell two accounts of a platform apart.
      • statestringrequired
        pending: not out yet; published: out on the platform; failed: publishing there failed.
        One of: pending, published, failed
      • urlstringrequirednullable
        Its public URL once published, when the platform gave one; null otherwise.
    • linksBackbooleanrequired
      With forPostId: this post already links to that one (directly or through others), so linking back would close a loop.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
9 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Published posts titled like the launch video

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/link-targets?q=launch" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/link-targets?q=launch", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/link-targets?q=launch",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": [
    {
      "id": "3a4b5c6d-7e8f-4a9b-8c0d-1e2f3a4b5c6d",
      "title": "Launch video",
      "status": "posted",
      "scheduledAt": "2026-11-18T16:00:00.000Z",
      "media": null,
      "publications": [
        {
          "socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
          "platform": "youtube",
          "username": "studio.example",
          "state": "published",
          "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
        }
      ],
      "linksBack": false
    }
  ]
}

Get a post's approval request

GET /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approval
Beta Reads only posts.approval.get
Scope
posts:read
Role permission
Any member who can see it
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Returns the post's latest approval request, whatever its status: pending (waiting for a person), approved (the post was scheduled or published as asked, or at the time the approver picked), rejected (with the approver's note), cancelled (withdrawn, or replaced by a newer request) or expired (30 days without a decision, or a person scheduled the post themselves). 404 POST_APPROVAL_NOT_FOUND when it never had one.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Responses

200 OK

object · PostApprovalResponse

  • dataobject · PostApprovalrequired
    13fields
    • idstring (uuid)required
    • postIdstring (uuid)required
    • workspaceIdstring (uuid)required
    • postTitlestringrequired
    • actionstringrequired
      One of: schedule, publish_now
    • scheduledAtstring (date-time)requirednullable
    • statusstringrequired
      One of (may gain values): pending, approved, rejected, cancelled, expired
    • requestedByobject · PostApprovalRequesterrequired
      5fields
      • userobject · PostApprovalPersonrequired
        2fields
        • idstringrequired
          1–128 characters
        • namestringrequired
          The member's name; "A member" for an integration that does not hold members:read.
      • kindstringrequirednullable
        One of (may gain values): personal_token, app, mcp
      • namestringrequirednullable
      • clientIdstringoptionalnullable
        The app's or assistant's OAuth client id; null for a personal token or once the connection is gone.
      • logoUrlstringoptionalnullable
        A registered app's logo URL; null for assistants, personal tokens, or once the connection is gone.
    • createdAtstring (date-time)required
    • decidedAtstring (date-time)requirednullable
    • decidedByobject · PostApprovalPersonrequirednullable
      2fields
      • idstringrequired
        1–128 characters
      • namestringrequired
        The member's name; "A member" for an integration that does not hold members:read.
    • notestringrequirednullable
    • urlstringrequired
      The post's page in the Beplan web app (for a signed-in member). Not an API URL.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_APPROVAL_NOT_FOUND This post has no approval request waiting.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A request waiting for a person

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "postId": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
    "workspaceId": "5d2e8f14-3a6b-4c7d-9e0f-1a2b3c4d5e60",
    "postTitle": "Spring drop teaser",
    "action": "schedule",
    "scheduledAt": "2026-12-03T14:00:00.000Z",
    "status": "pending",
    "requestedBy": {
      "user": {
        "id": "user_2x8Kq",
        "name": "Alex Martin"
      },
      "kind": "personal_token",
      "name": "API token",
      "clientId": null,
      "logoUrl": null
    },
    "createdAt": "2026-11-19T10:15:00.000Z",
    "decidedAt": null,
    "decidedBy": null,
    "note": null,
    "url": "https://app.beplan.io/…"
  }
}

Withdraw a post's approval request

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approval
Beta Changes data posts.approval.cancel
Scope
posts:publish
Role permission
Any of: Schedule posts (post:schedule), Publish posts (post:publish)
Effect
Changes data in Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Withdraws the post's pending approval request (it becomes cancelled); the post stays unscheduled. Only the integration that asked can withdraw it (403 POST_APPROVAL_NOT_REQUESTER otherwise); approving and rejecting are for people in Beplan only. No body. Answers the request.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Responses

200 OK

object · CancelPostApprovalResponse

  • dataobject · PostApprovalrequired
    13fields
    • idstring (uuid)required
    • postIdstring (uuid)required
    • workspaceIdstring (uuid)required
    • postTitlestringrequired
    • actionstringrequired
      One of: schedule, publish_now
    • scheduledAtstring (date-time)requirednullable
    • statusstringrequired
      One of (may gain values): pending, approved, rejected, cancelled, expired
    • requestedByobject · PostApprovalRequesterrequired
      5fields
      • userobject · PostApprovalPersonrequired
        2fields
        • idstringrequired
          1–128 characters
        • namestringrequired
          The member's name; "A member" for an integration that does not hold members:read.
      • kindstringrequirednullable
        One of (may gain values): personal_token, app, mcp
      • namestringrequirednullable
      • clientIdstringoptionalnullable
        The app's or assistant's OAuth client id; null for a personal token or once the connection is gone.
      • logoUrlstringoptionalnullable
        A registered app's logo URL; null for assistants, personal tokens, or once the connection is gone.
    • createdAtstring (date-time)required
    • decidedAtstring (date-time)requirednullable
    • decidedByobject · PostApprovalPersonrequirednullable
      2fields
      • idstringrequired
        1–128 characters
      • namestringrequired
        The member's name; "A member" for an integration that does not hold members:read.
    • notestringrequirednullable
    • urlstringrequired
      The post's page in the Beplan web app (for a signed-in member). Not an API URL.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
403 MISSING_PERMISSION You don't have permission to do this.
403 POST_APPROVAL_NOT_REQUESTER Only the integration that asked for this approval can withdraw it.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_APPROVAL_NOT_FOUND This post has no approval request waiting.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Withdraw a request

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approval",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "postId": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
    "workspaceId": "5d2e8f14-3a6b-4c7d-9e0f-1a2b3c4d5e60",
    "postTitle": "Spring drop teaser",
    "action": "schedule",
    "scheduledAt": "2026-12-03T14:00:00.000Z",
    "status": "cancelled",
    "requestedBy": {
      "user": {
        "id": "user_2x8Kq",
        "name": "Alex Martin"
      },
      "kind": "personal_token",
      "name": "API token",
      "clientId": null,
      "logoUrl": null
    },
    "createdAt": "2026-11-19T10:15:00.000Z",
    "decidedAt": "2026-11-19T11:02:00.000Z",
    "decidedBy": null,
    "note": null,
    "url": "https://app.beplan.io/…"
  }
}

Approve a post in review

POST /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approve
Beta Acts outside Beplan posts.review.approve
Scope
posts:review
Role permission
Review posts (post:review)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Approves a post that is In review (team review, Team Collaboration add-on): it is scheduled at its time when that time is still ahead (with every scheduling check), otherwise it moves to Ready. No body. Answers 200 with the post; when the organization requires a person's approval for posts integrations schedule, 202 with the post and approval instead (see POST …/schedule).

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Responses

200 OK

object · EditorPostResponse

  • dataobject · EditorPostrequired
    14fields
    • idstringrequired
    • titlestringrequired
    • captionstringrequired
    • hashtagsstringrequired
    • formatIdsarray of stringrequired
    • ignoreOpenFormatSlotsbooleanrequired
    • statusstringrequired
      Where the post stands: idea, in_progress, in_review (drafts), ready (finished, in the ready queue, not scheduled), scheduled (waits for scheduledAt), in_process (being published), posted (published), failed (failed on at least one account: see platforms[].publishState). A post waiting for a person's approval keeps its status and has pendingApproval.
      One of (may gain values): idea, in_progress, in_review, ready, scheduled, in_process, posted, failed
    • scheduledAtstring (date-time)requirednullable
      When it goes out (or went out), ISO 8601 UTC.
    • mediaarray of objectrequired
      4fields in each item
      • mediaIdstringrequired
      • altTextstringrequirednullable
      • itemobject · MediaItemrequired
        21fields
        • idstringrequired
        • folderIdstringrequirednullable
          The folder holding the media; null at the root of the library.
        • filenamestringrequired
        • altTextstringrequirednullable
        • mediaTypestringrequired
          One of: image, video, gif, audio
        • mimeTypestringrequirednullable
        • sizenumberrequirednullable
          File size in bytes, when known.
        • widthnumberrequirednullable
          Width in pixels, when known (images at upload, videos once processed); null for audio.
        • heightnumberrequirednullable
          Height in pixels, when known (images at upload, videos once processed); null for audio.
        • aspectRationumberrequired
          Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
        • durationnumberrequirednullable
          Length in seconds, for videos, GIFs and audio once known (null for images).
        • waveformarray of numberrequirednullable
          Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
        • createdAtstring (date-time)required
        • formatsarray of objectrequired
          3fields in each item
          • idstringrequired
          • namestringrequired
          • colorstringrequired
        • usagestringrequired
          Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
          One of: unused, used, published
        • processingobjectrequired
          Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
          2fields
          • statestringrequired
            One of: processing, ready, failed
          • errorstringrequirednullable
        • previewUrlstringrequirednullable
          Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
        • mediaUrlstringrequired
          Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
        • playbackobjectrequirednullable
          HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
          1field
          • manifestUrlstringrequired
        • publishCopyobjectrequirednullable
          The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
          4fields
          • mimeTypestringrequired
          • widthnumberrequired
          • heightnumberrequired
          • sizenumberrequired
        • transcriptMatchobject · MediaTranscriptMatchoptional
          3fields
          • snippetstringrequired
          • startMsnumberrequired
          • sourcestringoptional
            One of: speech, scene
      • cropobject · MediaCropoptionalnullable
        The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
        7fields
        • versionnumberrequired
          Always 1
        • unitstringrequired
          Always percent
        • xnumberrequired
          from 0 to 1
        • ynumberrequired
          from 0 to 1
        • widthnumberrequired
          above 0 to 1
        • heightnumberrequired
          above 0 to 1
        • aspectRationumberoptional
          greater than 0
    • platformsarray of objectrequired
      12fields in each item
      • socialAccountIdstringrequired
      • platformstring · SocialPlatformrequired
        One of (may gain values): x, instagram, facebook, tiktok, linkedin, threads, pinterest, youtube, discord, bluesky
      • isActivebooleanrequired
      • typestringrequired
        One of: post, story
      • customCaptionstringrequirednullable
      • additionalParamsmap of anyrequired
        The account's platform options, keyed <platform>_<option>; send only the keys you want to set, the others are kept. Common keys: tiktok_privacyLevel (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY; required before a TikTok post can be scheduled), tiktok_allowComments, tiktok_allowDuet, tiktok_allowStitch, tiktok_isAigc, tiktok_brandOrganic, tiktok_brandContent (booleans), tiktok_photoTitle, tiktok_firstComment; youtube_title (at most 100 characters), youtube_privacyStatus (public, unlisted, private), youtube_notifySubscribers, youtube_isMadeForKids, youtube_containsSyntheticMedia (booleans), youtube_categoryId, youtube_tags (strings); instagram_shareToFeed, instagram_trialReels (booleans), instagram_collaborators (up to 3 handles); linkedin_visibility (PUBLIC, LOGGED_IN, CONNECTIONS); pinterest_title, pinterest_link, pinterest_boardId; facebook_link; threads_link, threads_replyControl; x_replySettings (all, followers, verified, subscribers, mentionedUsers); bluesky_langs (up to 3 language codes); discord_channelId; <platform>_hashtags (a hashtag line for that platform only). A wrong value for a known key is refused with 400 VALIDATION_FAILED.
      • mediaarray of objectrequirednullable
        4fields in each item
        • mediaIdstringrequired
        • altTextstringrequirednullable
        • itemobject · MediaItemrequired
          21fields
          • idstringrequired
          • folderIdstringrequirednullable
            The folder holding the media; null at the root of the library.
          • filenamestringrequired
          • altTextstringrequirednullable
          • mediaTypestringrequired
            One of: image, video, gif, audio
          • mimeTypestringrequirednullable
          • sizenumberrequirednullable
            File size in bytes, when known.
          • widthnumberrequirednullable
            Width in pixels, when known (images at upload, videos once processed); null for audio.
          • heightnumberrequirednullable
            Height in pixels, when known (images at upload, videos once processed); null for audio.
          • aspectRationumberrequired
            Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
          • durationnumberrequirednullable
            Length in seconds, for videos, GIFs and audio once known (null for images).
          • waveformarray of numberrequirednullable
            Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
          • createdAtstring (date-time)required
          • formatsarray of objectrequired
            3fields in each item
            • idstringrequired
            • namestringrequired
            • colorstringrequired
          • usagestringrequired
            Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
            One of: unused, used, published
          • processingobjectrequired
            Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
            2fields
            • statestringrequired
              One of: processing, ready, failed
            • errorstringrequirednullable
          • previewUrlstringrequirednullable
            Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
          • mediaUrlstringrequired
            Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
          • playbackobjectrequirednullable
            HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
            1field
            • manifestUrlstringrequired
          • publishCopyobjectrequirednullable
            The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
            4fields
            • mimeTypestringrequired
            • widthnumberrequired
            • heightnumberrequired
            • sizenumberrequired
          • transcriptMatchobject · MediaTranscriptMatchoptional
            3fields
            • snippetstringrequired
            • startMsnumberrequired
            • sourcestringoptional
              One of: speech, scene
        • cropobject · MediaCropoptionalnullable
          The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
          7fields
          • versionnumberrequired
            Always 1
          • unitstringrequired
            Always percent
          • xnumberrequired
            from 0 to 1
          • ynumberrequired
            from 0 to 1
          • widthnumberrequired
            above 0 to 1
          • heightnumberrequired
            above 0 to 1
          • aspectRationumberoptional
            greater than 0
      • threadarray of objectrequired
        3fields in each item
        • idstringoptional
        • captionstringrequired
        • mediaarray of objectrequired
          4fields in each item
          • mediaIdstringrequired
          • altTextstringrequirednullable
          • itemobject · MediaItemrequired
            21fields
            • idstringrequired
            • folderIdstringrequirednullable
              The folder holding the media; null at the root of the library.
            • filenamestringrequired
            • altTextstringrequirednullable
            • mediaTypestringrequired
              One of: image, video, gif, audio
            • mimeTypestringrequirednullable
            • sizenumberrequirednullable
              File size in bytes, when known.
            • widthnumberrequirednullable
              Width in pixels, when known (images at upload, videos once processed); null for audio.
            • heightnumberrequirednullable
              Height in pixels, when known (images at upload, videos once processed); null for audio.
            • aspectRationumberrequired
              Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
            • durationnumberrequirednullable
              Length in seconds, for videos, GIFs and audio once known (null for images).
            • waveformarray of numberrequirednullable
              Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
            • createdAtstring (date-time)required
            • formatsarray of objectrequired
              3fields in each item
              • idstringrequired
              • namestringrequired
              • colorstringrequired
            • usagestringrequired
              Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
              One of: unused, used, published
            • processingobjectrequired
              Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
              2fields
              • statestringrequired
                One of: processing, ready, failed
              • errorstringrequirednullable
            • previewUrlstringrequirednullable
              Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
            • mediaUrlstringrequired
              Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
            • playbackobjectrequirednullable
              HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
              1field
              • manifestUrlstringrequired
            • publishCopyobjectrequirednullable
              The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
              4fields
              • mimeTypestringrequired
              • widthnumberrequired
              • heightnumberrequired
              • sizenumberrequired
            • transcriptMatchobject · MediaTranscriptMatchoptional
              3fields
              • snippetstringrequired
              • startMsnumberrequired
              • sourcestringoptional
                One of: speech, scene
          • cropobject · MediaCropoptionalnullable
            The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
            7fields
            • versionnumberrequired
              Always 1
            • unitstringrequired
              Always percent
            • xnumberrequired
              from 0 to 1
            • ynumberrequired
              from 0 to 1
            • widthnumberrequired
              above 0 to 1
            • heightnumberrequired
              above 0 to 1
            • aspectRationumberoptional
              greater than 0
      • publishedUrlstringoptionalnullable
      • publishedUrlKindstringoptionalnullable
        One of: post, studio
      • publishStatestringoptional
        One of: pending, published, failed
      • publishErrorstringoptionalnullable
    • updatedAtstring (date-time)required
      Last change. Send it back as baseUpdatedAt when saving so you never overwrite a change you haven't read.
    • pendingApprovalobject · EditorPostPendingApprovaloptionalnullable
      5fields
      • idstring (uuid)required
      • actionstringrequired
        One of: schedule, publish_now
      • scheduledAtstring (date-time)requirednullable
      • createdAtstring (date-time)required
      • urlstringrequired
    • scheduledViaobject · PostViaoptionalnullable
      2fields
      • kindstring · PublicConnectionKindrequired
        One of: personal_token, app, mcp
      • namestringrequired
    • beplanPromotionobject · EditorBeplanPromotionoptionalnullable
      4fields
      • userIdstringrequired
      • userNamestringrequired
      • disclosurestringrequired
      • mentionsBeplanbooleanrequired

202 Accepted

object · EditorPostPendingApprovalResponse

  • dataobjectrequired
    15fields
    • idstringrequired
    • titlestringrequired
    • captionstringrequired
    • hashtagsstringrequired
    • formatIdsarray of stringrequired
    • ignoreOpenFormatSlotsbooleanrequired
    • statusstringrequired
      Where the post stands: idea, in_progress, in_review (drafts), ready (finished, in the ready queue, not scheduled), scheduled (waits for scheduledAt), in_process (being published), posted (published), failed (failed on at least one account: see platforms[].publishState). A post waiting for a person's approval keeps its status and has pendingApproval.
      One of (may gain values): idea, in_progress, in_review, ready, scheduled, in_process, posted, failed
    • scheduledAtstring (date-time)requirednullable
      When it goes out (or went out), ISO 8601 UTC.
    • mediaarray of objectrequired
      4fields in each item
      • mediaIdstringrequired
      • altTextstringrequirednullable
      • itemobject · MediaItemrequired
        21fields
        • idstringrequired
        • folderIdstringrequirednullable
          The folder holding the media; null at the root of the library.
        • filenamestringrequired
        • altTextstringrequirednullable
        • mediaTypestringrequired
          One of: image, video, gif, audio
        • mimeTypestringrequirednullable
        • sizenumberrequirednullable
          File size in bytes, when known.
        • widthnumberrequirednullable
          Width in pixels, when known (images at upload, videos once processed); null for audio.
        • heightnumberrequirednullable
          Height in pixels, when known (images at upload, videos once processed); null for audio.
        • aspectRationumberrequired
          Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
        • durationnumberrequirednullable
          Length in seconds, for videos, GIFs and audio once known (null for images).
        • waveformarray of numberrequirednullable
          Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
        • createdAtstring (date-time)required
        • formatsarray of objectrequired
          3fields in each item
          • idstringrequired
          • namestringrequired
          • colorstringrequired
        • usagestringrequired
          Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
          One of: unused, used, published
        • processingobjectrequired
          Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
          2fields
          • statestringrequired
            One of: processing, ready, failed
          • errorstringrequirednullable
        • previewUrlstringrequirednullable
          Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
        • mediaUrlstringrequired
          Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
        • playbackobjectrequirednullable
          HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
          1field
          • manifestUrlstringrequired
        • publishCopyobjectrequirednullable
          The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
          4fields
          • mimeTypestringrequired
          • widthnumberrequired
          • heightnumberrequired
          • sizenumberrequired
        • transcriptMatchobject · MediaTranscriptMatchoptional
          3fields
          • snippetstringrequired
          • startMsnumberrequired
          • sourcestringoptional
            One of: speech, scene
      • cropobject · MediaCropoptionalnullable
        The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
        7fields
        • versionnumberrequired
          Always 1
        • unitstringrequired
          Always percent
        • xnumberrequired
          from 0 to 1
        • ynumberrequired
          from 0 to 1
        • widthnumberrequired
          above 0 to 1
        • heightnumberrequired
          above 0 to 1
        • aspectRationumberoptional
          greater than 0
    • platformsarray of objectrequired
      12fields in each item
      • socialAccountIdstringrequired
      • platformstring · SocialPlatformrequired
        One of (may gain values): x, instagram, facebook, tiktok, linkedin, threads, pinterest, youtube, discord, bluesky
      • isActivebooleanrequired
      • typestringrequired
        One of: post, story
      • customCaptionstringrequirednullable
      • additionalParamsmap of anyrequired
        The account's platform options, keyed <platform>_<option>; send only the keys you want to set, the others are kept. Common keys: tiktok_privacyLevel (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY; required before a TikTok post can be scheduled), tiktok_allowComments, tiktok_allowDuet, tiktok_allowStitch, tiktok_isAigc, tiktok_brandOrganic, tiktok_brandContent (booleans), tiktok_photoTitle, tiktok_firstComment; youtube_title (at most 100 characters), youtube_privacyStatus (public, unlisted, private), youtube_notifySubscribers, youtube_isMadeForKids, youtube_containsSyntheticMedia (booleans), youtube_categoryId, youtube_tags (strings); instagram_shareToFeed, instagram_trialReels (booleans), instagram_collaborators (up to 3 handles); linkedin_visibility (PUBLIC, LOGGED_IN, CONNECTIONS); pinterest_title, pinterest_link, pinterest_boardId; facebook_link; threads_link, threads_replyControl; x_replySettings (all, followers, verified, subscribers, mentionedUsers); bluesky_langs (up to 3 language codes); discord_channelId; <platform>_hashtags (a hashtag line for that platform only). A wrong value for a known key is refused with 400 VALIDATION_FAILED.
      • mediaarray of objectrequirednullable
        4fields in each item
        • mediaIdstringrequired
        • altTextstringrequirednullable
        • itemobject · MediaItemrequired
          21fields
          • idstringrequired
          • folderIdstringrequirednullable
            The folder holding the media; null at the root of the library.
          • filenamestringrequired
          • altTextstringrequirednullable
          • mediaTypestringrequired
            One of: image, video, gif, audio
          • mimeTypestringrequirednullable
          • sizenumberrequirednullable
            File size in bytes, when known.
          • widthnumberrequirednullable
            Width in pixels, when known (images at upload, videos once processed); null for audio.
          • heightnumberrequirednullable
            Height in pixels, when known (images at upload, videos once processed); null for audio.
          • aspectRationumberrequired
            Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
          • durationnumberrequirednullable
            Length in seconds, for videos, GIFs and audio once known (null for images).
          • waveformarray of numberrequirednullable
            Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
          • createdAtstring (date-time)required
          • formatsarray of objectrequired
            3fields in each item
            • idstringrequired
            • namestringrequired
            • colorstringrequired
          • usagestringrequired
            Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
            One of: unused, used, published
          • processingobjectrequired
            Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
            2fields
            • statestringrequired
              One of: processing, ready, failed
            • errorstringrequirednullable
          • previewUrlstringrequirednullable
            Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
          • mediaUrlstringrequired
            Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
          • playbackobjectrequirednullable
            HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
            1field
            • manifestUrlstringrequired
          • publishCopyobjectrequirednullable
            The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
            4fields
            • mimeTypestringrequired
            • widthnumberrequired
            • heightnumberrequired
            • sizenumberrequired
          • transcriptMatchobject · MediaTranscriptMatchoptional
            3fields
            • snippetstringrequired
            • startMsnumberrequired
            • sourcestringoptional
              One of: speech, scene
        • cropobject · MediaCropoptionalnullable
          The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
          7fields
          • versionnumberrequired
            Always 1
          • unitstringrequired
            Always percent
          • xnumberrequired
            from 0 to 1
          • ynumberrequired
            from 0 to 1
          • widthnumberrequired
            above 0 to 1
          • heightnumberrequired
            above 0 to 1
          • aspectRationumberoptional
            greater than 0
      • threadarray of objectrequired
        3fields in each item
        • idstringoptional
        • captionstringrequired
        • mediaarray of objectrequired
          4fields in each item
          • mediaIdstringrequired
          • altTextstringrequirednullable
          • itemobject · MediaItemrequired
            21fields
            • idstringrequired
            • folderIdstringrequirednullable
              The folder holding the media; null at the root of the library.
            • filenamestringrequired
            • altTextstringrequirednullable
            • mediaTypestringrequired
              One of: image, video, gif, audio
            • mimeTypestringrequirednullable
            • sizenumberrequirednullable
              File size in bytes, when known.
            • widthnumberrequirednullable
              Width in pixels, when known (images at upload, videos once processed); null for audio.
            • heightnumberrequirednullable
              Height in pixels, when known (images at upload, videos once processed); null for audio.
            • aspectRationumberrequired
              Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
            • durationnumberrequirednullable
              Length in seconds, for videos, GIFs and audio once known (null for images).
            • waveformarray of numberrequirednullable
              Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
            • createdAtstring (date-time)required
            • formatsarray of objectrequired
              3fields in each item
              • idstringrequired
              • namestringrequired
              • colorstringrequired
            • usagestringrequired
              Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
              One of: unused, used, published
            • processingobjectrequired
              Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
              2fields
              • statestringrequired
                One of: processing, ready, failed
              • errorstringrequirednullable
            • previewUrlstringrequirednullable
              Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
            • mediaUrlstringrequired
              Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
            • playbackobjectrequirednullable
              HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
              1field
              • manifestUrlstringrequired
            • publishCopyobjectrequirednullable
              The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
              4fields
              • mimeTypestringrequired
              • widthnumberrequired
              • heightnumberrequired
              • sizenumberrequired
            • transcriptMatchobject · MediaTranscriptMatchoptional
              3fields
              • snippetstringrequired
              • startMsnumberrequired
              • sourcestringoptional
                One of: speech, scene
          • cropobject · MediaCropoptionalnullable
            The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
            7fields
            • versionnumberrequired
              Always 1
            • unitstringrequired
              Always percent
            • xnumberrequired
              from 0 to 1
            • ynumberrequired
              from 0 to 1
            • widthnumberrequired
              above 0 to 1
            • heightnumberrequired
              above 0 to 1
            • aspectRationumberoptional
              greater than 0
      • publishedUrlstringoptionalnullable
      • publishedUrlKindstringoptionalnullable
        One of: post, studio
      • publishStatestringoptional
        One of: pending, published, failed
      • publishErrorstringoptionalnullable
    • updatedAtstring (date-time)required
      Last change. Send it back as baseUpdatedAt when saving so you never overwrite a change you haven't read.
    • pendingApprovalobject · EditorPostPendingApprovaloptionalnullable
      5fields
      • idstring (uuid)required
      • actionstringrequired
        One of: schedule, publish_now
      • scheduledAtstring (date-time)requirednullable
      • createdAtstring (date-time)required
      • urlstringrequired
    • scheduledViaobject · PostViaoptionalnullable
      2fields
      • kindstring · PublicConnectionKindrequired
        One of: personal_token, app, mcp
      • namestringrequired
    • beplanPromotionobject · EditorBeplanPromotionoptionalnullable
      4fields
      • userIdstringrequired
      • userNamestringrequired
      • disclosurestringrequired
      • mentionsBeplanbooleanrequired
    • approvalobject · PostApprovalSummaryrequired
      3fields
      • idstring (uuid)required
      • statusstringrequired
        One of: pending, approved, rejected, cancelled, expired
      • urlstringrequired
        The post's page in the Beplan web app, where a signed-in member approves or rejects the request. A page for people, not an API URL.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 422, 429, 500.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
402 SCHEDULED_POST_LIMIT_REACHED Your plan's scheduled posts for this month are used up. Upgrade to schedule more.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_NOT_FOUND This post doesn't exist or was deleted.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
409 SOCIAL_ACCOUNT_RECONNECT_REQUIRED This account is disconnected. Reconnect it, then try again.
422 AMBASSADOR_POST_NEEDS_BEPLAN_MENTION A Beplan promotional post must mention Beplan in its caption before it can be scheduled.
422 DEAL_EMBARGO This post can't go out before the deal's embargo date.
422 POST_ALREADY_PUBLISHED This post is already published or being published.
422 POST_HAS_LINKED_POSTS Scheduled posts link to this one. Unschedule them first, or unschedule them together.
422 POST_HAS_NO_PLATFORMS Select at least one account to publish this post to.
422 POST_INVALID_FOR_PLATFORM This post doesn't meet a platform's requirements. Open it to fix it.
422 POST_LINK_CYCLE These posts link to each other in a loop. Remove one of the links.
422 POST_LINK_MUST_BE_AFTER This post links to a post that goes out at the same time or later. Schedule it after that post.
422 POST_LINK_MUST_BE_BEFORE Another post links to this one, so this one has to go out first.
422 POST_LINK_SELF An account's caption links to its own post. Give that account its own caption without the link.
422 POST_LINK_TARGET_NOT_PUBLISHED This post links to a post that isn't published yet, so it can't go out now.
422 POST_LINK_TARGET_NOT_SCHEDULED This post links to a post that isn't scheduled yet. Schedule that post first.
422 POST_LINK_TARGET_UNAVAILABLE This post links to a post that no longer exists, or to an account it no longer goes to.
422 POST_MEDIA_FAILED One of this post's media failed to upload or process. Replace it, then try again.
422 POST_MEDIA_PROCESSING This post's media are still processing. Post it once they're ready, or schedule it for later.
422 POST_NOT_IN_REVIEW This post isn't waiting for review anymore.
422 SOCIAL_ACCOUNT_SETUP_REQUIRED Finish setting up this account: pick the page or channel it posts as, then try again.
422 TIKTOK_BUSINESS_VIDEO_PRIVACY_LEVEL TikTok Business accounts can only post videos publicly (to all followers for a private account). Change who can see this TikTok video, then schedule it again.
422 TIKTOK_PRIVACY_LEVEL_REQUIRED Choose who can view this post on TikTok before scheduling it.
422 TRACKED_LINK_UNAVAILABLE This post has a tracked link that isn't in this workspace anymore. Remove it and add it again with /link.
422 X_LINKS_REQUIRE_PAID_PLAN Because of X pricing, links in X posts are only available on paid plans.
14 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Approve and schedule

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approve" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approve", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/approve",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
    "title": "Spring drop teaser",
    "caption": "Something new lands Thursday.",
    "hashtags": "#springdrop",
    "formatIds": [],
    "ignoreOpenFormatSlots": false,
    "status": "scheduled",
    "scheduledAt": "2026-12-03T14:00:00.000Z",
    "media": [
      {
        "mediaId": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
        "altText": "The spring collection on a table",
        "item": {
          "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
          "folderId": null,
          "filename": "spring-collection.jpg",
          "altText": "The spring collection on a table",
          "mediaType": "image",
          "mimeType": "image/jpeg",
          "size": 482133,
          "width": 1080,
          "height": 1350,
          "aspectRatio": 0.8,
          "duration": null,
          "waveform": null,
          "createdAt": "2026-11-18T09:30:00.000Z",
          "formats": [],
          "usage": "used",
          "processing": {
            "state": "ready",
            "error": null
          },
          "previewUrl": "https://storage.beplan.io/org-media/…/preview?X-Amz-Signature=…",
          "mediaUrl": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…",
          "playback": null,
          "publishCopy": null
        },
        "crop": null
      }
    ],
    "platforms": [
      {
        "socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
        "platform": "linkedin",
        "isActive": true,
        "type": "post",
        "customCaption": null,
        "additionalParams": {
          "linkedin_visibility": "PUBLIC"
        },
        "media": null,
        "thread": [],
        "publishedUrl": null,
        "publishedUrlKind": null,
        "publishState": "pending",
        "publishError": null
      }
    ],
    "updatedAt": "2026-11-19T15:30:00.000Z",
    "pendingApproval": null,
    "scheduledVia": null
  }
}

Check a post's links before scheduling

GET /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/link-status
Beta Reads only posts.linkStatus.get
Scope
posts:write
Role permission
Any of: Create posts (post:create), Edit posts (post:update)
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Says what the saved post's {{post:…}} links allow, before scheduling it. links has one entry per link and account whose text holds it, with its problem or null: unavailable (the linked post or account is gone or switched off), self (an account linking to its own post: give that account its own caption), cycle, and for scheduling notScheduled (schedule the linked post first) and order (it goes out at the same time or later). window is when the post can be scheduled because of its links: strictly after after and strictly before before (null: no bound), each naming the post that sets it. Reads the saved post: save changes first. It also refreshes Beplan's stored copy of the post's links from its texts (no visible change).

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Responses

200 OK

object · PostLinkStatusResponse

  • dataobject · PostLinkStatusrequired
    2fields
    • linksarray of objectrequired
      4fields in each item
      • sourceSocialAccountIdstringrequired
        The account of this post whose text holds the link.
      • targetPostIdstringrequired
        The post linked to (this post's own id for a this link).
      • targetSocialAccountIdstringrequired
        The account of the linked post.
      • problemstringrequirednullable
        Why the link can't be published as the post stands, null when it can: unavailable (the linked post or account is gone or switched off), self (an account linking to its own post), cycle, notScheduled (the linked post isn't scheduled) and order (it goes out at the same time or later).
        One of (may gain values): unavailable, self, cycle, notScheduled, order
    • windowobject · PostLinkWindowrequired
      2fields
      • afterobject · LinkedPostRefrequirednullable
        3fields
        • idstringrequired
        • titlestringrequired
        • scheduledAtstring (date-time)requirednullable
      • beforeobject · LinkedPostRefrequirednullable
        3fields
        • idstringrequired
        • titlestringrequired
        • scheduledAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_NOT_FOUND This post doesn't exist or was deleted.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
9 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

An X post linking to a published YouTube video

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/link-status" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/link-status", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/link-status",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "links": [
      {
        "sourceSocialAccountId": "4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
        "targetPostId": "3a4b5c6d-7e8f-4a9b-8c0d-1e2f3a4b5c6d",
        "targetSocialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
        "problem": null
      }
    ],
    "window": {
      "after": null,
      "before": null
    }
  }
}

Create a preview link

POST /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/preview-links
Beta Changes data posts.previewLinks.create
Scope
posts:write
Role permission
Any member who can see it
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Creates a link anyone can open, without a Beplan account, to see the post as it will look on each platform (read-only), for expiresInDays days (1–30, default 7). The URL is shown only in this answer; keep the link's id to revoke it. Answers 201.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Request body JSON, required

object · CreatePostPreviewLinkBody

  • expiresInDaysintegeroptional
    from 1 to 30

Responses

201 Created

object · PostPreviewLinkResponse

  • dataobject · PostPreviewLinkrequired
    3fields
    • idstringrequired
    • urlstringrequired
      The preview page in Beplan's web app: anyone with the link sees the post as it will look on each platform, without signing in, until it expires or is revoked. Shown only here.
    • expiresAtstring (date-time)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_NOT_FOUND This post doesn't exist or was deleted.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
13 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A link for a client, for a week

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "expiresInDays": 7
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "expiresInDays": 7
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "expiresInDays": 7,
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "data": {
    "id": "5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
    "url": "https://app.beplan.io/preview/…",
    "expiresAt": "2026-11-26T10:30:00.000Z"
  }
}

Revoke a preview link

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/preview-links/{linkId}
Beta Deletes posts.previewLinks.revoke
Scope
posts:write
Role permission
Any member who can see it
Effect
Deletes data or cannot be undone.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Turns a preview link off at once, for good (linkId from the answer that created it). Answers 204.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)
linkId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_PREVIEW_LINK_NOT_FOUND This preview link doesn't exist or was already turned off.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Turn a link off

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links/5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links/5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/preview-links/5e6f7a8b-9c0d-4e1f-8a2b-3c4d5e6f7a8b",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Send a post in review back for changes

POST /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/request-changes
Beta Changes data posts.review.requestChanges
Scope
posts:review
Role permission
Review posts (post:review)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Sends a post that is In review back to In progress (team review, Team Collaboration add-on). No body. Leave the reason as a comment on the post.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Responses

200 OK

object · EditorPostResponse

  • dataobject · EditorPostrequired
    14fields
    • idstringrequired
    • titlestringrequired
    • captionstringrequired
    • hashtagsstringrequired
    • formatIdsarray of stringrequired
    • ignoreOpenFormatSlotsbooleanrequired
    • statusstringrequired
      Where the post stands: idea, in_progress, in_review (drafts), ready (finished, in the ready queue, not scheduled), scheduled (waits for scheduledAt), in_process (being published), posted (published), failed (failed on at least one account: see platforms[].publishState). A post waiting for a person's approval keeps its status and has pendingApproval.
      One of (may gain values): idea, in_progress, in_review, ready, scheduled, in_process, posted, failed
    • scheduledAtstring (date-time)requirednullable
      When it goes out (or went out), ISO 8601 UTC.
    • mediaarray of objectrequired
      4fields in each item
      • mediaIdstringrequired
      • altTextstringrequirednullable
      • itemobject · MediaItemrequired
        21fields
        • idstringrequired
        • folderIdstringrequirednullable
          The folder holding the media; null at the root of the library.
        • filenamestringrequired
        • altTextstringrequirednullable
        • mediaTypestringrequired
          One of: image, video, gif, audio
        • mimeTypestringrequirednullable
        • sizenumberrequirednullable
          File size in bytes, when known.
        • widthnumberrequirednullable
          Width in pixels, when known (images at upload, videos once processed); null for audio.
        • heightnumberrequirednullable
          Height in pixels, when known (images at upload, videos once processed); null for audio.
        • aspectRationumberrequired
          Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
        • durationnumberrequirednullable
          Length in seconds, for videos, GIFs and audio once known (null for images).
        • waveformarray of numberrequirednullable
          Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
        • createdAtstring (date-time)required
        • formatsarray of objectrequired
          3fields in each item
          • idstringrequired
          • namestringrequired
          • colorstringrequired
        • usagestringrequired
          Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
          One of: unused, used, published
        • processingobjectrequired
          Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
          2fields
          • statestringrequired
            One of: processing, ready, failed
          • errorstringrequirednullable
        • previewUrlstringrequirednullable
          Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
        • mediaUrlstringrequired
          Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
        • playbackobjectrequirednullable
          HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
          1field
          • manifestUrlstringrequired
        • publishCopyobjectrequirednullable
          The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
          4fields
          • mimeTypestringrequired
          • widthnumberrequired
          • heightnumberrequired
          • sizenumberrequired
        • transcriptMatchobject · MediaTranscriptMatchoptional
          3fields
          • snippetstringrequired
          • startMsnumberrequired
          • sourcestringoptional
            One of: speech, scene
      • cropobject · MediaCropoptionalnullable
        The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
        7fields
        • versionnumberrequired
          Always 1
        • unitstringrequired
          Always percent
        • xnumberrequired
          from 0 to 1
        • ynumberrequired
          from 0 to 1
        • widthnumberrequired
          above 0 to 1
        • heightnumberrequired
          above 0 to 1
        • aspectRationumberoptional
          greater than 0
    • platformsarray of objectrequired
      12fields in each item
      • socialAccountIdstringrequired
      • platformstring · SocialPlatformrequired
        One of (may gain values): x, instagram, facebook, tiktok, linkedin, threads, pinterest, youtube, discord, bluesky
      • isActivebooleanrequired
      • typestringrequired
        One of: post, story
      • customCaptionstringrequirednullable
      • additionalParamsmap of anyrequired
        The account's platform options, keyed <platform>_<option>; send only the keys you want to set, the others are kept. Common keys: tiktok_privacyLevel (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY; required before a TikTok post can be scheduled), tiktok_allowComments, tiktok_allowDuet, tiktok_allowStitch, tiktok_isAigc, tiktok_brandOrganic, tiktok_brandContent (booleans), tiktok_photoTitle, tiktok_firstComment; youtube_title (at most 100 characters), youtube_privacyStatus (public, unlisted, private), youtube_notifySubscribers, youtube_isMadeForKids, youtube_containsSyntheticMedia (booleans), youtube_categoryId, youtube_tags (strings); instagram_shareToFeed, instagram_trialReels (booleans), instagram_collaborators (up to 3 handles); linkedin_visibility (PUBLIC, LOGGED_IN, CONNECTIONS); pinterest_title, pinterest_link, pinterest_boardId; facebook_link; threads_link, threads_replyControl; x_replySettings (all, followers, verified, subscribers, mentionedUsers); bluesky_langs (up to 3 language codes); discord_channelId; <platform>_hashtags (a hashtag line for that platform only). A wrong value for a known key is refused with 400 VALIDATION_FAILED.
      • mediaarray of objectrequirednullable
        4fields in each item
        • mediaIdstringrequired
        • altTextstringrequirednullable
        • itemobject · MediaItemrequired
          21fields
          • idstringrequired
          • folderIdstringrequirednullable
            The folder holding the media; null at the root of the library.
          • filenamestringrequired
          • altTextstringrequirednullable
          • mediaTypestringrequired
            One of: image, video, gif, audio
          • mimeTypestringrequirednullable
          • sizenumberrequirednullable
            File size in bytes, when known.
          • widthnumberrequirednullable
            Width in pixels, when known (images at upload, videos once processed); null for audio.
          • heightnumberrequirednullable
            Height in pixels, when known (images at upload, videos once processed); null for audio.
          • aspectRationumberrequired
            Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
          • durationnumberrequirednullable
            Length in seconds, for videos, GIFs and audio once known (null for images).
          • waveformarray of numberrequirednullable
            Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
          • createdAtstring (date-time)required
          • formatsarray of objectrequired
            3fields in each item
            • idstringrequired
            • namestringrequired
            • colorstringrequired
          • usagestringrequired
            Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
            One of: unused, used, published
          • processingobjectrequired
            Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
            2fields
            • statestringrequired
              One of: processing, ready, failed
            • errorstringrequirednullable
          • previewUrlstringrequirednullable
            Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
          • mediaUrlstringrequired
            Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
          • playbackobjectrequirednullable
            HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
            1field
            • manifestUrlstringrequired
          • publishCopyobjectrequirednullable
            The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
            4fields
            • mimeTypestringrequired
            • widthnumberrequired
            • heightnumberrequired
            • sizenumberrequired
          • transcriptMatchobject · MediaTranscriptMatchoptional
            3fields
            • snippetstringrequired
            • startMsnumberrequired
            • sourcestringoptional
              One of: speech, scene
        • cropobject · MediaCropoptionalnullable
          The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
          7fields
          • versionnumberrequired
            Always 1
          • unitstringrequired
            Always percent
          • xnumberrequired
            from 0 to 1
          • ynumberrequired
            from 0 to 1
          • widthnumberrequired
            above 0 to 1
          • heightnumberrequired
            above 0 to 1
          • aspectRationumberoptional
            greater than 0
      • threadarray of objectrequired
        3fields in each item
        • idstringoptional
        • captionstringrequired
        • mediaarray of objectrequired
          4fields in each item
          • mediaIdstringrequired
          • altTextstringrequirednullable
          • itemobject · MediaItemrequired
            21fields
            • idstringrequired
            • folderIdstringrequirednullable
              The folder holding the media; null at the root of the library.
            • filenamestringrequired
            • altTextstringrequirednullable
            • mediaTypestringrequired
              One of: image, video, gif, audio
            • mimeTypestringrequirednullable
            • sizenumberrequirednullable
              File size in bytes, when known.
            • widthnumberrequirednullable
              Width in pixels, when known (images at upload, videos once processed); null for audio.
            • heightnumberrequirednullable
              Height in pixels, when known (images at upload, videos once processed); null for audio.
            • aspectRationumberrequired
              Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
            • durationnumberrequirednullable
              Length in seconds, for videos, GIFs and audio once known (null for images).
            • waveformarray of numberrequirednullable
              Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
            • createdAtstring (date-time)required
            • formatsarray of objectrequired
              3fields in each item
              • idstringrequired
              • namestringrequired
              • colorstringrequired
            • usagestringrequired
              Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
              One of: unused, used, published
            • processingobjectrequired
              Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
              2fields
              • statestringrequired
                One of: processing, ready, failed
              • errorstringrequirednullable
            • previewUrlstringrequirednullable
              Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
            • mediaUrlstringrequired
              Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
            • playbackobjectrequirednullable
              HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
              1field
              • manifestUrlstringrequired
            • publishCopyobjectrequirednullable
              The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
              4fields
              • mimeTypestringrequired
              • widthnumberrequired
              • heightnumberrequired
              • sizenumberrequired
            • transcriptMatchobject · MediaTranscriptMatchoptional
              3fields
              • snippetstringrequired
              • startMsnumberrequired
              • sourcestringoptional
                One of: speech, scene
          • cropobject · MediaCropoptionalnullable
            The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
            7fields
            • versionnumberrequired
              Always 1
            • unitstringrequired
              Always percent
            • xnumberrequired
              from 0 to 1
            • ynumberrequired
              from 0 to 1
            • widthnumberrequired
              above 0 to 1
            • heightnumberrequired
              above 0 to 1
            • aspectRationumberoptional
              greater than 0
      • publishedUrlstringoptionalnullable
      • publishedUrlKindstringoptionalnullable
        One of: post, studio
      • publishStatestringoptional
        One of: pending, published, failed
      • publishErrorstringoptionalnullable
    • updatedAtstring (date-time)required
      Last change. Send it back as baseUpdatedAt when saving so you never overwrite a change you haven't read.
    • pendingApprovalobject · EditorPostPendingApprovaloptionalnullable
      5fields
      • idstring (uuid)required
      • actionstringrequired
        One of: schedule, publish_now
      • scheduledAtstring (date-time)requirednullable
      • createdAtstring (date-time)required
      • urlstringrequired
    • scheduledViaobject · PostViaoptionalnullable
      2fields
      • kindstring · PublicConnectionKindrequired
        One of: personal_token, app, mcp
      • namestringrequired
    • beplanPromotionobject · EditorBeplanPromotionoptionalnullable
      4fields
      • userIdstringrequired
      • userNamestringrequired
      • disclosurestringrequired
      • mentionsBeplanbooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 422, 429, 500.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 POST_NOT_IN_REVIEW This post isn't waiting for review anymore.
14 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Ask for changes

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/request-changes" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/request-changes", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/request-changes",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
    "title": "Spring drop teaser",
    "caption": "Something new lands Thursday.",
    "hashtags": "#springdrop",
    "formatIds": [],
    "ignoreOpenFormatSlots": false,
    "status": "in_progress",
    "scheduledAt": "2026-12-03T14:00:00.000Z",
    "media": [
      {
        "mediaId": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
        "altText": "The spring collection on a table",
        "item": {
          "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
          "folderId": null,
          "filename": "spring-collection.jpg",
          "altText": "The spring collection on a table",
          "mediaType": "image",
          "mimeType": "image/jpeg",
          "size": 482133,
          "width": 1080,
          "height": 1350,
          "aspectRatio": 0.8,
          "duration": null,
          "waveform": null,
          "createdAt": "2026-11-18T09:30:00.000Z",
          "formats": [],
          "usage": "used",
          "processing": {
            "state": "ready",
            "error": null
          },
          "previewUrl": "https://storage.beplan.io/org-media/…/preview?X-Amz-Signature=…",
          "mediaUrl": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…",
          "playback": null,
          "publishCopy": null
        },
        "crop": null
      }
    ],
    "platforms": [
      {
        "socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
        "platform": "linkedin",
        "isActive": true,
        "type": "post",
        "customCaption": null,
        "additionalParams": {
          "linkedin_visibility": "PUBLIC"
        },
        "media": null,
        "thread": [],
        "publishedUrl": null,
        "publishedUrlKind": null,
        "publishState": "pending",
        "publishError": null
      }
    ],
    "updatedAt": "2026-11-19T15:30:00.000Z",
    "pendingApproval": null,
    "scheduledVia": null
  }
}

Send a post to review

POST /organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/send-to-review
Beta Changes data posts.review.send
Scope
posts:write
Role permission
Edit posts (post:update)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-19.

Puts the post In review with the time it should go out (scheduledAt, or null to leave the time to the reviewer), for a teammate with the review permission to approve or send back. Part of the team review workflow (Team Collaboration add-on, else 402 PLAN_UPGRADE_REQUIRED); separate from post approval.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
postId required path string (uuid)

Request body JSON, required

object · SendPostToReviewBody

  • scheduledAtstring (date-time)requirednullable

Responses

200 OK

object · EditorPostResponse

  • dataobject · EditorPostrequired
    14fields
    • idstringrequired
    • titlestringrequired
    • captionstringrequired
    • hashtagsstringrequired
    • formatIdsarray of stringrequired
    • ignoreOpenFormatSlotsbooleanrequired
    • statusstringrequired
      Where the post stands: idea, in_progress, in_review (drafts), ready (finished, in the ready queue, not scheduled), scheduled (waits for scheduledAt), in_process (being published), posted (published), failed (failed on at least one account: see platforms[].publishState). A post waiting for a person's approval keeps its status and has pendingApproval.
      One of (may gain values): idea, in_progress, in_review, ready, scheduled, in_process, posted, failed
    • scheduledAtstring (date-time)requirednullable
      When it goes out (or went out), ISO 8601 UTC.
    • mediaarray of objectrequired
      4fields in each item
      • mediaIdstringrequired
      • altTextstringrequirednullable
      • itemobject · MediaItemrequired
        21fields
        • idstringrequired
        • folderIdstringrequirednullable
          The folder holding the media; null at the root of the library.
        • filenamestringrequired
        • altTextstringrequirednullable
        • mediaTypestringrequired
          One of: image, video, gif, audio
        • mimeTypestringrequirednullable
        • sizenumberrequirednullable
          File size in bytes, when known.
        • widthnumberrequirednullable
          Width in pixels, when known (images at upload, videos once processed); null for audio.
        • heightnumberrequirednullable
          Height in pixels, when known (images at upload, videos once processed); null for audio.
        • aspectRationumberrequired
          Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
        • durationnumberrequirednullable
          Length in seconds, for videos, GIFs and audio once known (null for images).
        • waveformarray of numberrequirednullable
          Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
        • createdAtstring (date-time)required
        • formatsarray of objectrequired
          3fields in each item
          • idstringrequired
          • namestringrequired
          • colorstringrequired
        • usagestringrequired
          Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
          One of: unused, used, published
        • processingobjectrequired
          Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
          2fields
          • statestringrequired
            One of: processing, ready, failed
          • errorstringrequirednullable
        • previewUrlstringrequirednullable
          Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
        • mediaUrlstringrequired
          Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
        • playbackobjectrequirednullable
          HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
          1field
          • manifestUrlstringrequired
        • publishCopyobjectrequirednullable
          The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
          4fields
          • mimeTypestringrequired
          • widthnumberrequired
          • heightnumberrequired
          • sizenumberrequired
        • transcriptMatchobject · MediaTranscriptMatchoptional
          3fields
          • snippetstringrequired
          • startMsnumberrequired
          • sourcestringoptional
            One of: speech, scene
      • cropobject · MediaCropoptionalnullable
        The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
        7fields
        • versionnumberrequired
          Always 1
        • unitstringrequired
          Always percent
        • xnumberrequired
          from 0 to 1
        • ynumberrequired
          from 0 to 1
        • widthnumberrequired
          above 0 to 1
        • heightnumberrequired
          above 0 to 1
        • aspectRationumberoptional
          greater than 0
    • platformsarray of objectrequired
      12fields in each item
      • socialAccountIdstringrequired
      • platformstring · SocialPlatformrequired
        One of (may gain values): x, instagram, facebook, tiktok, linkedin, threads, pinterest, youtube, discord, bluesky
      • isActivebooleanrequired
      • typestringrequired
        One of: post, story
      • customCaptionstringrequirednullable
      • additionalParamsmap of anyrequired
        The account's platform options, keyed <platform>_<option>; send only the keys you want to set, the others are kept. Common keys: tiktok_privacyLevel (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY; required before a TikTok post can be scheduled), tiktok_allowComments, tiktok_allowDuet, tiktok_allowStitch, tiktok_isAigc, tiktok_brandOrganic, tiktok_brandContent (booleans), tiktok_photoTitle, tiktok_firstComment; youtube_title (at most 100 characters), youtube_privacyStatus (public, unlisted, private), youtube_notifySubscribers, youtube_isMadeForKids, youtube_containsSyntheticMedia (booleans), youtube_categoryId, youtube_tags (strings); instagram_shareToFeed, instagram_trialReels (booleans), instagram_collaborators (up to 3 handles); linkedin_visibility (PUBLIC, LOGGED_IN, CONNECTIONS); pinterest_title, pinterest_link, pinterest_boardId; facebook_link; threads_link, threads_replyControl; x_replySettings (all, followers, verified, subscribers, mentionedUsers); bluesky_langs (up to 3 language codes); discord_channelId; <platform>_hashtags (a hashtag line for that platform only). A wrong value for a known key is refused with 400 VALIDATION_FAILED.
      • mediaarray of objectrequirednullable
        4fields in each item
        • mediaIdstringrequired
        • altTextstringrequirednullable
        • itemobject · MediaItemrequired
          21fields
          • idstringrequired
          • folderIdstringrequirednullable
            The folder holding the media; null at the root of the library.
          • filenamestringrequired
          • altTextstringrequirednullable
          • mediaTypestringrequired
            One of: image, video, gif, audio
          • mimeTypestringrequirednullable
          • sizenumberrequirednullable
            File size in bytes, when known.
          • widthnumberrequirednullable
            Width in pixels, when known (images at upload, videos once processed); null for audio.
          • heightnumberrequirednullable
            Height in pixels, when known (images at upload, videos once processed); null for audio.
          • aspectRationumberrequired
            Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
          • durationnumberrequirednullable
            Length in seconds, for videos, GIFs and audio once known (null for images).
          • waveformarray of numberrequirednullable
            Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
          • createdAtstring (date-time)required
          • formatsarray of objectrequired
            3fields in each item
            • idstringrequired
            • namestringrequired
            • colorstringrequired
          • usagestringrequired
            Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
            One of: unused, used, published
          • processingobjectrequired
            Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
            2fields
            • statestringrequired
              One of: processing, ready, failed
            • errorstringrequirednullable
          • previewUrlstringrequirednullable
            Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
          • mediaUrlstringrequired
            Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
          • playbackobjectrequirednullable
            HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
            1field
            • manifestUrlstringrequired
          • publishCopyobjectrequirednullable
            The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
            4fields
            • mimeTypestringrequired
            • widthnumberrequired
            • heightnumberrequired
            • sizenumberrequired
          • transcriptMatchobject · MediaTranscriptMatchoptional
            3fields
            • snippetstringrequired
            • startMsnumberrequired
            • sourcestringoptional
              One of: speech, scene
        • cropobject · MediaCropoptionalnullable
          The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
          7fields
          • versionnumberrequired
            Always 1
          • unitstringrequired
            Always percent
          • xnumberrequired
            from 0 to 1
          • ynumberrequired
            from 0 to 1
          • widthnumberrequired
            above 0 to 1
          • heightnumberrequired
            above 0 to 1
          • aspectRationumberoptional
            greater than 0
      • threadarray of objectrequired
        3fields in each item
        • idstringoptional
        • captionstringrequired
        • mediaarray of objectrequired
          4fields in each item
          • mediaIdstringrequired
          • altTextstringrequirednullable
          • itemobject · MediaItemrequired
            21fields
            • idstringrequired
            • folderIdstringrequirednullable
              The folder holding the media; null at the root of the library.
            • filenamestringrequired
            • altTextstringrequirednullable
            • mediaTypestringrequired
              One of: image, video, gif, audio
            • mimeTypestringrequirednullable
            • sizenumberrequirednullable
              File size in bytes, when known.
            • widthnumberrequirednullable
              Width in pixels, when known (images at upload, videos once processed); null for audio.
            • heightnumberrequirednullable
              Height in pixels, when known (images at upload, videos once processed); null for audio.
            • aspectRationumberrequired
              Display ratio (width / height) from the dimensions, clamped to [0.45, 2.4]; 1 when unknown and for audio.
            • durationnumberrequirednullable
              Length in seconds, for videos, GIFs and audio once known (null for images).
            • waveformarray of numberrequirednullable
              Audio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly over duration. null while processing, when processing failed, and for every other type.
            • createdAtstring (date-time)required
            • formatsarray of objectrequired
              3fields in each item
              • idstringrequired
              • namestringrequired
              • colorstringrequired
            • usagestringrequired
              Where the media is used: unused; used in a post still to publish; published only in posts already published (or failed).
              One of: unused, used, published
            • processingobjectrequired
              Upload and processing state: processing (videos and audio are being processed), ready, or failed with a readable error. A media can be put in a post while processing.
              2fields
              • statestringrequired
                One of: processing, ready, failed
              • errorstringrequirednullable
            • previewUrlstringrequirednullable
              Signed URL (valid about one hour) of the image itself or of the video's poster; null while there is none yet, and always for audio.
            • mediaUrlstringrequired
              Signed URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media's download-url.
            • playbackobjectrequirednullable
              HLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), else null. Always null through the public API (/v1) and MCP: use mediaUrl, or the media's download-url, to fetch the file.
              1field
              • manifestUrlstringrequired
            • publishCopyobjectrequirednullable
              The copy sent to platforms that cannot take the original (a JPEG for images, an H.264/AAC MP4 of at most 1080p for videos): its type, pixels and bytes. null when every platform takes the original, or while it is being made.
              4fields
              • mimeTypestringrequired
              • widthnumberrequired
              • heightnumberrequired
              • sizenumberrequired
            • transcriptMatchobject · MediaTranscriptMatchoptional
              3fields
              • snippetstringrequired
              • startMsnumberrequired
              • sourcestringoptional
                One of: speech, scene
          • cropobject · MediaCropoptionalnullable
            The part of an image published, as fractions (0 to 1) of the image's displayed size: x, y (top left corner), width, height. The crop must stay inside the image: x + width and y + height at most 1.
            7fields
            • versionnumberrequired
              Always 1
            • unitstringrequired
              Always percent
            • xnumberrequired
              from 0 to 1
            • ynumberrequired
              from 0 to 1
            • widthnumberrequired
              above 0 to 1
            • heightnumberrequired
              above 0 to 1
            • aspectRationumberoptional
              greater than 0
      • publishedUrlstringoptionalnullable
      • publishedUrlKindstringoptionalnullable
        One of: post, studio
      • publishStatestringoptional
        One of: pending, published, failed
      • publishErrorstringoptionalnullable
    • updatedAtstring (date-time)required
      Last change. Send it back as baseUpdatedAt when saving so you never overwrite a change you haven't read.
    • pendingApprovalobject · EditorPostPendingApprovaloptionalnullable
      5fields
      • idstring (uuid)required
      • actionstringrequired
        One of: schedule, publish_now
      • scheduledAtstring (date-time)requirednullable
      • createdAtstring (date-time)required
      • urlstringrequired
    • scheduledViaobject · PostViaoptionalnullable
      2fields
      • kindstring · PublicConnectionKindrequired
        One of: personal_token, app, mcp
      • namestringrequired
    • beplanPromotionobject · EditorBeplanPromotionoptionalnullable
      4fields
      • userIdstringrequired
      • userNamestringrequired
      • disclosurestringrequired
      • mentionsBeplanbooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 422, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 POST_NOT_FOUND This post doesn't exist or was deleted.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 AMBASSADOR_POST_NEEDS_BEPLAN_MENTION A Beplan promotional post must mention Beplan in its caption before it can be scheduled.
422 POST_ALREADY_PUBLISHED This post is already published or being published.
422 POST_ALREADY_SCHEDULED This post is already scheduled.
422 POST_HAS_NO_PLATFORMS Select at least one account to publish this post to.
422 SCHEDULED_AT_IN_PAST Pick a time in the future.
13 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Ready for review, to go out on Thursday

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/send-to-review" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "scheduledAt": "2026-12-03T14:00:00.000Z"
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/send-to-review", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "scheduledAt": "2026-12-03T14:00:00.000Z"
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7/send-to-review",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "scheduledAt": "2026-12-03T14:00:00.000Z",
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "6f1c2a3b-4d5e-4f60-8a71-92b3c4d5e6f7",
    "title": "Spring drop teaser",
    "caption": "Something new lands Thursday.",
    "hashtags": "#springdrop",
    "formatIds": [],
    "ignoreOpenFormatSlots": false,
    "status": "in_review",
    "scheduledAt": "2026-12-03T14:00:00.000Z",
    "media": [
      {
        "mediaId": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
        "altText": "The spring collection on a table",
        "item": {
          "id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
          "folderId": null,
          "filename": "spring-collection.jpg",
          "altText": "The spring collection on a table",
          "mediaType": "image",
          "mimeType": "image/jpeg",
          "size": 482133,
          "width": 1080,
          "height": 1350,
          "aspectRatio": 0.8,
          "duration": null,
          "waveform": null,
          "createdAt": "2026-11-18T09:30:00.000Z",
          "formats": [],
          "usage": "used",
          "processing": {
            "state": "ready",
            "error": null
          },
          "previewUrl": "https://storage.beplan.io/org-media/…/preview?X-Amz-Signature=…",
          "mediaUrl": "https://storage.beplan.io/org-media/…?X-Amz-Signature=…",
          "playback": null,
          "publishCopy": null
        },
        "crop": null
      }
    ],
    "platforms": [
      {
        "socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
        "platform": "linkedin",
        "isActive": true,
        "type": "post",
        "customCaption": null,
        "additionalParams": {
          "linkedin_visibility": "PUBLIC"
        },
        "media": null,
        "thread": [],
        "publishedUrl": null,
        "publishedUrlKind": null,
        "publishState": "pending",
        "publishError": null
      }
    ],
    "updatedAt": "2026-11-19T11:00:00.000Z",
    "pendingApproval": null,
    "scheduledVia": null
  }
}