API reference
Posts: Review, approval, previews and links
Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits:
conventions. OpenAPI document: openapi.json.
All 21 Posts operations
- GET List my approval requests
- POST Create a post
- GET Find posts a caption can link to
- GET List ready posts
- GET Get a post
- PATCH Edit a post
- DELETE Delete a post
- GET Get a post's approval request
- DELETE Withdraw a post's approval request
- POST Approve a post in review
- POST Duplicate a post
- GET Check a post's links before scheduling
- POST Create a preview link
- DELETE Revoke a preview link
- POST Publish a post now
- POST Send a post in review back for changes
- POST Retry a failed post
- POST Schedule a post
- POST Schedule a post to its next free slot
- POST Send a post to review
- POST Unschedule a post
List my approval requests
/organizations/{organizationId}/workspaces/{workspaceId}/approval-requests 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 objectrequired13fields in each item
idstring (uuid)requiredpostIdstring (uuid)requiredworkspaceIdstring (uuid)requiredpostTitlestringrequiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablestatusstringrequiredOne of (may gain values):pending,approved,rejected,cancelled,expiredrequestedByobject · PostApprovalRequesterrequired5fields
userobject · PostApprovalPersonrequired2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
kindstringrequirednullableOne of (may gain values):personal_token,app,mcpnamestringrequirednullableclientIdstringoptionalnullableThe app's or assistant's OAuth client id;nullfor a personal token or once the connection is gone.logoUrlstringoptionalnullableA registered app's logo URL;nullfor assistants, personal tokens, or once the connection is gone.
createdAtstring (date-time)requireddecidedAtstring (date-time)requirednullabledecidedByobject · PostApprovalPersonrequirednullable2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
notestringrequirednullableurlstringrequiredThe post's page in the Beplan web app (for a signed-in member). Not an API URL.
pageobjectrequired2fields
nextCursorstringrequirednullablehasMorebooleanrequired
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 -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/approval-requests?status=pending" \
-H "Authorization: Bearer beplan_pat_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/link-targets 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 objectrequired7fields in each item
idstringrequiredtitlestringrequiredstatusstringrequiredOne of (may gain values):idea,in_progress,in_review,ready,scheduled,in_process,posted,failedscheduledAtstring (date-time)requirednullablemediaobjectrequirednullable2fields
typestringrequiredOne of (may gain values):image,video,gifthumbnailUrlstringrequirednullableA signed URL valid for one hour;nullwhile the media is processing.
publicationsarray of objectrequired5fields in each item
socialAccountIdstringrequiredThe account: the second id of a{{post:<postId>:<socialAccountId>}}token.platformstringrequiredusernamestringrequiredThe account's handle, to tell two accounts of a platform apart.statestringrequiredpending: not out yet;published: out on the platform;failed: publishing there failed.One of:pending,published,failedurlstringrequirednullableIts public URL once published, when the platform gave one;nullotherwise.
linksBackbooleanrequiredWithforPostId: 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 -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/posts/link-targets?q=launch" \
-H "Authorization: Bearer beplan_pat_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approval 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 · PostApprovalrequired13fields
idstring (uuid)requiredpostIdstring (uuid)requiredworkspaceIdstring (uuid)requiredpostTitlestringrequiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablestatusstringrequiredOne of (may gain values):pending,approved,rejected,cancelled,expiredrequestedByobject · PostApprovalRequesterrequired5fields
userobject · PostApprovalPersonrequired2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
kindstringrequirednullableOne of (may gain values):personal_token,app,mcpnamestringrequirednullableclientIdstringoptionalnullableThe app's or assistant's OAuth client id;nullfor a personal token or once the connection is gone.logoUrlstringoptionalnullableA registered app's logo URL;nullfor assistants, personal tokens, or once the connection is gone.
createdAtstring (date-time)requireddecidedAtstring (date-time)requirednullabledecidedByobject · PostApprovalPersonrequirednullable2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
notestringrequirednullableurlstringrequiredThe 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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approval 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 · PostApprovalrequired13fields
idstring (uuid)requiredpostIdstring (uuid)requiredworkspaceIdstring (uuid)requiredpostTitlestringrequiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablestatusstringrequiredOne of (may gain values):pending,approved,rejected,cancelled,expiredrequestedByobject · PostApprovalRequesterrequired5fields
userobject · PostApprovalPersonrequired2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
kindstringrequirednullableOne of (may gain values):personal_token,app,mcpnamestringrequirednullableclientIdstringoptionalnullableThe app's or assistant's OAuth client id;nullfor a personal token or once the connection is gone.logoUrlstringoptionalnullableA registered app's logo URL;nullfor assistants, personal tokens, or once the connection is gone.
createdAtstring (date-time)requireddecidedAtstring (date-time)requirednullabledecidedByobject · PostApprovalPersonrequirednullable2fields
idstringrequired1–128 charactersnamestringrequiredThe member's name; "A member" for an integration that does not holdmembers:read.
notestringrequirednullableurlstringrequiredThe 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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/approve 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-Keyto 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 · EditorPostrequired14fields
idstringrequiredtitlestringrequiredcaptionstringrequiredhashtagsstringrequiredformatIdsarray of stringrequiredignoreOpenFormatSlotsbooleanrequiredstatusstringrequiredWhere the post stands:idea,in_progress,in_review(drafts),ready(finished, in the ready queue, not scheduled),scheduled(waits forscheduledAt),in_process(being published),posted(published),failed(failed on at least one account: seeplatforms[].publishState). A post waiting for a person's approval keeps its status and haspendingApproval.One of (may gain values):idea,in_progress,in_review,ready,scheduled,in_process,posted,failedscheduledAtstring (date-time)requirednullableWhen it goes out (or went out), ISO 8601 UTC.mediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
platformsarray of objectrequired12fields in each item
socialAccountIdstringrequiredplatformstring · SocialPlatformrequiredOne of (may gain values):x,instagram,facebook,tiktok,linkedin,threads,pinterest,youtube,discord,blueskyisActivebooleanrequiredtypestringrequiredOne of:post,storycustomCaptionstringrequirednullableadditionalParamsmap of anyrequiredThe 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 with400 VALIDATION_FAILED.mediaarray of objectrequirednullable4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
threadarray of objectrequired3fields in each item
idstringoptionalcaptionstringrequiredmediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
publishedUrlstringoptionalnullablepublishedUrlKindstringoptionalnullableOne of:post,studiopublishStatestringoptionalOne of:pending,published,failedpublishErrorstringoptionalnullable
updatedAtstring (date-time)requiredLast change. Send it back asbaseUpdatedAtwhen saving so you never overwrite a change you haven't read.pendingApprovalobject · EditorPostPendingApprovaloptionalnullable5fields
idstring (uuid)requiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredurlstringrequired
scheduledViaobject · PostViaoptionalnullable2fields
kindstring · PublicConnectionKindrequiredOne of:personal_token,app,mcpnamestringrequired
beplanPromotionobject · EditorBeplanPromotionoptionalnullable4fields
userIdstringrequireduserNamestringrequireddisclosurestringrequiredmentionsBeplanbooleanrequired
202 Accepted
object · EditorPostPendingApprovalResponse
dataobjectrequired15fields
idstringrequiredtitlestringrequiredcaptionstringrequiredhashtagsstringrequiredformatIdsarray of stringrequiredignoreOpenFormatSlotsbooleanrequiredstatusstringrequiredWhere the post stands:idea,in_progress,in_review(drafts),ready(finished, in the ready queue, not scheduled),scheduled(waits forscheduledAt),in_process(being published),posted(published),failed(failed on at least one account: seeplatforms[].publishState). A post waiting for a person's approval keeps its status and haspendingApproval.One of (may gain values):idea,in_progress,in_review,ready,scheduled,in_process,posted,failedscheduledAtstring (date-time)requirednullableWhen it goes out (or went out), ISO 8601 UTC.mediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
platformsarray of objectrequired12fields in each item
socialAccountIdstringrequiredplatformstring · SocialPlatformrequiredOne of (may gain values):x,instagram,facebook,tiktok,linkedin,threads,pinterest,youtube,discord,blueskyisActivebooleanrequiredtypestringrequiredOne of:post,storycustomCaptionstringrequirednullableadditionalParamsmap of anyrequiredThe 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 with400 VALIDATION_FAILED.mediaarray of objectrequirednullable4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
threadarray of objectrequired3fields in each item
idstringoptionalcaptionstringrequiredmediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
publishedUrlstringoptionalnullablepublishedUrlKindstringoptionalnullableOne of:post,studiopublishStatestringoptionalOne of:pending,published,failedpublishErrorstringoptionalnullable
updatedAtstring (date-time)requiredLast change. Send it back asbaseUpdatedAtwhen saving so you never overwrite a change you haven't read.pendingApprovalobject · EditorPostPendingApprovaloptionalnullable5fields
idstring (uuid)requiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredurlstringrequired
scheduledViaobject · PostViaoptionalnullable2fields
kindstring · PublicConnectionKindrequiredOne of:personal_token,app,mcpnamestringrequired
beplanPromotionobject · EditorBeplanPromotionoptionalnullable4fields
userIdstringrequireduserNamestringrequireddisclosurestringrequiredmentionsBeplanbooleanrequired
approvalobject · PostApprovalSummaryrequired3fields
idstring (uuid)requiredstatusstringrequiredOne of:pending,approved,rejected,cancelled,expiredurlstringrequiredThe 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 -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)" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/link-status 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 · PostLinkStatusrequired2fields
linksarray of objectrequired4fields in each item
sourceSocialAccountIdstringrequiredThe account of this post whose text holds the link.targetPostIdstringrequiredThe post linked to (this post's own id for athislink).targetSocialAccountIdstringrequiredThe account of the linked post.problemstringrequirednullableWhy the link can't be published as the post stands,nullwhen 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) andorder(it goes out at the same time or later).One of (may gain values):unavailable,self,cycle,notScheduled,order
windowobject · PostLinkWindowrequired2fields
afterobject · LinkedPostRefrequirednullable3fields
idstringrequiredtitlestringrequiredscheduledAtstring (date-time)requirednullable
beforeobject · LinkedPostRefrequirednullable3fields
idstringrequiredtitlestringrequiredscheduledAtstring (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 -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_…" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/preview-links posts.previewLinks.create - Scope
- posts:write
- Role permission
- Any member who can see it
- Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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
expiresInDaysintegeroptionalfrom 1 to 30
Responses
201 Created
object · PostPreviewLinkResponse
dataobject · PostPreviewLinkrequired3fields
idstringrequiredurlstringrequiredThe 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 -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
}' 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/preview-links/{linkId} 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 -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_…" 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); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/request-changes posts.review.requestChanges - Scope
- posts:review
- Role permission
- Review posts (
post:review) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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 · EditorPostrequired14fields
idstringrequiredtitlestringrequiredcaptionstringrequiredhashtagsstringrequiredformatIdsarray of stringrequiredignoreOpenFormatSlotsbooleanrequiredstatusstringrequiredWhere the post stands:idea,in_progress,in_review(drafts),ready(finished, in the ready queue, not scheduled),scheduled(waits forscheduledAt),in_process(being published),posted(published),failed(failed on at least one account: seeplatforms[].publishState). A post waiting for a person's approval keeps its status and haspendingApproval.One of (may gain values):idea,in_progress,in_review,ready,scheduled,in_process,posted,failedscheduledAtstring (date-time)requirednullableWhen it goes out (or went out), ISO 8601 UTC.mediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
platformsarray of objectrequired12fields in each item
socialAccountIdstringrequiredplatformstring · SocialPlatformrequiredOne of (may gain values):x,instagram,facebook,tiktok,linkedin,threads,pinterest,youtube,discord,blueskyisActivebooleanrequiredtypestringrequiredOne of:post,storycustomCaptionstringrequirednullableadditionalParamsmap of anyrequiredThe 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 with400 VALIDATION_FAILED.mediaarray of objectrequirednullable4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
threadarray of objectrequired3fields in each item
idstringoptionalcaptionstringrequiredmediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
publishedUrlstringoptionalnullablepublishedUrlKindstringoptionalnullableOne of:post,studiopublishStatestringoptionalOne of:pending,published,failedpublishErrorstringoptionalnullable
updatedAtstring (date-time)requiredLast change. Send it back asbaseUpdatedAtwhen saving so you never overwrite a change you haven't read.pendingApprovalobject · EditorPostPendingApprovaloptionalnullable5fields
idstring (uuid)requiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredurlstringrequired
scheduledViaobject · PostViaoptionalnullable2fields
kindstring · PublicConnectionKindrequiredOne of:personal_token,app,mcpnamestringrequired
beplanPromotionobject · EditorBeplanPromotionoptionalnullable4fields
userIdstringrequireduserNamestringrequireddisclosurestringrequiredmentionsBeplanbooleanrequired
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 -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)" 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(); 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
/organizations/{organizationId}/workspaces/{workspaceId}/posts/{postId}/send-to-review posts.review.send - Scope
- posts:write
- Role permission
- Edit posts (
post:update) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto 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 · EditorPostrequired14fields
idstringrequiredtitlestringrequiredcaptionstringrequiredhashtagsstringrequiredformatIdsarray of stringrequiredignoreOpenFormatSlotsbooleanrequiredstatusstringrequiredWhere the post stands:idea,in_progress,in_review(drafts),ready(finished, in the ready queue, not scheduled),scheduled(waits forscheduledAt),in_process(being published),posted(published),failed(failed on at least one account: seeplatforms[].publishState). A post waiting for a person's approval keeps its status and haspendingApproval.One of (may gain values):idea,in_progress,in_review,ready,scheduled,in_process,posted,failedscheduledAtstring (date-time)requirednullableWhen it goes out (or went out), ISO 8601 UTC.mediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
platformsarray of objectrequired12fields in each item
socialAccountIdstringrequiredplatformstring · SocialPlatformrequiredOne of (may gain values):x,instagram,facebook,tiktok,linkedin,threads,pinterest,youtube,discord,blueskyisActivebooleanrequiredtypestringrequiredOne of:post,storycustomCaptionstringrequirednullableadditionalParamsmap of anyrequiredThe 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 with400 VALIDATION_FAILED.mediaarray of objectrequirednullable4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
threadarray of objectrequired3fields in each item
idstringoptionalcaptionstringrequiredmediaarray of objectrequired4fields in each item
mediaIdstringrequiredaltTextstringrequirednullableitemobject · MediaItemrequired21fields
idstringrequiredfolderIdstringrequirednullableThe folder holding the media;nullat the root of the library.filenamestringrequiredaltTextstringrequirednullablemediaTypestringrequiredOne of:image,video,gif,audiomimeTypestringrequirednullablesizenumberrequirednullableFile size in bytes, when known.widthnumberrequirednullableWidth in pixels, when known (images at upload, videos once processed);nullfor audio.heightnumberrequirednullableHeight in pixels, when known (images at upload, videos once processed);nullfor audio.aspectRationumberrequiredDisplay ratio (width / height) from the dimensions, clamped to [0.45, 2.4];1when unknown and for audio.durationnumberrequirednullableLength in seconds, for videos, GIFs and audio once known (nullfor images).waveformarray of numberrequirednullableAudio only: up to 1000 peaks (integers 0–100, 100 = full scale) spread evenly overduration.nullwhile processing, when processing failed, and for every other type.createdAtstring (date-time)requiredformatsarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
usagestringrequiredWhere the media is used:unused;usedin a post still to publish;publishedonly in posts already published (or failed).One of:unused,used,publishedprocessingobjectrequiredUpload and processing state:processing(videos and audio are being processed),ready, orfailedwith a readableerror. A media can be put in a post while processing.2fields
statestringrequiredOne of:processing,ready,failederrorstringrequirednullable
previewUrlstringrequirednullableSigned URL (valid about one hour) of the image itself or of the video's poster;nullwhile there is none yet, and always for audio.mediaUrlstringrequiredSigned URL (valid about one hour) of the original file, served inline. To save the file under its name, use the media'sdownload-url.playbackobjectrequirednullableHLS playback of a processed video (manifestUrl, loaded by the Beplan app's player with its session), elsenull. Alwaysnullthrough the public API (/v1) and MCP: usemediaUrl, or the media'sdownload-url, to fetch the file.1field
manifestUrlstringrequired
publishCopyobjectrequirednullableThe 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.nullwhen every platform takes the original, or while it is being made.4fields
mimeTypestringrequiredwidthnumberrequiredheightnumberrequiredsizenumberrequired
transcriptMatchobject · MediaTranscriptMatchoptional3fields
snippetstringrequiredstartMsnumberrequiredsourcestringoptionalOne of:speech,scene
cropobject · MediaCropoptionalnullableThe 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 + widthandy + heightat most 1.7fields
versionnumberrequiredAlways1unitstringrequiredAlwayspercentxnumberrequiredfrom 0 to 1ynumberrequiredfrom 0 to 1widthnumberrequiredabove 0 to 1heightnumberrequiredabove 0 to 1aspectRationumberoptionalgreater than 0
publishedUrlstringoptionalnullablepublishedUrlKindstringoptionalnullableOne of:post,studiopublishStatestringoptionalOne of:pending,published,failedpublishErrorstringoptionalnullable
updatedAtstring (date-time)requiredLast change. Send it back asbaseUpdatedAtwhen saving so you never overwrite a change you haven't read.pendingApprovalobject · EditorPostPendingApprovaloptionalnullable5fields
idstring (uuid)requiredactionstringrequiredOne of:schedule,publish_nowscheduledAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredurlstringrequired
scheduledViaobject · PostViaoptionalnullable2fields
kindstring · PublicConnectionKindrequiredOne of:personal_token,app,mcpnamestringrequired
beplanPromotionobject · EditorBeplanPromotionoptionalnullable4fields
userIdstringrequireduserNamestringrequireddisclosurestringrequiredmentionsBeplanbooleanrequired
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 -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"
}' 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(); 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
}
}