API reference
Deals: Deliverables, dates and files
On this page
- Start a file upload for a new deal
- Finish a file upload for a new deal
- Add a deal date
- Change a deal date
- Remove a deal date
- Add a deliverable
- Edit a deliverable
- Remove a deliverable
- Create the post of a deliverable
- Mark a deliverable delivered
- Link a post to a deliverable
- Unlink a post from a deliverable
- Tick the disclosure checklist of a post
- Record a deal event
- Change a deal event
- Undo a deal event
- Decline, lose or reopen a deal
- Start a file upload on a deal
- Delete a deal file
- Finish a file upload on a deal
- Get a download link for a deal file
- Move a deal to a stage
Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits:
conventions. OpenAPI document: openapi.json.
All 97 Deals 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
Start a file upload for a new deal
/organizations/{organizationId}/workspaces/{workspaceId}/deals/files deals.files.uploads.createUnattached - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Idempotency
- Single-flight: an
Idempotency-Keyonly stops a second run while the first is running. Its answer carries signed links and is never stored, so a repeat afterwards runs again with fresh links. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Starts uploading a file before its deal exists; pass its fileId in fileIds of deals.create. Answers 201 with fileId and a signed uploadUrl. Then PUT the bytes to uploadUrl (one request, valid one hour, exactly the declared Content-Type and size, no authorization header) and confirm with the matching complete operation. Every file is then scanned for malware and rebuilt as a clean copy (PDF, PNG, JPEG, WebP, HEIC, DOCX or plain text, 25 MB at most); only the clean copy can be downloaded. The complete operation is deals.files.uploads.completeUnattached. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · CreateDealFileBody
filenamestringrequired1–255 charactersmimeTypestringrequiredOne of:application/pdf,image/png,image/jpeg,image/webp,image/heic,application/vnd.openxmlformats-officedocument.wordprocessingml.document,text/plainsizeintegerrequiredabove 0 to 26214400
Responses
201 Created
object · CreateDealFileResponse
dataobject · DealFileUploadrequired3fields
fileIdstring (uuid)requireduploadUrlstringrequiredexpiresAtstring (date-time)required
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 422 | DEAL_FILE_TYPE_REFUSED | This kind of file isn't accepted. Send a PDF, an image, a Word document or a text file. |
16 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. |
| 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. |
| 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 contract
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"filename": "acme-contract.pdf",
"mimeType": "application/pdf",
"size": 210554
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"filename": "acme-contract.pdf",
"mimeType": "application/pdf",
"size": 210554
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"filename": "acme-contract.pdf",
"mimeType": "application/pdf",
"size": 210554,
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"fileId": "e5a7c9e1-3f5b-4d7a-9c1e-5b7d9f1a3c68",
"uploadUrl": "https://storage.beplan.io/deal-files/…/acme-contract.pdf?X-Amz-Signature=…",
"expiresAt": "2026-11-20T11:00:00.000Z"
}
} Finish a file upload for a new deal
/organizations/{organizationId}/workspaces/{workspaceId}/deals/files/{itemId}/complete deals.files.uploads.completeUnattached - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Confirms an upload started with deals.files.uploads.createUnattached and queues its malware scan. Answers the file. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
200 OK
object · DealFileResponse
dataobject · DealFilerequired15fields
idstring (uuid)requireddealIdstring (uuid)requirednullablemessageIdstring (uuid)requirednullableoriginstringrequiredOne of:form,email,upload,forwardfilenamestringrequiredmimeTypestringrequirednullablesizeBytesnumberrequiredpagesnumberrequirednullablekindstringrequirednullableOne of (may gain values):brief,contract,amendment,invoice,media,otherscanobjectrequired3fields
statusstringrequiredOne of:uploading,checking,clean,blockedreasonstringrequirednullableOne of (may gain values):too_large,type_not_allowed,type_mismatch,archive,executable,script,macros,encrypted,malware,suspicious_content,corrupt,scan_failed,too_many_filesscannedAtstring (date-time)requirednullable
originalAvailablebooleanrequiredpreviewUrlstringrequirednullableuploadedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)requiredtermsReadbooleanoptional
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 409 | DEAL_FILE_NOT_UPLOADED | The file didn't finish uploading. Try again. |
17 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. |
| 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. |
| 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
Uploaded
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "e5a7c9e1-3f5b-4d7a-9c1e-5b7d9f1a3c68",
"dealId": null,
"messageId": null,
"origin": "upload",
"filename": "acme-contract.pdf",
"mimeType": "application/pdf",
"sizeBytes": 210554,
"pages": null,
"kind": null,
"scan": {
"status": "checking",
"reason": null,
"scannedAt": null
},
"originalAvailable": true,
"previewUrl": null,
"uploadedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T15:03:00.000Z",
"termsRead": false
}
} Add a deal date
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates deals.dates.create - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Adds a date: a fixed instant (fixedAt) or a rule (a deadline, an embargo, a window… from fixed instants, events or other dates, with offsets in hours, days, business days, weeks or months, in the talent's country and time zone). Its purpose says what it is for (deliverable_due, embargo, payment_due…). Rules that would loop are refused (422 DEAL_RULE_INVALID). Answers 201 with the date. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealDateBody
labelstringrequired1–160 characterspurposestringrequiredOne of:deliverable_due,draft_due,review_answer,publish_window,embargo,brand_date,report_due,invoice_due,payment_due,right_start,right_end,renewal_notice,obligation_end,customdeliverableIdstring (uuid)optionalnullablefixedAtstring (date-time)optionalruleobject · DealDateRuleoptional8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
allDaybooleanoptionalshowInCalendarbooleanoptional
Responses
201 Created
object · DealDateResponse
dataobject · DealDaterequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullablelabelstringrequiredpurposestringrequiredOne of (may gain values):deliverable_due,draft_due,review_answer,publish_window,embargo,brand_date,report_due,invoice_due,payment_due,right_start,right_end,renewal_notice,obligation_end,customcategorystringrequiredOne of:deadline,brand,money,rightsdeliverableIdstring (uuid)requirednullableinvoiceIdstring (uuid)requirednullablerightIdstring (uuid)requirednullablemodestringrequiredOne of:fixed,ruleruleobject · DealDateRulerequirednullable8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
statusstringrequiredOne of (may gain values):waiting,scheduled,due,overdue,done,overridden,cancelledatstring (date-time)requirednullablewindowEndAtstring (date-time)requirednullableallDaybooleanrequiredprovisionalbooleanrequiredoverriddenbooleanrequiredwaitingOnarray of objectrequired3fields in each item
eventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabledeliverableIdstring (uuid)requirednullable
quotestringrequirednullableshowInCalendarbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 422 | DEAL_RULE_INVALID | This date can't depend on itself. |
16 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. |
| 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. |
| 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 fixed deadline
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"label": "Draft to Acme",
"purpose": "draft_due",
"fixedAt": "2026-12-04T17:00:00.000Z"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"label": "Draft to Acme",
"purpose": "draft_due",
"fixedAt": "2026-12-04T17: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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"label": "Draft to Acme",
"purpose": "draft_due",
"fixedAt": "2026-12-04T17:00:00.000Z",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"parentId": null,
"occurrence": null,
"label": "Draft to Acme",
"purpose": "draft_due",
"category": "deadline",
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"invoiceId": null,
"rightId": null,
"mode": "fixed",
"rule": null,
"status": "scheduled",
"at": "2026-12-04T17:00:00.000Z",
"windowEndAt": null,
"allDay": false,
"provisional": false,
"overridden": false,
"waitingOn": [],
"quote": null,
"showInCalendar": true
}
} Change a deal date
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates/{itemId} deals.dates.update - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Renames a date, replaces its definition (fixedAt or rule), sets it by hand (overrideAt: it stops following its rule) or resumes the rule (clearOverride). Answers the date. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealDateBody
labelstringoptional1–160 charactersfixedAtstring (date-time)optionalruleobject · DealDateRuleoptional8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
overrideAtstring (date-time)optionalclearOverridebooleanoptionalallDaybooleanoptionalshowInCalendarbooleanoptional
Responses
200 OK
object · DealDateResponse
dataobject · DealDaterequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullablelabelstringrequiredpurposestringrequiredOne of (may gain values):deliverable_due,draft_due,review_answer,publish_window,embargo,brand_date,report_due,invoice_due,payment_due,right_start,right_end,renewal_notice,obligation_end,customcategorystringrequiredOne of:deadline,brand,money,rightsdeliverableIdstring (uuid)requirednullableinvoiceIdstring (uuid)requirednullablerightIdstring (uuid)requirednullablemodestringrequiredOne of:fixed,ruleruleobject · DealDateRulerequirednullable8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
statusstringrequiredOne of (may gain values):waiting,scheduled,due,overdue,done,overridden,cancelledatstring (date-time)requirednullablewindowEndAtstring (date-time)requirednullableallDaybooleanrequiredprovisionalbooleanrequiredoverriddenbooleanrequiredwaitingOnarray of objectrequired3fields in each item
eventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabledeliverableIdstring (uuid)requirednullable
quotestringrequirednullableshowInCalendarbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 422 | DEAL_RULE_INVALID | This date can't depend on itself. |
14 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. |
| 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. |
| 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
Rename
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"label": "First draft to Acme"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"label": "First draft to Acme"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"label": "First draft to Acme",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"parentId": null,
"occurrence": null,
"label": "First draft to Acme",
"purpose": "draft_due",
"category": "deadline",
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"invoiceId": null,
"rightId": null,
"mode": "fixed",
"rule": null,
"status": "scheduled",
"at": "2026-12-04T17:00:00.000Z",
"windowEndAt": null,
"allDay": false,
"provisional": false,
"overridden": false,
"waitingOn": [],
"quote": null,
"showInCalendar": true
}
} Remove a deal date
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates/{itemId} deals.dates.delete - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes a date and its reminders. Answers 204. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId 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 |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 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. |
| 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. |
| 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
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/dates/f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status() Answers 204 with no content.
Add a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables deals.deliverables.create - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
A deliverable is one piece the talent owes (a YouTube integration, three stories…): its post in Beplan proves it, or it is marked delivered by hand when it happens off Beplan. Adds one: title, kind, optionally the platform or the social account it goes out on, a quantity or a recurrence (which creates the child slots), the revisions included and a posting obligation. Answers 201 with the deliverable. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealDeliverableBody
titlestringrequired1–160 characterskindstringrequiredOne of:dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringoptionalnullableat most 80 charactersplatformstringoptionalnullableat most 50 characterssocialAccountIdstring (uuid)optionalnullablequantityintegeroptionalfrom 1 to 100recurrenceobject · DealRecurrenceoptionalnullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
revisionsIncludedintegeroptionalnullablefrom 0 to 20obligationobject · DealPostingObligationoptionalnullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanoptional
Responses
201 Created
object · DealDeliverableResponse
dataobject · DealDeliverablerequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of (may gain values):dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of (may gain values):todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
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. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 404 | SOCIAL_ACCOUNT_NOT_FOUND | This account isn't connected to this workspace anymore. |
16 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. |
| 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. |
| 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
One integration
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"title": "YouTube integration",
"kind": "integration",
"platform": "youtube"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"title": "YouTube integration",
"kind": "integration",
"platform": "youtube"
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"title": "YouTube integration",
"kind": "integration",
"platform": "youtube",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": null,
"quantity": 1,
"recurrence": null,
"state": "todo",
"revisions": {
"used": 0,
"included": null
},
"obligation": null,
"offPlatform": false,
"postIds": [],
"dueDateId": null,
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
} Edit a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId} deals.deliverables.update - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Changes the given fields of a deliverable, or moves its state by hand. Ids come from deals.get (deliverables). Answers the deliverable. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealDeliverableBody
titlestringoptional1–160 characterskindstringoptionalOne of:dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringoptionalnullableat most 80 charactersplatformstringoptionalnullableat most 50 characterssocialAccountIdstring (uuid)optionalnullablequantityintegeroptionalfrom 1 to 100recurrenceobject · DealRecurrenceoptionalnullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
revisionsIncludedintegeroptionalnullablefrom 0 to 20obligationobject · DealPostingObligationoptionalnullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanoptionalstatestringoptionalOne of:todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,delivered
Responses
200 OK
object · DealDeliverableResponse
dataobject · DealDeliverablerequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of (may gain values):dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of (may gain values):todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 404 | SOCIAL_ACCOUNT_NOT_FOUND | This account isn't connected to this workspace anymore. |
14 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. |
| 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. |
| 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
Rename
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"title": "YouTube integration (60 s)"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"title": "YouTube integration (60 s)"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"title": "YouTube integration (60 s)",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration (60 s)",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "drafting",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
} Remove a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId} deals.deliverables.delete - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes a deliverable and its dates; its post stays, unlinked. Answers 204. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId 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 |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 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. |
| 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. |
| 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
Remove
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status() Answers 204 with no content.
Create the post of a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/create-post deals.deliverables.posts.create - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Creates a draft post for the deliverable, already linked: prefilled with the brief's mandatory lines and promo code, on the deliverable's account when it has one, the deal's disclosure applied (caption prefix first). Edit it with posts.update. Needs a role that creates posts too. Answers 201 with postId. 409 DEAL_MARKET_REQUIRED until the workspace has answered where its audience is: a person answers it in Beplan (the disclosure market is never guessed, and an integration can't answer it). Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
201 Created
object · CreateDealPostResponse
dataobjectrequired1field
postIdstring (uuid)required
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | DEAL_MARKET_REQUIRED | Choose where your audience is in Deals settings before linking a post to a deal. |
| 409 | DEAL_POST_ALREADY_LINKED | This post is already part of a deal. |
16 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. |
| 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. |
| 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 post for it
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/create-post" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/create-post", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/create-post",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"postId": "7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02"
}
} Mark a deliverable delivered
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/delivered deals.deliverables.markDelivered - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Marks a deliverable done when it happened outside Beplan (a stream, a UGC file sent to the brand), at at (default now) with an optional proof url. Answers the deliverable. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · MarkDealDeliverableDeliveredBody
atstring (date-time)optionalurlstring (uri)optionalnullable
Responses
200 OK
object · DealDeliverableResponse
dataobject · DealDeliverablerequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of (may gain values):dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of (may gain values):todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
17 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. |
| 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. |
| 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
Done today
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/delivered" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/delivered", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/delivered",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "delivered",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [
"7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02"
],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": "2027-03-10T16:00:00.000Z",
"deliveredUrl": "https://www.youtube.com/watch?v=Ex4mpl3V1d0",
"proofs": [],
"currentVersionId": null
}
} Link a post to a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/posts deals.deliverables.posts.link - Scope
- deals:write and also posts:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Makes an existing post of the workspace (postId, from posts.list) the deliverable's post: Beplan then applies the deal's disclosure to it (the market's caption prefix, the platforms' branded-content switches) on every save, and refuses to schedule it before an embargo. Needs the posts:write scope too, and a role that edits posts. When the organization requires approval for posts from integrations, a scheduled post goes back to approval (as when the integration edits it with posts.update). 409 DEAL_POST_ALREADY_LINKED when the post belongs to another deliverable. Answers the deliverable. 409 DEAL_MARKET_REQUIRED until the workspace has answered where its audience is: a person answers it in Beplan (the disclosure market is never guessed, and an integration can't answer it). Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · LinkDealPostBody
postIdstring (uuid)required
Responses
200 OK
object · DealDeliverableResponse
dataobject · DealDeliverablerequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of (may gain values):dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of (may gain values):todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 404 | POST_NOT_FOUND | This post doesn't exist or was deleted. |
| 409 | DEAL_MARKET_REQUIRED | Choose where your audience is in Deals settings before linking a post to a deal. |
| 409 | DEAL_POST_ALREADY_LINKED | This post is already part of a deal. |
| 409 | POST_CHANGED_ELSEWHERE | This post was changed somewhere else since you opened it. Reload it or keep your version. |
| 422 | DEAL_EMBARGO | This post can't go out before the deal's embargo date. |
| 422 | POST_HAS_LINKED_POSTS | Scheduled posts link to this one. Unschedule them first, or unschedule them together. |
15 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 | 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. |
| 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. |
| 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
Link a draft
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"postId": "7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"postId": "7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02"
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"postId": "7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "drafting",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [
"7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02"
],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
} Unlink a post from a deliverable
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/posts/{postId} deals.deliverables.posts.unlink - Scope
- deals:write and also posts:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Unlinks the post from the deliverable; the post itself stays as it is. Needs the posts:write scope too, and a role that edits posts. Answers the deliverable. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) | |
postId required | path | string (uuid) |
Responses
200 OK
object · DealDeliverableResponse
dataobject · DealDeliverablerequired20fields
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of (may gain values):dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of (may gain values):todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 404 | POST_NOT_FOUND | This post doesn't exist or was deleted. |
11 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 | 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. |
| 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. |
| 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
Unlink
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "drafting",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
} Tick the disclosure checklist of a post
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/posts/{postId}/disclosure deals.deliverables.posts.disclosure.update - Scope
- deals:write and also posts:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Records the disclosure steps Beplan can't do through the platforms (checklist: Instagram's paid partnership label, YouTube's paid promotion box, Pinterest's paid partnership, saying it out loud), the media mention, and whether the brand may boost the Facebook post. Needs the posts:write scope too, and a role that edits posts. Answers the post's disclosure. Changing facebookBrandCanBoost re-applies the disclosure to the post; when the organization requires approval for posts from integrations, a scheduled post then goes back to approval (as when the integration edits it with posts.update). 409 DEAL_MARKET_REQUIRED until the workspace has answered where its audience is: a person answers it in Beplan (the disclosure market is never guessed, and an integration can't answer it). Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) | |
postId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealDisclosureBody
checklistmap of booleanoptionalmediaMentionbooleanoptionalfacebookBrandCanBoostbooleanoptional
Responses
200 OK
object · DealPostDisclosureResponse
dataobject · DealPostDisclosurerequired5fields
marketstringrequiredOne of (may gain values):fr,us,uk,othercaptionPrefixstringrequiredappliedOptionsarray of stringrequiredchecklistmap of string (date-time)requiredmediaMentionbooleanrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | DEAL_MARKET_REQUIRED | Choose where your audience is in Deals settings before linking a post to a deal. |
| 409 | POST_CHANGED_ELSEWHERE | This post was changed somewhere else since you opened it. Reload it or keep your version. |
| 422 | POST_HAS_LINKED_POSTS | Scheduled posts link to this one. Unschedule them first, or unschedule them together. |
13 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 | 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. |
| 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. |
| 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
Said it out loud
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02/disclosure" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"checklist": {
"say_it_out_loud": true
}
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02/disclosure", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"checklist": {
"say_it_out_loud": true
}
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/deliverables/d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68/posts/7c5e3a1f-9d7b-4f5d-8b3a-1e9c7a5f3d02/disclosure",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"checklist": {
"say_it_out_loud": True,
},
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"market": "fr",
"captionPrefix": "Collaboration commerciale",
"appliedOptions": [],
"checklist": {
"youtube_paid_promotion": null,
"say_it_out_loud": "2026-11-20T10:15:00.000Z"
},
"mediaMention": true
}
} Record a deal event
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events deals.events.create - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Records that something happened (product_received, contract_signed_brand, shoot_day…, or custom with a customLabel), now, backdated (occurredAt) or planned (planned: true). Dates that hang off it ("publish 14 days after the product arrives") are recomputed shortly after. A per-deliverable kind needs deliverableId. Answers 201 with the event. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealEventBody
kindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomLabelstringoptional1–160 charactersdeliverableIdstring (uuid)optionaloccurredAtstring (date-time)optionalplannedbooleanoptional
Responses
201 Created
object · DealEventResponse
dataobject · DealEventrequired12fields
idstring (uuid)requiredkindstringrequiredOne of (may gain values):inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomLabelstringrequirednullabledeliverableIdstring (uuid)requirednullablestatusstringrequiredOne of:happened,suggested,planned,dismissedsourcestringrequiredOne of:auto,suggested,manual,deemedoccurredAtstring (date-time)requirednullableplannedForstring (date-time)requirednullablequotestringrequirednullablesourceMessageIdstring (uuid)requirednullablerecordedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (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. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
16 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. |
| 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. |
| 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
The product arrived
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"kind": "product_received"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"kind": "product_received"
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"kind": "product_received",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
"kind": "product_received",
"customLabel": null,
"deliverableId": null,
"status": "happened",
"source": "manual",
"occurredAt": "2026-11-19T10:00:00.000Z",
"plannedFor": null,
"quote": null,
"sourceMessageId": null,
"recordedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T10:04:00.000Z"
}
} Change a deal event
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events/{itemId} deals.events.update - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Moves an event (occurredAt, plannedFor), confirms one Beplan suggested (status: happened) or dismisses it. Answers the event. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Request body JSON, required
object · UpdateDealEventBody
occurredAtstring (date-time)optionalplannedForstring (date-time)optionalstatusstringoptionalOne of:happened,dismissed
Responses
200 OK
object · DealEventResponse
dataobject · DealEventrequired12fields
idstring (uuid)requiredkindstringrequiredOne of (may gain values):inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomLabelstringrequirednullabledeliverableIdstring (uuid)requirednullablestatusstringrequiredOne of:happened,suggested,planned,dismissedsourcestringrequiredOne of:auto,suggested,manual,deemedoccurredAtstring (date-time)requirednullableplannedForstring (date-time)requirednullablequotestringrequirednullablesourceMessageIdstring (uuid)requirednullablerecordedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)required
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
14 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. |
| 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. |
| 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 day earlier
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"occurredAt": "2026-11-18T10:00:00.000Z"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"occurredAt": "2026-11-18T10:00:00.000Z"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"occurredAt": "2026-11-18T10:00:00.000Z",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
"kind": "product_received",
"customLabel": null,
"deliverableId": null,
"status": "happened",
"source": "manual",
"occurredAt": "2026-11-18T10:00:00.000Z",
"plannedFor": null,
"quote": null,
"sourceMessageId": null,
"recordedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T10:04:00.000Z"
}
} Undo a deal event
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events/{itemId} deals.events.delete - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes an event; dates that hung off it go back to waiting. Answers 204. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId 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 |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_ITEM_NOT_FOUND | This doesn't exist on this deal anymore. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 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. |
| 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. |
| 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
Undo
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/events/e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status() Answers 204 with no content.
Decline, lose or reopen a deal
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/exit deals.exit.set - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Ends a deal as declined (the talent said no) or lost (the brand went away), or reopens it with null; the stage stays what it was. Answers with the deal. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · SetDealExitBody
exitstringrequirednullableOne of:declined,lost
Responses
200 OK
object · DealDetailResponse
dataobject · DealDetailrequired39fields
idstring (uuid)requiredtitlestringrequiredsummarystringrequirednullablecompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
representedByobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
stagestringrequiredOne of:inquiry,negotiating,signed,production,delivered,invoiced,paid,closedexitstringrequirednullableOne of:declined,lost,scamriskLevelstringrequiredOne of:none,caution,highscamDecisionstringrequirednullableOne of:ask,scam,genuinesourcestringrequiredOne of:form,email,forward,dm,manualownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
valueobject · DealValuerequirednullable4fields
minMinornumberrequirednullablemaxMinornumberrequirednullablecurrencystringrequirednotestringrequirednullable
amountsHiddenbooleanrequirednextActionobject · DealNextActionrequirednullable8fields
typestringrequiredOne of:event,reply,review_draft,review_chase,review_report,review_feedback,decide_scam,confirm_terms,send_review,none,fix_message,review_contract,review_comments,renew_right,write_to_brandmessageKeystringrequiredvaluesmap of string or numberrequireddueAtstring (date-time)requirednullabletonestringrequiredOne of:neutral,review,failedeventKindstringrequirednullableOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabletargetIdstring (uuid)requirednullable
deliverablesarray of objectrequired20fields in each item
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of:dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of:todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
unreadbooleanrequiredneedsYoubooleanrequiredstageChangedAtstring (date-time)requiredlastActivityAtstring (date-time)requiredcreatedAtstring (date-time)requiredversionnumberrequiredcurrencystringrequiredbudgetstringrequirednullableOne of:under_1k,1k_5k,over_5k,product_onlywatchersarray of objectrequired3fields in each item
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
participantsarray of objectrequired2fields in each item
contactobject · DealContactRefrequired6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
receivesRepliesbooleanrequired
conversationsarray of objectrequired10fields in each item
idstring (uuid)requiredchannelstringrequiredOne of:email,dmplatformstring · InboxPlatformrequirednullableOne of:instagram,facebook,tiktok,linkedin,threads,youtube,blueskyaddressstringrequirednullablesubjectstringrequirednullablecontactobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
lastActivityAtstring (date-time)requiredneedsReplybooleanrequiredisUnreadForMebooleanrequiredversionnumberrequired
addressstringrequirednullableriskobjectrequired2fields
levelstringrequiredOne of:none,caution,highsignalsarray of objectrequired3fields in each item
signalstringrequiredOne of:dmarc_fail,spf_dkim_unaligned,reply_to_mismatch,display_name_spoof,free_mail_company,domain_recent,domain_lookalike,company_domain_mismatch,asks_to_run_software,file_sharing_link,shortened_link,attachment_password,asks_credentials,asks_fee,crypto_or_gift_card,off_platform_chat,pay_too_high_urgent,file_blocked,sender_reputationweightnumberrequireddetailmap of string or numberrequired
briefobject · DealBriefrequirednullable6fields
mustSayarray of stringrequiredat most 20 items · each 1–300 characterspromoCodestringrequirednullableat most 60 characterslinksarray of objectrequiredat most 10 items2fields in each item
labelstringrequired1–80 charactersurlstring (uri)required
dosarray of stringrequiredat most 20 items · each 1–300 charactersdontsarray of stringrequiredat most 20 items · each 1–300 charactersfileIdsarray of string (uuid)optionalat most 10 items
filesarray of objectrequired15fields in each item
idstring (uuid)requireddealIdstring (uuid)requirednullablemessageIdstring (uuid)requirednullableoriginstringrequiredOne of:form,email,upload,forwardfilenamestringrequiredmimeTypestringrequirednullablesizeBytesnumberrequiredpagesnumberrequirednullablekindstringrequirednullableOne of:brief,contract,amendment,invoice,media,otherscanobjectrequired3fields
statusstringrequiredOne of:uploading,checking,clean,blockedreasonstringrequirednullableOne of:too_large,type_not_allowed,type_mismatch,archive,executable,script,macros,encrypted,malware,suspicious_content,corrupt,scan_failed,too_many_filesscannedAtstring (date-time)requirednullable
originalAvailablebooleanrequiredpreviewUrlstringrequirednullableuploadedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)requiredtermsReadbooleanoptional
termsobjectrequired4fields
suggestednumberrequiredconfirmedAtstring (date-time)requirednullableextractingbooleanrequiredamendmentPendingbooleanrequired
eventsarray of objectrequired12fields in each item
idstring (uuid)requiredkindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomLabelstringrequirednullabledeliverableIdstring (uuid)requirednullablestatusstringrequiredOne of:happened,suggested,planned,dismissedsourcestringrequiredOne of:auto,suggested,manual,deemedoccurredAtstring (date-time)requirednullableplannedForstring (date-time)requirednullablequotestringrequirednullablesourceMessageIdstring (uuid)requirednullablerecordedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)required
datesarray of objectrequired20fields in each item
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullablelabelstringrequiredpurposestringrequiredOne of:deliverable_due,draft_due,review_answer,publish_window,embargo,brand_date,report_due,invoice_due,payment_due,right_start,right_end,renewal_notice,obligation_end,customcategorystringrequiredOne of:deadline,brand,money,rightsdeliverableIdstring (uuid)requirednullableinvoiceIdstring (uuid)requirednullablerightIdstring (uuid)requirednullablemodestringrequiredOne of:fixed,ruleruleobject · DealDateRulerequirednullable8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
statusstringrequiredOne of:waiting,scheduled,due,overdue,done,overridden,cancelledatstring (date-time)requirednullablewindowEndAtstring (date-time)requirednullableallDaybooleanrequiredprovisionalbooleanrequiredoverriddenbooleanrequiredwaitingOnarray of objectrequired3fields in each item
eventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabledeliverableIdstring (uuid)requirednullable
quotestringrequirednullableshowInCalendarbooleanrequired
rightsarray of objectrequired19fields in each item
idstring (uuid)requiredkindstringrequiredOne of:usage_organic,usage_paid,whitelisting,exclusivity,ownership,takedown,must_stay_livelabelstringrequireddetailstringrequirednullablechannelsarray of stringrequiredterritoriesarray of stringrequiredcategorystringrequirednullablecompetitorsarray of stringrequiredownershipstringrequirednullableOne of:license,buyoutadAccountControlledBystringrequirednullableOne of:brand,creatorautoRenewsbooleanrequiredstartDateIdstring (uuid)requirednullableendDateIdstring (uuid)requirednullablerenewalNoticeDateIdstring (uuid)requirednullablestartsAtstring (date-time)requirednullableendsAtstring (date-time)requirednullableprogressnumberrequirednullabledaysLeftnumberrequirednullablewarnbooleanrequired
reviewobject · DealReviewStaterequired3fields
waitingnumberrequiredopenCommentsnumberrequiredlinkUrlstringrequirednullableThe brand's review link;nullwithout one, and for an integration that does not holddeals:send.
moneyobject · DealMoneyDetailrequirednullable7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
kpisarray of objectrequirednullable11fields in each item
idstring (uuid)requiredkindstringrequiredOne of:own_history,brand_history,expected_results,price_terms,similar_creators,risktitlestringrequiredvaluestringrequireddetailstringrequiredevidencestringrequiredevidenceCountnumberrequiredtonestringrequiredOne of:neutral,cautionconfidencestringrequiredOne of:high,medium,lowdataSourcestringrequiredOne of:own,similar_creators,audiencecomputedAtstring (date-time)required
reportobjectrequirednullable3fields
idstring (uuid)requiredstatusstringrequiredOne of:building,draft,sent,revoked,failedsentAtstring (date-time)requirednullable
inquiryIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
16 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. |
| 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. |
| 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
Declined
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/exit" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"exit": "declined"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/exit", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"exit": "declined"
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/exit",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"exit": "declined",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"title": "Acme headphones launch",
"summary": "One YouTube integration in March, usage on paid social for 3 months.",
"company": {
"id": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"name": "Acme",
"kind": "brand",
"domain": "acme.test.beplan.local",
"logoUrl": null,
"category": null
},
"representedBy": null,
"stage": "closed",
"exit": "declined",
"riskLevel": "none",
"scamDecision": null,
"source": "manual",
"owner": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"value": {
"minMinor": 180000,
"maxMinor": 240000,
"currency": "EUR",
"note": null
},
"amountsHidden": false,
"nextAction": null,
"deliverables": [
{
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "drafting",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
],
"unread": false,
"needsYou": false,
"stageChangedAt": "2026-11-20T10:00:00.000Z",
"lastActivityAt": "2026-11-20T10:00:00.000Z",
"createdAt": "2026-11-18T09:30:00.000Z",
"version": 5,
"currency": "EUR",
"budget": "1k_5k",
"watchers": [],
"participants": [
{
"contact": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"receivesReplies": true
}
],
"conversations": [
{
"id": "e1f3a5c7-9b2d-4e6f-8a0c-1d3e5f7a9b24",
"channel": "email",
"platform": null,
"address": "[email protected]",
"subject": "Acme x Studio Halden: headphones launch",
"contact": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"lastActivityAt": "2026-11-19T15:02:00.000Z",
"needsReply": true,
"isUnreadForMe": false,
"version": 3
}
],
"address": "[email protected]",
"risk": {
"level": "none",
"signals": []
},
"brief": {
"mustSay": [
"40 hours of battery life"
],
"promoCode": "HALDEN15",
"links": [
{
"label": "Product page",
"url": "https://acme.test.beplan.local/headphones"
}
],
"dos": [
"Show the case and the fold"
],
"donts": [
"No comparison with other brands"
],
"fileIds": [
"a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46"
]
},
"files": [
{
"id": "a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46",
"dealId": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"messageId": null,
"origin": "upload",
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"sizeBytes": 482113,
"pages": 4,
"kind": "brief",
"scan": {
"status": "clean",
"reason": null,
"scannedAt": "2026-11-19T15:03:12.000Z"
},
"originalAvailable": true,
"previewUrl": "https://storage.beplan.io/deal-files/…/preview.png?X-Amz-Signature=…",
"uploadedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T15:03:00.000Z",
"termsRead": true
}
],
"terms": {
"suggested": 1,
"confirmedAt": null,
"extracting": false,
"amendmentPending": false
},
"events": [
{
"id": "e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
"kind": "product_received",
"customLabel": null,
"deliverableId": null,
"status": "happened",
"source": "manual",
"occurredAt": "2026-11-19T10:00:00.000Z",
"plannedFor": null,
"quote": null,
"sourceMessageId": null,
"recordedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T10:04:00.000Z"
}
],
"dates": [
{
"id": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"parentId": null,
"occurrence": null,
"label": "Draft to Acme",
"purpose": "draft_due",
"category": "deadline",
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"invoiceId": null,
"rightId": null,
"mode": "fixed",
"rule": null,
"status": "scheduled",
"at": "2026-12-04T17:00:00.000Z",
"windowEndAt": null,
"allDay": false,
"provisional": false,
"overridden": false,
"waitingOn": [],
"quote": null,
"showInCalendar": true
}
],
"rights": [
{
"id": "a2c4e6a8-0b2d-4f4c-9e6a-8c0e2b4d6f91",
"kind": "usage_paid",
"label": "Paid social usage",
"detail": null,
"channels": [
"meta_ads"
],
"territories": [
"FR",
"BE"
],
"category": null,
"competitors": [],
"ownership": null,
"adAccountControlledBy": "brand",
"autoRenews": false,
"startDateId": "b1d3f5b7-9c1e-4a3d-8f5b-7d9f1b3d5f02",
"endDateId": "c2e4a6c8-0d2f-4b4e-9a6c-8e0a2c4e6a13",
"renewalNoticeDateId": null,
"startsAt": "2026-12-01T00:00:00.000Z",
"endsAt": "2027-03-01T00:00:00.000Z",
"progress": 0,
"daysLeft": 90,
"warn": false
}
],
"review": {
"waiting": 0,
"openComments": 0,
"linkUrl": null
},
"money": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
},
"kpis": [
{
"id": "e2a4c6e8-0b2d-4f4a-8c6e-8a0c2e4b6d24",
"kind": "own_history",
"title": "Your past integrations",
"value": "1,800–2,400 EUR",
"detail": "Your last 4 YouTube integrations of 60–90 seconds were paid in this range.",
"evidence": "4 paid deals since March 2026",
"evidenceCount": 4,
"tone": "neutral",
"confidence": "high",
"dataSource": "own",
"computedAt": "2026-11-19T15:05:00.000Z"
}
],
"report": null,
"inquiryId": null
}
} Start a file upload on a deal
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files deals.files.uploads.create - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Changes data in Beplan.
- Idempotency
- Single-flight: an
Idempotency-Keyonly stops a second run while the first is running. Its answer carries signed links and is never stored, so a repeat afterwards runs again with fresh links. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Starts uploading a file (a brief, a contract, a rate card) to a deal: answers 201 with fileId and a signed uploadUrl. Then PUT the bytes to uploadUrl (one request, valid one hour, exactly the declared Content-Type and size, no authorization header) and confirm with the matching complete operation. Every file is then scanned for malware and rebuilt as a clean copy (PDF, PNG, JPEG, WebP, HEIC, DOCX or plain text, 25 MB at most); only the clean copy can be downloaded. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · CreateDealFileBody
filenamestringrequired1–255 charactersmimeTypestringrequiredOne of:application/pdf,image/png,image/jpeg,image/webp,image/heic,application/vnd.openxmlformats-officedocument.wordprocessingml.document,text/plainsizeintegerrequiredabove 0 to 26214400
Responses
201 Created
object · CreateDealFileResponse
dataobject · DealFileUploadrequired3fields
fileIdstring (uuid)requireduploadUrlstringrequiredexpiresAtstring (date-time)required
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 422 | DEAL_FILE_TYPE_REFUSED | This kind of file isn't accepted. Send a PDF, an image, a Word document or a text file. |
16 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. |
| 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. |
| 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 PDF brief
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"size": 482113
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"size": 482113
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"size": 482113,
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"fileId": "a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46",
"uploadUrl": "https://storage.beplan.io/deal-files/…/acme-brief.pdf?X-Amz-Signature=…",
"expiresAt": "2026-11-20T11:00:00.000Z"
}
} Delete a deal file
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId} deals.files.delete - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Deletes a file of a deal, its clean copy and its original. Answers 204. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId 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 |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
13 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. |
| 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. |
| 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
Delete one
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status() Answers 204 with no content.
Finish a file upload on a deal
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId}/complete deals.files.uploads.complete - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Confirms that the bytes reached uploadUrl (409 DEAL_FILE_NOT_UPLOADED when they did not, or with another size) and queues the malware scan. Answers the file, its scan.status checking; read the deal again to see it turn clean or blocked. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
200 OK
object · DealFileResponse
dataobject · DealFilerequired15fields
idstring (uuid)requireddealIdstring (uuid)requirednullablemessageIdstring (uuid)requirednullableoriginstringrequiredOne of:form,email,upload,forwardfilenamestringrequiredmimeTypestringrequirednullablesizeBytesnumberrequiredpagesnumberrequirednullablekindstringrequirednullableOne of (may gain values):brief,contract,amendment,invoice,media,otherscanobjectrequired3fields
statusstringrequiredOne of:uploading,checking,clean,blockedreasonstringrequirednullableOne of (may gain values):too_large,type_not_allowed,type_mismatch,archive,executable,script,macros,encrypted,malware,suspicious_content,corrupt,scan_failed,too_many_filesscannedAtstring (date-time)requirednullable
originalAvailablebooleanrequiredpreviewUrlstringrequirednullableuploadedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)requiredtermsReadbooleanoptional
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | DEAL_FILE_NOT_UPLOADED | The file didn't finish uploading. Try again. |
17 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. |
| 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. |
| 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
Uploaded
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/complete",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46",
"dealId": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"messageId": null,
"origin": "upload",
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"sizeBytes": 482113,
"pages": null,
"kind": null,
"scan": {
"status": "checking",
"reason": null,
"scannedAt": null
},
"originalAvailable": true,
"previewUrl": null,
"uploadedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T15:03:00.000Z",
"termsRead": false
}
} Get a download link for a deal file
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId}/download deals.files.download - Scope
- deals:read
- Role permission
- See deals (
deals:read) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Returns a signed link to the clean copy of a file (valid 5 minutes, downloads as an attachment; fetch it without an authorization header). 409 DEAL_FILE_NOT_CLEAN while the file is being checked or when it was blocked. Files come from brands: open them as documents, never run them. The quarantined original is not available through the API. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) | |
itemId required | path | string (uuid) |
Responses
200 OK
object · DealFileDownloadResponse
dataobjectrequired3fields
urlstringrequiredexpiresAtstring (date-time)requiredfilenamestringrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_FILE_NOT_FOUND | This file doesn't exist on this deal. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
| 409 | DEAL_FILE_NOT_CLEAN | This file is still being checked, or it was blocked. |
13 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. |
| 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. |
| 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 clean brief
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/download" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/download", {
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/files/a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46/download",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"url": "https://storage.beplan.io/deal-files/…/acme-brief.pdf?X-Amz-Signature=…",
"expiresAt": "2026-11-20T10:05:00.000Z",
"filename": "acme-brief.pdf"
}
} Move a deal to a stage
/organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/stage deals.stage.set - Scope
- deals:write
- Role permission
- Manage deals (
deals:manage) - 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-20.
Moves a deal to any stage (inquiry, negotiating, signed, production, delivered, invoiced, paid, closed), as dragging it on the board does; logged in its thread. Reaching signed freezes its commission. Answers with the deal. Needs the organization's Deals feature (403 DEALS_NOT_AVAILABLE otherwise).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) | |
dealId required | path | string (uuid) |
Request body JSON, required
object · SetDealStageBody
stagestringrequiredOne of:inquiry,negotiating,signed,production,delivered,invoiced,paid,closed
Responses
200 OK
object · DealDetailResponse
dataobject · DealDetailrequired39fields
idstring (uuid)requiredtitlestringrequiredsummarystringrequirednullablecompanyobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
representedByobject · DealCompanyRefrequirednullable6fields
idstring (uuid)requirednamestringrequiredkindstringrequiredOne of:brand,agencydomainstringrequirednullablelogoUrlstringrequirednullablecategorystringrequirednullable
stagestringrequiredOne of:inquiry,negotiating,signed,production,delivered,invoiced,paid,closedexitstringrequirednullableOne of:declined,lost,scamriskLevelstringrequiredOne of:none,caution,highscamDecisionstringrequirednullableOne of:ask,scam,genuinesourcestringrequiredOne of:form,email,forward,dm,manualownerobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
valueobject · DealValuerequirednullable4fields
minMinornumberrequirednullablemaxMinornumberrequirednullablecurrencystringrequirednotestringrequirednullable
amountsHiddenbooleanrequirednextActionobject · DealNextActionrequirednullable8fields
typestringrequiredOne of:event,reply,review_draft,review_chase,review_report,review_feedback,decide_scam,confirm_terms,send_review,none,fix_message,review_contract,review_comments,renew_right,write_to_brandmessageKeystringrequiredvaluesmap of string or numberrequireddueAtstring (date-time)requirednullabletonestringrequiredOne of:neutral,review,failedeventKindstringrequirednullableOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabletargetIdstring (uuid)requirednullable
deliverablesarray of objectrequired20fields in each item
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullabletitlestringrequiredkindstringrequiredOne of:dedicated_video,integration,short,reel,story,post,carousel,stream_segment,ugc_asset,link_in_bio,otherkindLabelstringrequirednullableplatformstringrequirednullablesocialAccountIdstring (uuid)requirednullablequantitynumberrequiredrecurrenceobject · DealRecurrencerequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
statestringrequiredOne of:todo,drafting,awaiting_approval,changes_requested,approved,scheduled,published,deliveredrevisionsobjectrequired2fields
usednumberrequiredincludednumberrequirednullable
obligationobject · DealPostingObligationrequirednullable3fields
minLiveDaysintegerrequirednullablefrom 1 to 3650pinnedDaysintegerrequirednullablefrom 1 to 365linkInBioDaysintegerrequirednullablefrom 1 to 365
offPlatformbooleanrequiredpostIdsarray of string (uuid)requireddueDateIdstring (uuid)requirednullabledeliveredAtstring (date-time)requirednullabledeliveredUrlstringrequirednullableproofsarray of objectrequired9fields in each item
idstring (uuid)requiredplatformstringrequiredurlstringrequirednullablecaptionstringrequirednullablepublishedAtstring (date-time)requiredmediaarray of objectrequired5fields in each item
urlstringrequiredtypestringrequiredOne of:image,videowidthnumberrequirednullableheightnumberrequirednullabledurationSecondsnumberrequirednullable
screenshotUrlstringrequirednullablemetricsmap of objectrequiredEach value
capturedAtstring (date-time)requiredviewsnumberrequirednullablereachnumberrequirednullablelikesnumberrequirednullablecommentsnumberrequirednullablesharesnumberrequirednullablesavesnumberrequirednullableclicksnumberrequirednullablewatchTimeSecondsnumberrequirednullableengagementRatenumberrequirednullable
dailyViewsarray of numberrequirednullable
currentVersionIdstring (uuid)requirednullable
unreadbooleanrequiredneedsYoubooleanrequiredstageChangedAtstring (date-time)requiredlastActivityAtstring (date-time)requiredcreatedAtstring (date-time)requiredversionnumberrequiredcurrencystringrequiredbudgetstringrequirednullableOne of:under_1k,1k_5k,over_5k,product_onlywatchersarray of objectrequired3fields in each item
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
participantsarray of objectrequired2fields in each item
contactobject · DealContactRefrequired6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
receivesRepliesbooleanrequired
conversationsarray of objectrequired10fields in each item
idstring (uuid)requiredchannelstringrequiredOne of:email,dmplatformstring · InboxPlatformrequirednullableOne of:instagram,facebook,tiktok,linkedin,threads,youtube,blueskyaddressstringrequirednullablesubjectstringrequirednullablecontactobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
lastActivityAtstring (date-time)requiredneedsReplybooleanrequiredisUnreadForMebooleanrequiredversionnumberrequired
addressstringrequirednullableriskobjectrequired2fields
levelstringrequiredOne of:none,caution,highsignalsarray of objectrequired3fields in each item
signalstringrequiredOne of:dmarc_fail,spf_dkim_unaligned,reply_to_mismatch,display_name_spoof,free_mail_company,domain_recent,domain_lookalike,company_domain_mismatch,asks_to_run_software,file_sharing_link,shortened_link,attachment_password,asks_credentials,asks_fee,crypto_or_gift_card,off_platform_chat,pay_too_high_urgent,file_blocked,sender_reputationweightnumberrequireddetailmap of string or numberrequired
briefobject · DealBriefrequirednullable6fields
mustSayarray of stringrequiredat most 20 items · each 1–300 characterspromoCodestringrequirednullableat most 60 characterslinksarray of objectrequiredat most 10 items2fields in each item
labelstringrequired1–80 charactersurlstring (uri)required
dosarray of stringrequiredat most 20 items · each 1–300 charactersdontsarray of stringrequiredat most 20 items · each 1–300 charactersfileIdsarray of string (uuid)optionalat most 10 items
filesarray of objectrequired15fields in each item
idstring (uuid)requireddealIdstring (uuid)requirednullablemessageIdstring (uuid)requirednullableoriginstringrequiredOne of:form,email,upload,forwardfilenamestringrequiredmimeTypestringrequirednullablesizeBytesnumberrequiredpagesnumberrequirednullablekindstringrequirednullableOne of:brief,contract,amendment,invoice,media,otherscanobjectrequired3fields
statusstringrequiredOne of:uploading,checking,clean,blockedreasonstringrequirednullableOne of:too_large,type_not_allowed,type_mismatch,archive,executable,script,macros,encrypted,malware,suspicious_content,corrupt,scan_failed,too_many_filesscannedAtstring (date-time)requirednullable
originalAvailablebooleanrequiredpreviewUrlstringrequirednullableuploadedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)requiredtermsReadbooleanoptional
termsobjectrequired4fields
suggestednumberrequiredconfirmedAtstring (date-time)requirednullableextractingbooleanrequiredamendmentPendingbooleanrequired
eventsarray of objectrequired12fields in each item
idstring (uuid)requiredkindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomLabelstringrequirednullabledeliverableIdstring (uuid)requirednullablestatusstringrequiredOne of:happened,suggested,planned,dismissedsourcestringrequiredOne of:auto,suggested,manual,deemedoccurredAtstring (date-time)requirednullableplannedForstring (date-time)requirednullablequotestringrequirednullablesourceMessageIdstring (uuid)requirednullablerecordedByobject · MediaPersonrequirednullable3fields
idstringrequirednamestringrequiredThe member's name. "A member" for an integration that does not holdmembers:read(the id is kept; the Inbox always names them).imagestringrequirednullableTheir picture's URL;nullwithout one, and for an integration that does not holdmembers:read(outside the Inbox).
createdAtstring (date-time)required
datesarray of objectrequired20fields in each item
idstring (uuid)requiredparentIdstring (uuid)requirednullableoccurrencenumberrequirednullablelabelstringrequiredpurposestringrequiredOne of:deliverable_due,draft_due,review_answer,publish_window,embargo,brand_date,report_due,invoice_due,payment_due,right_start,right_end,renewal_notice,obligation_end,customcategorystringrequiredOne of:deadline,brand,money,rightsdeliverableIdstring (uuid)requirednullableinvoiceIdstring (uuid)requirednullablerightIdstring (uuid)requirednullablemodestringrequiredOne of:fixed,ruleruleobject · DealDateRulerequirednullable8fields
kindstringrequiredOne of:deadline,earliest,window,recurring,spacingtermsarray of objectrequired1–4 itemsItem: type: "fixed"
typestringrequiredAlwaysfixedatstring (date-time)required
Item: type: "event"
typestringrequiredAlwayseventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullable1–160 charactersdeliverableIdstring (uuid)requirednullableoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
Item: type: "date"
typestringrequiredAlwaysdatedateIdstring (uuid)requiredoffsetintegerrequiredfrom 0 to 3650unitstringrequiredOne of:hours,days,business_days,weeks,monthsdirectionstringrequiredOne of:before,afterendOfMonthbooleanrequiredcountrystringrequirednullableOne of:FR,BE,CH,DE,ES,IT,NL,PT,IE,GB,US,CA,AU
combinatorstringrequirednullableOne of:first,lastwindowDaysintegerrequirednullablefrom 1 to 366recurringobjectrequirednullable2fields
everystringrequiredOne of:week,two_weeks,monthtimesintegerrequiredfrom 2 to 52
spacingobjectrequirednullable2fields
minDaysintegerrequiredfrom 1 to 90deliverableIdsarray of string (uuid)requiredat least 2 items
timeOfDaystringrequirednullablematches^([01]\d|2[0-3]):[0-5]\d$consequenceobject · DealDateConsequencerequirednullableVariant: type: "deemed_event"
typestringrequiredAlwaysdeemed_eventeventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customunlessEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
Variant: type: "fee_due"
typestringrequiredAlwaysfee_duefeeIdstring (uuid)requiredifEventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,custom
statusstringrequiredOne of:waiting,scheduled,due,overdue,done,overridden,cancelledatstring (date-time)requirednullablewindowEndAtstring (date-time)requirednullableallDaybooleanrequiredprovisionalbooleanrequiredoverriddenbooleanrequiredwaitingOnarray of objectrequired3fields in each item
eventKindstringrequiredOne of:inquiry_received,offer_sent,offer_accepted,contract_received,contract_signed_talent,contract_signed_brand,po_received,kickoff_call_held,brief_received,brief_approved,deposit_invoiced,deposit_paid,product_shipped,product_received,product_returned,access_received,sample_approved,place_visited,event_attended,trip_started,trip_ended,shoot_day,stay_started,stay_ended,product_launch,embargo_lifted,campaign_started,campaign_ended,brand_event,concept_submitted,concept_approved,script_submitted,script_approved,draft_submitted,draft_approved,changes_requested,revision_submitted,final_submitted,raw_files_delivered,captions_approved,deliverable_scheduled,deliverable_published,all_deliverables_published,stream_started,stream_ended,sponsored_segment_aired,story_posted,link_in_bio_added,link_in_bio_removed,comment_pinned,threshold_reached,days_live_reached,report_sent,report_acknowledged,invoice_sent,invoice_due,partial_payment,paid_in_full,late_fee_due,usage_started,usage_ended,whitelisting_started,whitelisting_ended,exclusivity_started,exclusivity_ended,takedown_allowed,auto_renewed,customcustomEventLabelstringrequirednullabledeliverableIdstring (uuid)requirednullable
quotestringrequirednullableshowInCalendarbooleanrequired
rightsarray of objectrequired19fields in each item
idstring (uuid)requiredkindstringrequiredOne of:usage_organic,usage_paid,whitelisting,exclusivity,ownership,takedown,must_stay_livelabelstringrequireddetailstringrequirednullablechannelsarray of stringrequiredterritoriesarray of stringrequiredcategorystringrequirednullablecompetitorsarray of stringrequiredownershipstringrequirednullableOne of:license,buyoutadAccountControlledBystringrequirednullableOne of:brand,creatorautoRenewsbooleanrequiredstartDateIdstring (uuid)requirednullableendDateIdstring (uuid)requirednullablerenewalNoticeDateIdstring (uuid)requirednullablestartsAtstring (date-time)requirednullableendsAtstring (date-time)requirednullableprogressnumberrequirednullabledaysLeftnumberrequirednullablewarnbooleanrequired
reviewobject · DealReviewStaterequired3fields
waitingnumberrequiredopenCommentsnumberrequiredlinkUrlstringrequirednullableThe brand's review link;nullwithout one, and for an integration that does not holddeals:send.
moneyobject · DealMoneyDetailrequirednullable7fields
currencystringrequiredfeesarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:offer,fixed,per_deliverable,bonus,kill_fee,late_fee,extra_revision,expense,in_kindlabelstringrequiredamountMinornumberrequiredtaxPercentnumberrequirednullabledeliverableIdstring (uuid)requirednullableconditionstringrequirednullablestatusstringrequiredOne of:proposed,agreed,due,cancelled
splitsarray of objectrequired8fields in each item
idstring (uuid)requiredkindstringrequiredOne of:manager,co_creator,otherlabelstringrequiredrecipientNamestringrequirednullablerecipientUserIdstringrequirednullablesharePercentnumberrequirednullableamountMinornumberrequirednullablecomputedAmountMinornumberrequired
invoicesarray of objectrequired21fields in each item
idstring (uuid)requirednumberstringrequiredkindstringrequiredOne of:full,deposit,balanceissuedOnstring (date)requirednullabledueKindstringrequiredOne of:date,on_signature,on_deliverydueOnstring (date)requirednullableamountMinornumberrequiredtaxMinornumberrequiredcurrencystringrequiredpaidMinornumberrequiredstatusstringrequiredOne of:draft,sent,partly_paid,paid,late,voiddaysLatenumberrequirednullablepdfFileIdstring (uuid)requirednullablebillToobject · DealContactRefrequirednullable6fields
idstring (uuid)requirednamestringrequirednullableemailstringrequirednullablerolestringrequirednullablecompanyIdstring (uuid)requirednullableerasedbooleanrequired
connectedTostringrequirednullableOne of:pennylane,qonto,storecove,xero,quickbooksexternalUrlstringrequirednullablesyncedAtstring (date-time)requirednullablepaymentsarray of objectrequired5fields in each item
idstring (uuid)requiredamountMinornumberrequiredreceivedOnstring (date)requiredsourcestringrequiredOne of:manual,syncnotestringrequirednullable
chasearray of objectrequired8fields in each item
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finaloffsetDaysnumberrequiredstatestringrequiredOne of:drafted,sent,skippedmessageIdstring (uuid)requirednullableskipReasonstringrequirednullabledraftedAtstring (date-time)requirednullablesentAtstring (date-time)requirednullable
nextChaseobjectrequirednullable4fields
stepPositionnumberrequiredtonestringrequiredOne of:nudge,firm,finalatstring (date-time)requiredautoSendbooleanrequired
chasePausedbooleanrequired
totalsobjectrequired4fields
agreedMinornumberrequiredinvoicedMinornumberrequiredpaidMinornumberrequiredoutstandingMinornumberrequired
commissionobjectrequired6fields
percentnumberrequiredsourcestringrequiredOne of:locked,deal,roster,organization,noneoverridePercentnumberrequirednullablebookedMinornumberrequiredearnedMinornumberrequiredagencyNamestringrequired
chaseSequencestringrequiredOne of:workspace,deal
kpisarray of objectrequirednullable11fields in each item
idstring (uuid)requiredkindstringrequiredOne of:own_history,brand_history,expected_results,price_terms,similar_creators,risktitlestringrequiredvaluestringrequireddetailstringrequiredevidencestringrequiredevidenceCountnumberrequiredtonestringrequiredOne of:neutral,cautionconfidencestringrequiredOne of:high,medium,lowdataSourcestringrequiredOne of:own,similar_creators,audiencecomputedAtstring (date-time)required
reportobjectrequirednullable3fields
idstring (uuid)requiredstatusstringrequiredOne of:building,draft,sent,revoked,failedsentAtstring (date-time)requirednullable
inquiryIdstring (uuid)requirednullable
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | DEALS_NOT_AVAILABLE | Deals aren't available for this organization yet. |
| 404 | DEAL_NOT_FOUND | This deal doesn't exist in this workspace. |
17 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. |
| 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. |
| 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
Signed
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/stage" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"stage": "signed"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/stage", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"stage": "signed"
}),
});
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/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/deals/5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13/stage",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"stage": "signed",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"title": "Acme headphones launch",
"summary": "One YouTube integration in March, usage on paid social for 3 months.",
"company": {
"id": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"name": "Acme",
"kind": "brand",
"domain": "acme.test.beplan.local",
"logoUrl": null,
"category": null
},
"representedBy": null,
"stage": "signed",
"exit": null,
"riskLevel": "none",
"scamDecision": null,
"source": "manual",
"owner": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"value": {
"minMinor": 180000,
"maxMinor": 240000,
"currency": "EUR",
"note": null
},
"amountsHidden": false,
"nextAction": {
"type": "confirm_terms",
"messageKey": "deals:next.confirmTerms",
"values": {
"count": 1
},
"dueAt": null,
"tone": "review",
"eventKind": null,
"customEventLabel": null,
"targetId": null
},
"deliverables": [
{
"id": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"parentId": null,
"occurrence": null,
"title": "YouTube integration",
"kind": "integration",
"kindLabel": null,
"platform": "youtube",
"socialAccountId": "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f",
"quantity": 1,
"recurrence": null,
"state": "drafting",
"revisions": {
"used": 0,
"included": 2
},
"obligation": {
"minLiveDays": 365,
"pinnedDays": null,
"linkInBioDays": null
},
"offPlatform": false,
"postIds": [],
"dueDateId": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"deliveredAt": null,
"deliveredUrl": null,
"proofs": [],
"currentVersionId": null
}
],
"unread": false,
"needsYou": true,
"stageChangedAt": "2026-11-20T10:00:00.000Z",
"lastActivityAt": "2026-11-20T10:00:00.000Z",
"createdAt": "2026-11-18T09:30:00.000Z",
"version": 5,
"currency": "EUR",
"budget": "1k_5k",
"watchers": [],
"participants": [
{
"contact": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"receivesReplies": true
}
],
"conversations": [
{
"id": "e1f3a5c7-9b2d-4e6f-8a0c-1d3e5f7a9b24",
"channel": "email",
"platform": null,
"address": "[email protected]",
"subject": "Acme x Studio Halden: headphones launch",
"contact": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"lastActivityAt": "2026-11-19T15:02:00.000Z",
"needsReply": true,
"isUnreadForMe": false,
"version": 3
}
],
"address": "[email protected]",
"risk": {
"level": "none",
"signals": []
},
"brief": {
"mustSay": [
"40 hours of battery life"
],
"promoCode": "HALDEN15",
"links": [
{
"label": "Product page",
"url": "https://acme.test.beplan.local/headphones"
}
],
"dos": [
"Show the case and the fold"
],
"donts": [
"No comparison with other brands"
],
"fileIds": [
"a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46"
]
},
"files": [
{
"id": "a7c9e1f3-5b7d-4a9c-8e2f-4a6c8e0b2d46",
"dealId": "5b2e8c41-7d3a-4f19-9e6b-0c8a2d4f6e13",
"messageId": null,
"origin": "upload",
"filename": "acme-brief.pdf",
"mimeType": "application/pdf",
"sizeBytes": 482113,
"pages": 4,
"kind": "brief",
"scan": {
"status": "clean",
"reason": null,
"scannedAt": "2026-11-19T15:03:12.000Z"
},
"originalAvailable": true,
"previewUrl": "https://storage.beplan.io/deal-files/…/preview.png?X-Amz-Signature=…",
"uploadedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T15:03:00.000Z",
"termsRead": true
}
],
"terms": {
"suggested": 1,
"confirmedAt": null,
"extracting": false,
"amendmentPending": false
},
"events": [
{
"id": "e6a8c0e2-4f6b-4d8f-9a0c-2e4b6d8f0a79",
"kind": "product_received",
"customLabel": null,
"deliverableId": null,
"status": "happened",
"source": "manual",
"occurredAt": "2026-11-19T10:00:00.000Z",
"plannedFor": null,
"quote": null,
"sourceMessageId": null,
"recordedBy": {
"id": "user_2x8Kq",
"name": "Alex Martin",
"image": null
},
"createdAt": "2026-11-19T10:04:00.000Z"
}
],
"dates": [
{
"id": "f9b1d3f5-7a9c-4e1b-8d3f-5a7c9e1b3d80",
"parentId": null,
"occurrence": null,
"label": "Draft to Acme",
"purpose": "draft_due",
"category": "deadline",
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"invoiceId": null,
"rightId": null,
"mode": "fixed",
"rule": null,
"status": "scheduled",
"at": "2026-12-04T17:00:00.000Z",
"windowEndAt": null,
"allDay": false,
"provisional": false,
"overridden": false,
"waitingOn": [],
"quote": null,
"showInCalendar": true
}
],
"rights": [
{
"id": "a2c4e6a8-0b2d-4f4c-9e6a-8c0e2b4d6f91",
"kind": "usage_paid",
"label": "Paid social usage",
"detail": null,
"channels": [
"meta_ads"
],
"territories": [
"FR",
"BE"
],
"category": null,
"competitors": [],
"ownership": null,
"adAccountControlledBy": "brand",
"autoRenews": false,
"startDateId": "b1d3f5b7-9c1e-4a3d-8f5b-7d9f1b3d5f02",
"endDateId": "c2e4a6c8-0d2f-4b4e-9a6c-8e0a2c4e6a13",
"renewalNoticeDateId": null,
"startsAt": "2026-12-01T00:00:00.000Z",
"endsAt": "2027-03-01T00:00:00.000Z",
"progress": 0,
"daysLeft": 90,
"warn": false
}
],
"review": {
"waiting": 0,
"openComments": 0,
"linkUrl": null
},
"money": {
"currency": "EUR",
"fees": [
{
"id": "b5d7f9b1-3c5e-4a7c-8f9b-1d3f5a7c9e13",
"kind": "fixed",
"label": "Integration fee",
"amountMinor": 200000,
"taxPercent": null,
"deliverableId": "d3f5a7c9-1e3a-4c5e-8b7d-9f1a3c5e7b68",
"condition": null,
"status": "agreed"
}
],
"splits": [
{
"id": "c8e0a2c4-6d8f-4b0d-9a2c-4e6a8c0e2a24",
"kind": "manager",
"label": "Manager",
"recipientName": "Alex Martin",
"recipientUserId": "user_2x8Kq",
"sharePercent": 10,
"amountMinor": null,
"computedAmountMinor": 20000
}
],
"invoices": [
{
"id": "d1f3b5d7-9e1a-4c3e-8b5d-7f9b1d3f5b35",
"number": "INV-12",
"kind": "full",
"issuedOn": "2026-11-20",
"dueKind": "date",
"dueOn": "2026-12-20",
"amountMinor": 200000,
"taxMinor": 0,
"currency": "EUR",
"paidMinor": 0,
"status": "sent",
"daysLate": null,
"pdfFileId": null,
"billTo": {
"id": "c2e6a8d4-5f1b-4e3c-8a7d-9b0f2c4e6a81",
"name": "Jo Rivera",
"email": "[email protected]",
"role": "Partnerships",
"companyId": "8a4d2f6c-1e3b-4c7a-9d5e-2f0b6a8c4e17",
"erased": false
},
"connectedTo": null,
"externalUrl": null,
"syncedAt": null,
"payments": [],
"chase": [],
"nextChase": {
"stepPosition": 1,
"tone": "nudge",
"at": "2026-12-23T09:00:00.000Z",
"autoSend": false
},
"chasePaused": false
}
],
"totals": {
"agreedMinor": 200000,
"invoicedMinor": 200000,
"paidMinor": 0,
"outstandingMinor": 200000
},
"commission": {
"percent": 20,
"source": "roster",
"overridePercent": null,
"bookedMinor": 40000,
"earnedMinor": 0,
"agencyName": "Studio Halden"
},
"chaseSequence": "workspace"
},
"kpis": [
{
"id": "e2a4c6e8-0b2d-4f4a-8c6e-8a0c2e4b6d24",
"kind": "own_history",
"title": "Your past integrations",
"value": "1,800–2,400 EUR",
"detail": "Your last 4 YouTube integrations of 60–90 seconds were paid in this range.",
"evidence": "4 paid deals since March 2026",
"evidenceCount": 4,
"tone": "neutral",
"confidence": "high",
"dataSource": "own",
"computedAt": "2026-11-19T15:05:00.000Z"
}
],
"report": null,
"inquiryId": null
}
}