API reference
API reference
Base URL https://api.beplan.io/v1. 323 operations in 30 areas. The whole reference as an
OpenAPI 3.1.1 document: openapi.json.
Stability
- Within v1 the API only changes additively: new operations, new optional inputs, new response fields, and new values only in enums marked "may gain values". Ignore response fields you do not know.
- A breaking change is a new operation. The old one answers with
DeprecationandSunsetheaders, gets a changelog entry and an email to the owners of apps that called it in the last 90 days, and keeps working for at least 12 months. - Operations marked Beta are exempt from these rules and may still change.
Conventions
The Beplan API: the same operations the Beplan app uses, reached with a token. JSON in, JSON out.
Authentication
Send Authorization: Bearer <token> on every request. Two kinds of token work: a personal token
(beplan_pat_…, created in Beplan's developer settings, acting as you with the scopes you picked) and an
OAuth access token an app obtained with the authorization-code flow (PKCE, S256). Each operation needs one
scope (x-beplan-scope), a few also others (x-beplan-also-requires: all of them must be held); a token never does
more than its user's role allows (x-beplan-permission).
On 401, WWW-Authenticate: Bearer error="invalid_token"; on a missing scope, 403 INSUFFICIENT_SCOPE and
WWW-Authenticate: Bearer error="insufficient_scope", scope="…".
Organizations and workspaces
Every path names its organization (and workspace) by id. GET /me lists the organizations and workspaces the
token was given, with their state. Call it first.
Responses
Success: { "data": … }; lists: { "data": [ … ], "page": { "nextCursor", "hasMore" } }. Errors:
{ "error": { "code", "message", "details", "requestId" } } (ErrorEnvelope): branch on code, never on
message. Every response carries x-request-id. Dates are ISO 8601 in UTC, ids are opaque strings or UUIDs.
Pagination
Lists take limit and an opaque cursor; pass page.nextCursor back while page.hasMore is true.
Idempotency
Any POST accepts Idempotency-Key (1–255 visible ASCII characters). The same key with the same body within 24
hours returns the stored response (Idempotent-Replayed: true); the same key with another body is
409 IDEMPOTENCY_KEY_REUSED; a request with that key still running is 409 CONFLICT. Operations whose answer
carries signed upload URLs or a sign-in link (x-beplan-idempotency: single-flight) never store it: the key only
keeps a second run from starting while the first runs; once it finished, a repeat runs again with fresh URLs.
Concurrency
Send the baseUpdatedAt you read to avoid overwriting someone else's change: a stale one is
409 POST_CHANGED_ELSEWHERE. A post open in the Beplan editor refuses content writes with
409 POST_OPEN_IN_EDITOR and Retry-After.
Rate limits
Per connection and per organization, per minute, by plan. Every response carries RateLimit-Limit,
RateLimit-Remaining and RateLimit-Reset (seconds); a refusal is 429 RATE_LIMITED with Retry-After.
Operations that leave Beplan (x-beplan-effect: external) or reach a social platform when called
(x-beplan-reaches-platform: true) also share a smaller budget: 30 per minute per connection.
Compatibility
Within v1 the API only grows: new operations, new optional inputs, new response fields, new values in enums
marked open (x-beplan-open-enums). Ignore response fields you do not know. Unknown fields in a request are
ignored, not refused. Operations marked x-beplan-stability: beta may still change.
Areas
Identity · 1 operation
Organizations · 8 operations
- GET Get an organization
- PATCH Rename the organization
- PUT Set the logo
- DELETE Remove the logo
- POST Start a logo upload
- GET Get my membership
- GET Get the scheduling quota
- GET Get the organization's usage
Workspaces · 11 operations
- GET List workspaces
- POST Create a workspace
- GET List workspaces with their usage
- POST Delete a workspace
- GET List a workspace's formats
- POST Name the workspace after an account
- PUT Set the logo
- DELETE Remove the logo
- POST Start a logo upload
- GET Get a workspace's settings
- PATCH Update a workspace's settings
Social accounts · 14 operations
- GET List connected accounts
- POST Get a link to connect an account
- DELETE Disconnect an account
- GET List a Discord server's channels
- GET Get the Discord bot's name and avatar
- PUT Set the Discord bot's name and avatar
- GET List a Discord server's custom emoji
- GET List a Discord server's roles
- GET List a Pinterest account's boards
- POST Sync an account now
- PUT Pick the page or channel to post as
- GET List pages or channels to post as
- GET Get what a TikTok creator can post
- GET List YouTube categories
Posting slots · 4 operations
- GET List posting slots
- POST Create a posting slot
- PATCH Update a posting slot
- DELETE Delete a posting slot
Default platforms · 2 operations
Posts · 21 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
Calendar · 5 operations
Drafts · 3 operations
Snippets · 4 operations
- GET List snippets
- POST Save a snippet
- PATCH Edit a snippet
- DELETE Delete a snippet
Presets · 6 operations
- GET List post presets
- POST Create a post preset
- GET Get a post preset
- PATCH Update a post preset
- DELETE Delete a post preset
- POST Duplicate a post preset
Formats · 5 operations
- POST Create a format
- GET List formats with their details
- PATCH Update a format
- DELETE Delete a format
- GET Count what uses a format
AI · 2 operations
Media · 11 operations
- POST Clean up old media
- GET Preview a clean-up
- GET List media
- POST Delete media
- POST Tag media with formats
- POST Move media to a folder
- GET Get a media
- PATCH Rename a media or set its alt text
- GET Get a download URL
- GET List the posts using a media
- GET Get a video's transcript
Media uploads · 7 operations
- POST Import a media from a URL
- POST Cancel an upload
- POST Complete an upload
- POST Sign upload parts again
- POST Start uploading a new version
- POST Start uploading raw footage
- POST Start uploading a media
Media folders · 5 operations
- GET List folders
- POST Create a folder
- GET Get a folder
- PATCH Rename, recolor or move a folder
- DELETE Delete an empty folder
Media review · 15 operations
- POST Assign raw footage
- POST Approve a media
- POST Remove a media from review
- POST Ask for changes on a media
- GET List a media's review threads
- POST Start a review thread
- GET List people who can be mentioned
- GET List raw footage
- GET List media in review
- GET Count media in review
- GET Get a media in review
- GET Get a version's download URL
- POST Reply in a review thread
- POST Reopen a review thread
- POST Resolve a review thread
Tracked links · 4 operations
Post comments · 8 operations
Clips · 19 operations
- GET Get the Clips hours
- GET Get a clip export
- GET List Clips videos
- GET Get a Clips video
- PATCH Rename a Clips video
- DELETE Delete a Clips video
- POST Stop a Clips video
- GET List a video's clips
- GET Get a Clips video's timeline
- GET List clip style templates
- POST Save a clip style template
- PATCH Edit a clip style template
- DELETE Delete a clip style template
- POST Add clips to Drafts
- GET Get a clip
- DELETE Delete a clip
- POST Keep or discard a clip
- GET Get a clip render
- POST Save a clip render to the media library
Members · 4 operations
- GET List the members
- DELETE Remove a member
- PUT Set a member's roles
- PUT Set a member's teams
Teams · 6 operations
- GET List the teams
- POST Create a team
- PATCH Rename a team
- DELETE Delete a team
- PUT Set a team's members
- PUT Set a team's workspaces
Roles · 9 operations
Creator page · 14 operations
- GET Get the workspace's creator page
- POST Create the workspace's creator page
- PATCH Save the creator page's draft or change its handle
- GET Get the page's analytics over a period
- GET Get what the page's tiles can show
- GET Check whether a handle is free
- GET List brand inquiries
- GET List the page's own media
- POST Start uploading a file for the page
- POST Finish uploading a file for the page
- POST Publish the creator page
- GET Get the page's numbers for the last 7 days
- GET List email sign-ups
- POST Take the creator page offline
Go live · 9 operations
- GET Get the workspace's Go live setup
- PUT Save the every-stream announcement
- POST Plan a one-time stream
- PATCH Change a planned stream
- DELETE Delete a one-time planned stream
- GET Preview the announcement that would go out now
- PATCH Change Go live's switches and rules
- DELETE Disconnect Twitch
- POST Get a link to connect Twitch
Plan and billing · 2 operations
Papers · 15 operations
- GET List a workspace's Papers
- POST Create a Paper
- GET List who can be assigned, mentioned or asked to review
- GET List the Papers that can be attached to posts
- GET List the board's lanes
- GET Get a Paper with its document
- PATCH Update a Paper's title, status, assignee or due day
- DELETE Delete a Paper
- POST Duplicate a Paper
- POST Move a Paper on the board
- GET List the Papers attached to a post
- PUT Attach a Paper to one account's version of a post
- DELETE Detach the Paper from one account's version of a post
- PUT Attach a Paper to a post
- DELETE Detach the Paper from a post
Paper comments · 7 operations
Paper reviews · 5 operations
Deals · 97 operations
- GET List companies
- POST Add a company
- GET List companies that look like duplicates
- GET Get a company
- PATCH Edit a company
- POST Add a contact to a company
- POST Merge two companies
- PATCH Edit a contact
- POST Erase a contact (data protection request)
- POST Merge two contacts
- GET Read money across talents
- GET Read the agency roster
- GET Read the organization's Deals settings
- PATCH Change the organization's Deals settings
- GET List deal dates in a calendar range
- GET List deals
- POST Create a deal
- POST Start a file upload for a new deal
- POST Finish a file upload for a new deal
- GET List deals a post can belong to
- GET Read the workspace's money view
- GET Read the workspace's Deals settings
- PATCH Change the workspace's Deals settings
- PUT Set the workspace's payment chase
- GET Count deals by stage
- GET Get a deal
- PATCH Edit a deal
- DELETE Delete a deal
- PUT Set a deal's payment chase
- PUT Set a deal's agency commission
- POST Email a brand in a new conversation
- POST Add a team note to a deal
- POST Reply to a brand
- POST Add a deal date
- PATCH Change a deal date
- DELETE Remove a deal date
- POST Add a deliverable
- PATCH Edit a deliverable
- DELETE Remove a deliverable
- POST Create the post of a deliverable
- POST Mark a deliverable delivered
- POST Link a post to a deliverable
- DELETE Unlink a post from a deliverable
- PATCH Tick the disclosure checklist of a post
- POST Record a deal event
- PATCH Change a deal event
- DELETE Undo a deal event
- POST Decline, lose or reopen a deal
- POST Add a fee
- PATCH Change a fee
- DELETE Remove a fee
- POST Start a file upload on a deal
- DELETE Delete a deal file
- POST Finish a file upload on a deal
- GET Get a download link for a deal file
- POST Record an invoice
- PATCH Change an invoice
- DELETE Remove an invoice
- POST Pause or resume an invoice's chase
- POST Send a payment reminder now
- POST Record a payment
- DELETE Remove a payment
- GET Read a deal's negotiation cards
- POST Let a held sender in
- POST Put a sender back on hold
- POST Ignore a held sender
- POST Resend a failed email
- GET Read a deal's money
- PUT Set a deal's brand-side people
- GET List a deal's reports
- POST Build a brand report
- GET Get a brand report
- PATCH Edit a brand report
- POST Turn a report link off
- POST Send a brand report
- GET Read a deal's draft review
- POST Pin a note on a draft
- PATCH Mark a review comment fixed
- POST Reply to a review comment
- PATCH Change the review link
- POST Remind the brand of waiting drafts
- POST Send drafts to the brand for review
- POST Record the brand's answer to a draft
- POST Add a usage right or exclusivity
- PATCH Change a usage right
- DELETE Remove a usage right
- POST Add a split
- PATCH Change a split
- DELETE Remove a split
- POST Move a deal to a stage
- GET Read a deal's terms
- POST Add a term to a deal
- POST Confirm suggested terms
- PATCH Edit, keep or reject a term
- GET Read a deal's thread
- PUT Set who watches a deal
- GET Get the deal a post belongs to