Start free
Docs · Deals

API reference

Deals: Deliverables, dates and files

Read as Markdown

On this page
  1. Start a file upload for a new deal
  2. Finish a file upload for a new deal
  3. Add a deal date
  4. Change a deal date
  5. Remove a deal date
  6. Add a deliverable
  7. Edit a deliverable
  8. Remove a deliverable
  9. Create the post of a deliverable
  10. Mark a deliverable delivered
  11. Link a post to a deliverable
  12. Unlink a post from a deliverable
  13. Tick the disclosure checklist of a post
  14. Record a deal event
  15. Change a deal event
  16. Undo a deal event
  17. Decline, lose or reopen a deal
  18. Start a file upload on a deal
  19. Delete a deal file
  20. Finish a file upload on a deal
  21. Get a download link for a deal file
  22. 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

Start a file upload for a new deal

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/files
Beta Changes data deals.files.uploads.createUnattached
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Single-flight: an Idempotency-Key only 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

  • filenamestringrequired
    1–255 characters
  • mimeTypestringrequired
    One of: application/pdf, image/png, image/jpeg, image/webp, image/heic, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain
  • sizeintegerrequired
    above 0 to 26214400

Responses

201 Created

object · CreateDealFileResponse

  • dataobject · DealFileUploadrequired
    3fields
    • fileIdstring (uuid)required
    • uploadUrlstringrequired
    • expiresAtstring (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
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
}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/files/{itemId}/complete
Beta Changes data deals.files.uploads.completeUnattached
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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 · DealFilerequired
    15fields
    • idstring (uuid)required
    • dealIdstring (uuid)requirednullable
    • messageIdstring (uuid)requirednullable
    • originstringrequired
      One of: form, email, upload, forward
    • filenamestringrequired
    • mimeTypestringrequirednullable
    • sizeBytesnumberrequired
    • pagesnumberrequirednullable
    • kindstringrequirednullable
      One of (may gain values): brief, contract, amendment, invoice, media, other
    • scanobjectrequired
      3fields
      • statusstringrequired
        One of: uploading, checking, clean, blocked
      • reasonstringrequirednullable
        One of (may gain values): too_large, type_not_allowed, type_mismatch, archive, executable, script, macros, encrypted, malware, suspicious_content, corrupt, scan_failed, too_many_files
      • scannedAtstring (date-time)requirednullable
    • originalAvailablebooleanrequired
    • previewUrlstringrequirednullable
    • uploadedByobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • createdAtstring (date-time)required
    • termsReadbooleanoptional

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
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)"
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates
Beta Changes data deals.dates.create
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • labelstringrequired
    1–160 characters
  • purposestringrequired
    One 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, custom
  • deliverableIdstring (uuid)optionalnullable
  • fixedAtstring (date-time)optional
  • ruleobject · DealDateRuleoptional
    8fields
    • kindstringrequired
      One of: deadline, earliest, window, recurring, spacing
    • termsarray of objectrequired
      1–4 items
      Item: type: "fixed"
      • typestringrequired
        Always fixed
      • atstring (date-time)required
      Item: type: "event"
      • typestringrequired
        Always event
      • eventKindstringrequired
        One 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
      • customEventLabelstringrequirednullable
        1–160 characters
      • deliverableIdstring (uuid)requirednullable
      • offsetintegerrequired
        from 0 to 3650
      • unitstringrequired
        One of: hours, days, business_days, weeks, months
      • directionstringrequired
        One of: before, after
      • endOfMonthbooleanrequired
      • countrystringrequirednullable
        One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
      Item: type: "date"
      • typestringrequired
        Always date
      • dateIdstring (uuid)required
      • offsetintegerrequired
        from 0 to 3650
      • unitstringrequired
        One of: hours, days, business_days, weeks, months
      • directionstringrequired
        One of: before, after
      • endOfMonthbooleanrequired
      • countrystringrequirednullable
        One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
    • combinatorstringrequirednullable
      One of: first, last
    • windowDaysintegerrequirednullable
      from 1 to 366
    • recurringobjectrequirednullable
      2fields
      • everystringrequired
        One of: week, two_weeks, month
      • timesintegerrequired
        from 2 to 52
    • spacingobjectrequirednullable
      2fields
      • minDaysintegerrequired
        from 1 to 90
      • deliverableIdsarray of string (uuid)required
        at least 2 items
    • timeOfDaystringrequirednullable
      matches ^([01]\d|2[0-3]):[0-5]\d$
    • consequenceobject · DealDateConsequencerequirednullable
      Variant: type: "deemed_event"
      • typestringrequired
        Always deemed_event
      • eventKindstringrequired
        One 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
      • unlessEventKindstringrequired
        One 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"
      • typestringrequired
        Always fee_due
      • feeIdstring (uuid)required
      • ifEventKindstringrequired
        One 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
  • allDaybooleanoptional
  • showInCalendarbooleanoptional

Responses

201 Created

object · DealDateResponse

  • dataobject · DealDaterequired
    20fields
    • idstring (uuid)required
    • parentIdstring (uuid)requirednullable
    • occurrencenumberrequirednullable
    • labelstringrequired
    • purposestringrequired
      One 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, custom
    • categorystringrequired
      One of: deadline, brand, money, rights
    • deliverableIdstring (uuid)requirednullable
    • invoiceIdstring (uuid)requirednullable
    • rightIdstring (uuid)requirednullable
    • modestringrequired
      One of: fixed, rule
    • ruleobject · DealDateRulerequirednullable
      8fields
      • kindstringrequired
        One of: deadline, earliest, window, recurring, spacing
      • termsarray of objectrequired
        1–4 items
        Item: type: "fixed"
        • typestringrequired
          Always fixed
        • atstring (date-time)required
        Item: type: "event"
        • typestringrequired
          Always event
        • eventKindstringrequired
          One 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
        • customEventLabelstringrequirednullable
          1–160 characters
        • deliverableIdstring (uuid)requirednullable
        • offsetintegerrequired
          from 0 to 3650
        • unitstringrequired
          One of: hours, days, business_days, weeks, months
        • directionstringrequired
          One of: before, after
        • endOfMonthbooleanrequired
        • countrystringrequirednullable
          One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
        Item: type: "date"
        • typestringrequired
          Always date
        • dateIdstring (uuid)required
        • offsetintegerrequired
          from 0 to 3650
        • unitstringrequired
          One of: hours, days, business_days, weeks, months
        • directionstringrequired
          One of: before, after
        • endOfMonthbooleanrequired
        • countrystringrequirednullable
          One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
      • combinatorstringrequirednullable
        One of: first, last
      • windowDaysintegerrequirednullable
        from 1 to 366
      • recurringobjectrequirednullable
        2fields
        • everystringrequired
          One of: week, two_weeks, month
        • timesintegerrequired
          from 2 to 52
      • spacingobjectrequirednullable
        2fields
        • minDaysintegerrequired
          from 1 to 90
        • deliverableIdsarray of string (uuid)required
          at least 2 items
      • timeOfDaystringrequirednullable
        matches ^([01]\d|2[0-3]):[0-5]\d$
      • consequenceobject · DealDateConsequencerequirednullable
        Variant: type: "deemed_event"
        • typestringrequired
          Always deemed_event
        • eventKindstringrequired
          One 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
        • unlessEventKindstringrequired
          One 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"
        • typestringrequired
          Always fee_due
        • feeIdstring (uuid)required
        • ifEventKindstringrequired
          One 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
    • statusstringrequired
      One of (may gain values): waiting, scheduled, due, overdue, done, overridden, cancelled
    • atstring (date-time)requirednullable
    • windowEndAtstring (date-time)requirednullable
    • allDaybooleanrequired
    • provisionalbooleanrequired
    • overriddenbooleanrequired
    • waitingOnarray of objectrequired
      3fields in each item
      • eventKindstringrequired
        One 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
      • customEventLabelstringrequirednullable
      • deliverableIdstring (uuid)requirednullable
    • quotestringrequirednullable
    • showInCalendarbooleanrequired

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
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"
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates/{itemId}
Beta Changes data 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

  • labelstringoptional
    1–160 characters
  • fixedAtstring (date-time)optional
  • ruleobject · DealDateRuleoptional
    8fields
    • kindstringrequired
      One of: deadline, earliest, window, recurring, spacing
    • termsarray of objectrequired
      1–4 items
      Item: type: "fixed"
      • typestringrequired
        Always fixed
      • atstring (date-time)required
      Item: type: "event"
      • typestringrequired
        Always event
      • eventKindstringrequired
        One 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
      • customEventLabelstringrequirednullable
        1–160 characters
      • deliverableIdstring (uuid)requirednullable
      • offsetintegerrequired
        from 0 to 3650
      • unitstringrequired
        One of: hours, days, business_days, weeks, months
      • directionstringrequired
        One of: before, after
      • endOfMonthbooleanrequired
      • countrystringrequirednullable
        One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
      Item: type: "date"
      • typestringrequired
        Always date
      • dateIdstring (uuid)required
      • offsetintegerrequired
        from 0 to 3650
      • unitstringrequired
        One of: hours, days, business_days, weeks, months
      • directionstringrequired
        One of: before, after
      • endOfMonthbooleanrequired
      • countrystringrequirednullable
        One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
    • combinatorstringrequirednullable
      One of: first, last
    • windowDaysintegerrequirednullable
      from 1 to 366
    • recurringobjectrequirednullable
      2fields
      • everystringrequired
        One of: week, two_weeks, month
      • timesintegerrequired
        from 2 to 52
    • spacingobjectrequirednullable
      2fields
      • minDaysintegerrequired
        from 1 to 90
      • deliverableIdsarray of string (uuid)required
        at least 2 items
    • timeOfDaystringrequirednullable
      matches ^([01]\d|2[0-3]):[0-5]\d$
    • consequenceobject · DealDateConsequencerequirednullable
      Variant: type: "deemed_event"
      • typestringrequired
        Always deemed_event
      • eventKindstringrequired
        One 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
      • unlessEventKindstringrequired
        One 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"
      • typestringrequired
        Always fee_due
      • feeIdstring (uuid)required
      • ifEventKindstringrequired
        One 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)optional
  • clearOverridebooleanoptional
  • allDaybooleanoptional
  • showInCalendarbooleanoptional

Responses

200 OK

object · DealDateResponse

  • dataobject · DealDaterequired
    20fields
    • idstring (uuid)required
    • parentIdstring (uuid)requirednullable
    • occurrencenumberrequirednullable
    • labelstringrequired
    • purposestringrequired
      One 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, custom
    • categorystringrequired
      One of: deadline, brand, money, rights
    • deliverableIdstring (uuid)requirednullable
    • invoiceIdstring (uuid)requirednullable
    • rightIdstring (uuid)requirednullable
    • modestringrequired
      One of: fixed, rule
    • ruleobject · DealDateRulerequirednullable
      8fields
      • kindstringrequired
        One of: deadline, earliest, window, recurring, spacing
      • termsarray of objectrequired
        1–4 items
        Item: type: "fixed"
        • typestringrequired
          Always fixed
        • atstring (date-time)required
        Item: type: "event"
        • typestringrequired
          Always event
        • eventKindstringrequired
          One 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
        • customEventLabelstringrequirednullable
          1–160 characters
        • deliverableIdstring (uuid)requirednullable
        • offsetintegerrequired
          from 0 to 3650
        • unitstringrequired
          One of: hours, days, business_days, weeks, months
        • directionstringrequired
          One of: before, after
        • endOfMonthbooleanrequired
        • countrystringrequirednullable
          One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
        Item: type: "date"
        • typestringrequired
          Always date
        • dateIdstring (uuid)required
        • offsetintegerrequired
          from 0 to 3650
        • unitstringrequired
          One of: hours, days, business_days, weeks, months
        • directionstringrequired
          One of: before, after
        • endOfMonthbooleanrequired
        • countrystringrequirednullable
          One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
      • combinatorstringrequirednullable
        One of: first, last
      • windowDaysintegerrequirednullable
        from 1 to 366
      • recurringobjectrequirednullable
        2fields
        • everystringrequired
          One of: week, two_weeks, month
        • timesintegerrequired
          from 2 to 52
      • spacingobjectrequirednullable
        2fields
        • minDaysintegerrequired
          from 1 to 90
        • deliverableIdsarray of string (uuid)required
          at least 2 items
      • timeOfDaystringrequirednullable
        matches ^([01]\d|2[0-3]):[0-5]\d$
      • consequenceobject · DealDateConsequencerequirednullable
        Variant: type: "deemed_event"
        • typestringrequired
          Always deemed_event
        • eventKindstringrequired
          One 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
        • unlessEventKindstringrequired
          One 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"
        • typestringrequired
          Always fee_due
        • feeIdstring (uuid)required
        • ifEventKindstringrequired
          One 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
    • statusstringrequired
      One of (may gain values): waiting, scheduled, due, overdue, done, overridden, cancelled
    • atstring (date-time)requirednullable
    • windowEndAtstring (date-time)requirednullable
    • allDaybooleanrequired
    • provisionalbooleanrequired
    • overriddenbooleanrequired
    • waitingOnarray of objectrequired
      3fields in each item
      • eventKindstringrequired
        One 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
      • customEventLabelstringrequirednullable
      • deliverableIdstring (uuid)requirednullable
    • quotestringrequirednullable
    • showInCalendarbooleanrequired

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
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"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/dates/{itemId}
Beta Deletes 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
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_…"
TypeScript
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);
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables
Beta Changes data deals.deliverables.create
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • titlestringrequired
    1–160 characters
  • kindstringrequired
    One of: dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
  • kindLabelstringoptionalnullable
    at most 80 characters
  • platformstringoptionalnullable
    at most 50 characters
  • socialAccountIdstring (uuid)optionalnullable
  • quantityintegeroptional
    from 1 to 100
  • recurrenceobject · DealRecurrenceoptionalnullable
    2fields
    • everystringrequired
      One of: week, two_weeks, month
    • timesintegerrequired
      from 2 to 52
  • revisionsIncludedintegeroptionalnullable
    from 0 to 20
  • obligationobject · DealPostingObligationoptionalnullable
    3fields
    • minLiveDaysintegerrequirednullable
      from 1 to 3650
    • pinnedDaysintegerrequirednullable
      from 1 to 365
    • linkInBioDaysintegerrequirednullable
      from 1 to 365
  • offPlatformbooleanoptional

Responses

201 Created

object · DealDeliverableResponse

  • dataobject · DealDeliverablerequired
    20fields
    • idstring (uuid)required
    • parentIdstring (uuid)requirednullable
    • occurrencenumberrequirednullable
    • titlestringrequired
    • kindstringrequired
      One of (may gain values): dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
    • kindLabelstringrequirednullable
    • platformstringrequirednullable
    • socialAccountIdstring (uuid)requirednullable
    • quantitynumberrequired
    • recurrenceobject · DealRecurrencerequirednullable
      2fields
      • everystringrequired
        One of: week, two_weeks, month
      • timesintegerrequired
        from 2 to 52
    • statestringrequired
      One of (may gain values): todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered
    • revisionsobjectrequired
      2fields
      • usednumberrequired
      • includednumberrequirednullable
    • obligationobject · DealPostingObligationrequirednullable
      3fields
      • minLiveDaysintegerrequirednullable
        from 1 to 3650
      • pinnedDaysintegerrequirednullable
        from 1 to 365
      • linkInBioDaysintegerrequirednullable
        from 1 to 365
    • offPlatformbooleanrequired
    • postIdsarray of string (uuid)required
    • dueDateIdstring (uuid)requirednullable
    • deliveredAtstring (date-time)requirednullable
    • deliveredUrlstringrequirednullable
    • proofsarray of objectrequired
      9fields in each item
      • idstring (uuid)required
      • platformstringrequired
      • urlstringrequirednullable
      • captionstringrequirednullable
      • publishedAtstring (date-time)required
      • mediaarray of objectrequired
        5fields in each item
        • urlstringrequired
        • typestringrequired
          One of: image, video
        • widthnumberrequirednullable
        • heightnumberrequirednullable
        • durationSecondsnumberrequirednullable
      • screenshotUrlstringrequirednullable
      • metricsmap of objectrequired
        Each value
        • capturedAtstring (date-time)required
        • viewsnumberrequirednullable
        • reachnumberrequirednullable
        • likesnumberrequirednullable
        • commentsnumberrequirednullable
        • sharesnumberrequirednullable
        • savesnumberrequirednullable
        • clicksnumberrequirednullable
        • watchTimeSecondsnumberrequirednullable
        • engagementRatenumberrequirednullable
      • 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
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"
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}
Beta Changes data 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

  • titlestringoptional
    1–160 characters
  • kindstringoptional
    One of: dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
  • kindLabelstringoptionalnullable
    at most 80 characters
  • platformstringoptionalnullable
    at most 50 characters
  • socialAccountIdstring (uuid)optionalnullable
  • quantityintegeroptional
    from 1 to 100
  • recurrenceobject · DealRecurrenceoptionalnullable
    2fields
    • everystringrequired
      One of: week, two_weeks, month
    • timesintegerrequired
      from 2 to 52
  • revisionsIncludedintegeroptionalnullable
    from 0 to 20
  • obligationobject · DealPostingObligationoptionalnullable
    3fields
    • minLiveDaysintegerrequirednullable
      from 1 to 3650
    • pinnedDaysintegerrequirednullable
      from 1 to 365
    • linkInBioDaysintegerrequirednullable
      from 1 to 365
  • offPlatformbooleanoptional
  • statestringoptional
    One of: todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered

Responses

200 OK

object · DealDeliverableResponse

  • dataobject · DealDeliverablerequired
    20fields
    • idstring (uuid)required
    • parentIdstring (uuid)requirednullable
    • occurrencenumberrequirednullable
    • titlestringrequired
    • kindstringrequired
      One of (may gain values): dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
    • kindLabelstringrequirednullable
    • platformstringrequirednullable
    • socialAccountIdstring (uuid)requirednullable
    • quantitynumberrequired
    • recurrenceobject · DealRecurrencerequirednullable
      2fields
      • everystringrequired
        One of: week, two_weeks, month
      • timesintegerrequired
        from 2 to 52
    • statestringrequired
      One of (may gain values): todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered
    • revisionsobjectrequired
      2fields
      • usednumberrequired
      • includednumberrequirednullable
    • obligationobject · DealPostingObligationrequirednullable
      3fields
      • minLiveDaysintegerrequirednullable
        from 1 to 3650
      • pinnedDaysintegerrequirednullable
        from 1 to 365
      • linkInBioDaysintegerrequirednullable
        from 1 to 365
    • offPlatformbooleanrequired
    • postIdsarray of string (uuid)required
    • dueDateIdstring (uuid)requirednullable
    • deliveredAtstring (date-time)requirednullable
    • deliveredUrlstringrequirednullable
    • proofsarray of objectrequired
      9fields in each item
      • idstring (uuid)required
      • platformstringrequired
      • urlstringrequirednullable
      • captionstringrequirednullable
      • publishedAtstring (date-time)required
      • mediaarray of objectrequired
        5fields in each item
        • urlstringrequired
        • typestringrequired
          One of: image, video
        • widthnumberrequirednullable
        • heightnumberrequirednullable
        • durationSecondsnumberrequirednullable
      • screenshotUrlstringrequirednullable
      • metricsmap of objectrequired
        Each value
        • capturedAtstring (date-time)required
        • viewsnumberrequirednullable
        • reachnumberrequirednullable
        • likesnumberrequirednullable
        • commentsnumberrequirednullable
        • sharesnumberrequirednullable
        • savesnumberrequirednullable
        • clicksnumberrequirednullable
        • watchTimeSecondsnumberrequirednullable
        • engagementRatenumberrequirednullable
      • 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
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)"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}
Beta Deletes 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
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_…"
TypeScript
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);
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/create-post
Beta Changes data deals.deliverables.posts.create
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • dataobjectrequired
    1field
    • 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
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)"
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/delivered
Beta Changes data deals.deliverables.markDelivered
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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)optional
  • urlstring (uri)optionalnullable

Responses

200 OK

object · DealDeliverableResponse

  • dataobject · DealDeliverablerequired
    20fields
    • idstring (uuid)required
    • parentIdstring (uuid)requirednullable
    • occurrencenumberrequirednullable
    • titlestringrequired
    • kindstringrequired
      One of (may gain values): dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
    • kindLabelstringrequirednullable
    • platformstringrequirednullable
    • socialAccountIdstring (uuid)requirednullable
    • quantitynumberrequired
    • recurrenceobject · DealRecurrencerequirednullable
      2fields
      • everystringrequired
        One of: week, two_weeks, month
      • timesintegerrequired
        from 2 to 52
    • statestringrequired
      One of (may gain values): todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered
    • revisionsobjectrequired
      2fields
      • usednumberrequired
      • includednumberrequirednullable
    • obligationobject · DealPostingObligationrequirednullable
      3fields
      • minLiveDaysintegerrequirednullable
        from 1 to 3650
      • pinnedDaysintegerrequirednullable
        from 1 to 365
      • linkInBioDaysintegerrequirednullable
        from 1 to 365
    • offPlatformbooleanrequired
    • postIdsarray of string (uuid)required
    • dueDateIdstring (uuid)requirednullable
    • deliveredAtstring (date-time)requirednullable
    • deliveredUrlstringrequirednullable
    • proofsarray of objectrequired
      9fields in each item
      • idstring (uuid)required
      • platformstringrequired
      • urlstringrequirednullable
      • captionstringrequirednullable
      • publishedAtstring (date-time)required
      • mediaarray of objectrequired
        5fields in each item
        • urlstringrequired
        • typestringrequired
          One of: image, video
        • widthnumberrequirednullable
        • heightnumberrequirednullable
        • durationSecondsnumberrequirednullable
      • screenshotUrlstringrequirednullable
      • metricsmap of objectrequired
        Each value
        • capturedAtstring (date-time)required
        • viewsnumberrequirednullable
        • reachnumberrequirednullable
        • likesnumberrequirednullable
        • commentsnumberrequirednullable
        • sharesnumberrequirednullable
        • savesnumberrequirednullable
        • clicksnumberrequirednullable
        • watchTimeSecondsnumberrequirednullable
        • engagementRatenumberrequirednullable
      • 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
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 '{}'
TypeScript
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();
Python
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
  }
}

Tick the disclosure checklist of a post

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/deliverables/{itemId}/posts/{postId}/disclosure
Beta Changes data 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 booleanoptional
  • mediaMentionbooleanoptional
  • facebookBrandCanBoostbooleanoptional

Responses

200 OK

object · DealPostDisclosureResponse

  • dataobject · DealPostDisclosurerequired
    5fields
    • marketstringrequired
      One of (may gain values): fr, us, uk, other
    • captionPrefixstringrequired
    • appliedOptionsarray of stringrequired
    • checklistmap of string (date-time)required
    • mediaMentionbooleanrequired

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
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
  }
}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events
Beta Changes data deals.events.create
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • kindstringrequired
    One 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
  • customLabelstringoptional
    1–160 characters
  • deliverableIdstring (uuid)optional
  • occurredAtstring (date-time)optional
  • plannedbooleanoptional

Responses

201 Created

object · DealEventResponse

  • dataobject · DealEventrequired
    12fields
    • idstring (uuid)required
    • kindstringrequired
      One 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, custom
    • customLabelstringrequirednullable
    • deliverableIdstring (uuid)requirednullable
    • statusstringrequired
      One of: happened, suggested, planned, dismissed
    • sourcestringrequired
      One of: auto, suggested, manual, deemed
    • occurredAtstring (date-time)requirednullable
    • plannedForstring (date-time)requirednullable
    • quotestringrequirednullable
    • sourceMessageIdstring (uuid)requirednullable
    • recordedByobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members: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
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"
}'
TypeScript
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();
Python
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

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events/{itemId}
Beta Changes data 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)optional
  • plannedForstring (date-time)optional
  • statusstringoptional
    One of: happened, dismissed

Responses

200 OK

object · DealEventResponse

  • dataobject · DealEventrequired
    12fields
    • idstring (uuid)required
    • kindstringrequired
      One 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, custom
    • customLabelstringrequirednullable
    • deliverableIdstring (uuid)requirednullable
    • statusstringrequired
      One of: happened, suggested, planned, dismissed
    • sourcestringrequired
      One of: auto, suggested, manual, deemed
    • occurredAtstring (date-time)requirednullable
    • plannedForstring (date-time)requirednullable
    • quotestringrequirednullable
    • sourceMessageIdstring (uuid)requirednullable
    • recordedByobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members: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
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"
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/events/{itemId}
Beta Deletes 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
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_…"
TypeScript
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);
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/exit
Beta Changes data deals.exit.set
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • exitstringrequirednullable
    One of: declined, lost

Responses

200 OK

object · DealDetailResponse

  • dataobject · DealDetailrequired
    39fields
    • idstring (uuid)required
    • titlestringrequired
    • summarystringrequirednullable
    • companyobject · DealCompanyRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequired
      • kindstringrequired
        One of: brand, agency
      • domainstringrequirednullable
      • logoUrlstringrequirednullable
      • categorystringrequirednullable
    • representedByobject · DealCompanyRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequired
      • kindstringrequired
        One of: brand, agency
      • domainstringrequirednullable
      • logoUrlstringrequirednullable
      • categorystringrequirednullable
    • stagestringrequired
      One of: inquiry, negotiating, signed, production, delivered, invoiced, paid, closed
    • exitstringrequirednullable
      One of: declined, lost, scam
    • riskLevelstringrequired
      One of: none, caution, high
    • scamDecisionstringrequirednullable
      One of: ask, scam, genuine
    • sourcestringrequired
      One of: form, email, forward, dm, manual
    • ownerobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • valueobject · DealValuerequirednullable
      4fields
      • minMinornumberrequirednullable
      • maxMinornumberrequirednullable
      • currencystringrequired
      • notestringrequirednullable
    • amountsHiddenbooleanrequired
    • nextActionobject · DealNextActionrequirednullable
      8fields
      • typestringrequired
        One 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_brand
      • messageKeystringrequired
      • valuesmap of string or numberrequired
      • dueAtstring (date-time)requirednullable
      • tonestringrequired
        One of: neutral, review, failed
      • eventKindstringrequirednullable
        One 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
      • customEventLabelstringrequirednullable
      • targetIdstring (uuid)requirednullable
    • deliverablesarray of objectrequired
      20fields in each item
      • idstring (uuid)required
      • parentIdstring (uuid)requirednullable
      • occurrencenumberrequirednullable
      • titlestringrequired
      • kindstringrequired
        One of: dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
      • kindLabelstringrequirednullable
      • platformstringrequirednullable
      • socialAccountIdstring (uuid)requirednullable
      • quantitynumberrequired
      • recurrenceobject · DealRecurrencerequirednullable
        2fields
        • everystringrequired
          One of: week, two_weeks, month
        • timesintegerrequired
          from 2 to 52
      • statestringrequired
        One of: todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered
      • revisionsobjectrequired
        2fields
        • usednumberrequired
        • includednumberrequirednullable
      • obligationobject · DealPostingObligationrequirednullable
        3fields
        • minLiveDaysintegerrequirednullable
          from 1 to 3650
        • pinnedDaysintegerrequirednullable
          from 1 to 365
        • linkInBioDaysintegerrequirednullable
          from 1 to 365
      • offPlatformbooleanrequired
      • postIdsarray of string (uuid)required
      • dueDateIdstring (uuid)requirednullable
      • deliveredAtstring (date-time)requirednullable
      • deliveredUrlstringrequirednullable
      • proofsarray of objectrequired
        9fields in each item
        • idstring (uuid)required
        • platformstringrequired
        • urlstringrequirednullable
        • captionstringrequirednullable
        • publishedAtstring (date-time)required
        • mediaarray of objectrequired
          5fields in each item
          • urlstringrequired
          • typestringrequired
            One of: image, video
          • widthnumberrequirednullable
          • heightnumberrequirednullable
          • durationSecondsnumberrequirednullable
        • screenshotUrlstringrequirednullable
        • metricsmap of objectrequired
          Each value
          • capturedAtstring (date-time)required
          • viewsnumberrequirednullable
          • reachnumberrequirednullable
          • likesnumberrequirednullable
          • commentsnumberrequirednullable
          • sharesnumberrequirednullable
          • savesnumberrequirednullable
          • clicksnumberrequirednullable
          • watchTimeSecondsnumberrequirednullable
          • engagementRatenumberrequirednullable
        • dailyViewsarray of numberrequirednullable
      • currentVersionIdstring (uuid)requirednullable
    • unreadbooleanrequired
    • needsYoubooleanrequired
    • stageChangedAtstring (date-time)required
    • lastActivityAtstring (date-time)required
    • createdAtstring (date-time)required
    • versionnumberrequired
    • currencystringrequired
    • budgetstringrequirednullable
      One of: under_1k, 1k_5k, over_5k, product_only
    • watchersarray of objectrequired
      3fields in each item
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • participantsarray of objectrequired
      2fields in each item
      • contactobject · DealContactRefrequired
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • receivesRepliesbooleanrequired
    • conversationsarray of objectrequired
      10fields in each item
      • idstring (uuid)required
      • channelstringrequired
        One of: email, dm
      • platformstring · InboxPlatformrequirednullable
        One of: instagram, facebook, tiktok, linkedin, threads, youtube, bluesky
      • addressstringrequirednullable
      • subjectstringrequirednullable
      • contactobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • lastActivityAtstring (date-time)required
      • needsReplybooleanrequired
      • isUnreadForMebooleanrequired
      • versionnumberrequired
    • addressstringrequirednullable
    • riskobjectrequired
      2fields
      • levelstringrequired
        One of: none, caution, high
      • signalsarray of objectrequired
        3fields in each item
        • signalstringrequired
          One 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_reputation
        • weightnumberrequired
        • detailmap of string or numberrequired
    • briefobject · DealBriefrequirednullable
      6fields
      • mustSayarray of stringrequired
        at most 20 items · each 1–300 characters
      • promoCodestringrequirednullable
        at most 60 characters
      • linksarray of objectrequired
        at most 10 items
        2fields in each item
        • labelstringrequired
          1–80 characters
        • urlstring (uri)required
      • dosarray of stringrequired
        at most 20 items · each 1–300 characters
      • dontsarray of stringrequired
        at most 20 items · each 1–300 characters
      • fileIdsarray of string (uuid)optional
        at most 10 items
    • filesarray of objectrequired
      15fields in each item
      • idstring (uuid)required
      • dealIdstring (uuid)requirednullable
      • messageIdstring (uuid)requirednullable
      • originstringrequired
        One of: form, email, upload, forward
      • filenamestringrequired
      • mimeTypestringrequirednullable
      • sizeBytesnumberrequired
      • pagesnumberrequirednullable
      • kindstringrequirednullable
        One of: brief, contract, amendment, invoice, media, other
      • scanobjectrequired
        3fields
        • statusstringrequired
          One of: uploading, checking, clean, blocked
        • reasonstringrequirednullable
          One of: too_large, type_not_allowed, type_mismatch, archive, executable, script, macros, encrypted, malware, suspicious_content, corrupt, scan_failed, too_many_files
        • scannedAtstring (date-time)requirednullable
      • originalAvailablebooleanrequired
      • previewUrlstringrequirednullable
      • uploadedByobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
      • createdAtstring (date-time)required
      • termsReadbooleanoptional
    • termsobjectrequired
      4fields
      • suggestednumberrequired
      • confirmedAtstring (date-time)requirednullable
      • extractingbooleanrequired
      • amendmentPendingbooleanrequired
    • eventsarray of objectrequired
      12fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One 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
      • customLabelstringrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • statusstringrequired
        One of: happened, suggested, planned, dismissed
      • sourcestringrequired
        One of: auto, suggested, manual, deemed
      • occurredAtstring (date-time)requirednullable
      • plannedForstring (date-time)requirednullable
      • quotestringrequirednullable
      • sourceMessageIdstring (uuid)requirednullable
      • recordedByobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
      • createdAtstring (date-time)required
    • datesarray of objectrequired
      20fields in each item
      • idstring (uuid)required
      • parentIdstring (uuid)requirednullable
      • occurrencenumberrequirednullable
      • labelstringrequired
      • purposestringrequired
        One 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, custom
      • categorystringrequired
        One of: deadline, brand, money, rights
      • deliverableIdstring (uuid)requirednullable
      • invoiceIdstring (uuid)requirednullable
      • rightIdstring (uuid)requirednullable
      • modestringrequired
        One of: fixed, rule
      • ruleobject · DealDateRulerequirednullable
        8fields
        • kindstringrequired
          One of: deadline, earliest, window, recurring, spacing
        • termsarray of objectrequired
          1–4 items
          Item: type: "fixed"
          • typestringrequired
            Always fixed
          • atstring (date-time)required
          Item: type: "event"
          • typestringrequired
            Always event
          • eventKindstringrequired
            One 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
          • customEventLabelstringrequirednullable
            1–160 characters
          • deliverableIdstring (uuid)requirednullable
          • offsetintegerrequired
            from 0 to 3650
          • unitstringrequired
            One of: hours, days, business_days, weeks, months
          • directionstringrequired
            One of: before, after
          • endOfMonthbooleanrequired
          • countrystringrequirednullable
            One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
          Item: type: "date"
          • typestringrequired
            Always date
          • dateIdstring (uuid)required
          • offsetintegerrequired
            from 0 to 3650
          • unitstringrequired
            One of: hours, days, business_days, weeks, months
          • directionstringrequired
            One of: before, after
          • endOfMonthbooleanrequired
          • countrystringrequirednullable
            One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
        • combinatorstringrequirednullable
          One of: first, last
        • windowDaysintegerrequirednullable
          from 1 to 366
        • recurringobjectrequirednullable
          2fields
          • everystringrequired
            One of: week, two_weeks, month
          • timesintegerrequired
            from 2 to 52
        • spacingobjectrequirednullable
          2fields
          • minDaysintegerrequired
            from 1 to 90
          • deliverableIdsarray of string (uuid)required
            at least 2 items
        • timeOfDaystringrequirednullable
          matches ^([01]\d|2[0-3]):[0-5]\d$
        • consequenceobject · DealDateConsequencerequirednullable
          Variant: type: "deemed_event"
          • typestringrequired
            Always deemed_event
          • eventKindstringrequired
            One 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
          • unlessEventKindstringrequired
            One 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"
          • typestringrequired
            Always fee_due
          • feeIdstring (uuid)required
          • ifEventKindstringrequired
            One 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
      • statusstringrequired
        One of: waiting, scheduled, due, overdue, done, overridden, cancelled
      • atstring (date-time)requirednullable
      • windowEndAtstring (date-time)requirednullable
      • allDaybooleanrequired
      • provisionalbooleanrequired
      • overriddenbooleanrequired
      • waitingOnarray of objectrequired
        3fields in each item
        • eventKindstringrequired
          One 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
        • customEventLabelstringrequirednullable
        • deliverableIdstring (uuid)requirednullable
      • quotestringrequirednullable
      • showInCalendarbooleanrequired
    • rightsarray of objectrequired
      19fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: usage_organic, usage_paid, whitelisting, exclusivity, ownership, takedown, must_stay_live
      • labelstringrequired
      • detailstringrequirednullable
      • channelsarray of stringrequired
      • territoriesarray of stringrequired
      • categorystringrequirednullable
      • competitorsarray of stringrequired
      • ownershipstringrequirednullable
        One of: license, buyout
      • adAccountControlledBystringrequirednullable
        One of: brand, creator
      • autoRenewsbooleanrequired
      • startDateIdstring (uuid)requirednullable
      • endDateIdstring (uuid)requirednullable
      • renewalNoticeDateIdstring (uuid)requirednullable
      • startsAtstring (date-time)requirednullable
      • endsAtstring (date-time)requirednullable
      • progressnumberrequirednullable
      • daysLeftnumberrequirednullable
      • warnbooleanrequired
    • reviewobject · DealReviewStaterequired
      3fields
      • waitingnumberrequired
      • openCommentsnumberrequired
      • linkUrlstringrequirednullable
        The brand's review link; null without one, and for an integration that does not hold deals:send.
    • moneyobject · DealMoneyDetailrequirednullable
      7fields
      • currencystringrequired
      • feesarray of objectrequired
        8fields in each item
        • idstring (uuid)required
        • kindstringrequired
          One of: offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
        • labelstringrequired
        • amountMinornumberrequired
        • taxPercentnumberrequirednullable
        • deliverableIdstring (uuid)requirednullable
        • conditionstringrequirednullable
        • statusstringrequired
          One of: proposed, agreed, due, cancelled
      • splitsarray of objectrequired
        8fields in each item
        • idstring (uuid)required
        • kindstringrequired
          One of: manager, co_creator, other
        • labelstringrequired
        • recipientNamestringrequirednullable
        • recipientUserIdstringrequirednullable
        • sharePercentnumberrequirednullable
        • amountMinornumberrequirednullable
        • computedAmountMinornumberrequired
      • invoicesarray of objectrequired
        21fields in each item
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • totalsobjectrequired
        4fields
        • agreedMinornumberrequired
        • invoicedMinornumberrequired
        • paidMinornumberrequired
        • outstandingMinornumberrequired
      • commissionobjectrequired
        6fields
        • percentnumberrequired
        • sourcestringrequired
          One of: locked, deal, roster, organization, none
        • overridePercentnumberrequirednullable
        • bookedMinornumberrequired
        • earnedMinornumberrequired
        • agencyNamestringrequired
      • chaseSequencestringrequired
        One of: workspace, deal
    • kpisarray of objectrequirednullable
      11fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: own_history, brand_history, expected_results, price_terms, similar_creators, risk
      • titlestringrequired
      • valuestringrequired
      • detailstringrequired
      • evidencestringrequired
      • evidenceCountnumberrequired
      • tonestringrequired
        One of: neutral, caution
      • confidencestringrequired
        One of: high, medium, low
      • dataSourcestringrequired
        One of: own, similar_creators, audience
      • computedAtstring (date-time)required
    • reportobjectrequirednullable
      3fields
      • idstring (uuid)required
      • statusstringrequired
        One of: building, draft, sent, revoked, failed
      • sentAtstring (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
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"
}'
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files
Beta Changes data deals.files.uploads.create
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Single-flight: an Idempotency-Key only 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

  • filenamestringrequired
    1–255 characters
  • mimeTypestringrequired
    One of: application/pdf, image/png, image/jpeg, image/webp, image/heic, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain
  • sizeintegerrequired
    above 0 to 26214400

Responses

201 Created

object · CreateDealFileResponse

  • dataobject · DealFileUploadrequired
    3fields
    • fileIdstring (uuid)required
    • uploadUrlstringrequired
    • expiresAtstring (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
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
}'
TypeScript
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();
Python
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

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId}
Beta Deletes 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
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_…"
TypeScript
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);
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId}/complete
Beta Changes data deals.files.uploads.complete
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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 · DealFilerequired
    15fields
    • idstring (uuid)required
    • dealIdstring (uuid)requirednullable
    • messageIdstring (uuid)requirednullable
    • originstringrequired
      One of: form, email, upload, forward
    • filenamestringrequired
    • mimeTypestringrequirednullable
    • sizeBytesnumberrequired
    • pagesnumberrequirednullable
    • kindstringrequirednullable
      One of (may gain values): brief, contract, amendment, invoice, media, other
    • scanobjectrequired
      3fields
      • statusstringrequired
        One of: uploading, checking, clean, blocked
      • reasonstringrequirednullable
        One of (may gain values): too_large, type_not_allowed, type_mismatch, archive, executable, script, macros, encrypted, malware, suspicious_content, corrupt, scan_failed, too_many_files
      • scannedAtstring (date-time)requirednullable
    • originalAvailablebooleanrequired
    • previewUrlstringrequirednullable
    • uploadedByobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • createdAtstring (date-time)required
    • termsReadbooleanoptional

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
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)"
TypeScript
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();
Python
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

GET /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/files/{itemId}/download
Beta Reads only 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

  • dataobjectrequired
    3fields
    • urlstringrequired
    • expiresAtstring (date-time)required
    • filenamestringrequired

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
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_…"
TypeScript
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();
Python
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

POST /organizations/{organizationId}/workspaces/{workspaceId}/deals/{dealId}/stage
Beta Changes data deals.stage.set
Scope
deals:write
Role permission
Manage deals (deals:manage)
Effect
Changes data in Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-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

  • stagestringrequired
    One of: inquiry, negotiating, signed, production, delivered, invoiced, paid, closed

Responses

200 OK

object · DealDetailResponse

  • dataobject · DealDetailrequired
    39fields
    • idstring (uuid)required
    • titlestringrequired
    • summarystringrequirednullable
    • companyobject · DealCompanyRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequired
      • kindstringrequired
        One of: brand, agency
      • domainstringrequirednullable
      • logoUrlstringrequirednullable
      • categorystringrequirednullable
    • representedByobject · DealCompanyRefrequirednullable
      6fields
      • idstring (uuid)required
      • namestringrequired
      • kindstringrequired
        One of: brand, agency
      • domainstringrequirednullable
      • logoUrlstringrequirednullable
      • categorystringrequirednullable
    • stagestringrequired
      One of: inquiry, negotiating, signed, production, delivered, invoiced, paid, closed
    • exitstringrequirednullable
      One of: declined, lost, scam
    • riskLevelstringrequired
      One of: none, caution, high
    • scamDecisionstringrequirednullable
      One of: ask, scam, genuine
    • sourcestringrequired
      One of: form, email, forward, dm, manual
    • ownerobject · MediaPersonrequirednullable
      3fields
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • valueobject · DealValuerequirednullable
      4fields
      • minMinornumberrequirednullable
      • maxMinornumberrequirednullable
      • currencystringrequired
      • notestringrequirednullable
    • amountsHiddenbooleanrequired
    • nextActionobject · DealNextActionrequirednullable
      8fields
      • typestringrequired
        One 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_brand
      • messageKeystringrequired
      • valuesmap of string or numberrequired
      • dueAtstring (date-time)requirednullable
      • tonestringrequired
        One of: neutral, review, failed
      • eventKindstringrequirednullable
        One 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
      • customEventLabelstringrequirednullable
      • targetIdstring (uuid)requirednullable
    • deliverablesarray of objectrequired
      20fields in each item
      • idstring (uuid)required
      • parentIdstring (uuid)requirednullable
      • occurrencenumberrequirednullable
      • titlestringrequired
      • kindstringrequired
        One of: dedicated_video, integration, short, reel, story, post, carousel, stream_segment, ugc_asset, link_in_bio, other
      • kindLabelstringrequirednullable
      • platformstringrequirednullable
      • socialAccountIdstring (uuid)requirednullable
      • quantitynumberrequired
      • recurrenceobject · DealRecurrencerequirednullable
        2fields
        • everystringrequired
          One of: week, two_weeks, month
        • timesintegerrequired
          from 2 to 52
      • statestringrequired
        One of: todo, drafting, awaiting_approval, changes_requested, approved, scheduled, published, delivered
      • revisionsobjectrequired
        2fields
        • usednumberrequired
        • includednumberrequirednullable
      • obligationobject · DealPostingObligationrequirednullable
        3fields
        • minLiveDaysintegerrequirednullable
          from 1 to 3650
        • pinnedDaysintegerrequirednullable
          from 1 to 365
        • linkInBioDaysintegerrequirednullable
          from 1 to 365
      • offPlatformbooleanrequired
      • postIdsarray of string (uuid)required
      • dueDateIdstring (uuid)requirednullable
      • deliveredAtstring (date-time)requirednullable
      • deliveredUrlstringrequirednullable
      • proofsarray of objectrequired
        9fields in each item
        • idstring (uuid)required
        • platformstringrequired
        • urlstringrequirednullable
        • captionstringrequirednullable
        • publishedAtstring (date-time)required
        • mediaarray of objectrequired
          5fields in each item
          • urlstringrequired
          • typestringrequired
            One of: image, video
          • widthnumberrequirednullable
          • heightnumberrequirednullable
          • durationSecondsnumberrequirednullable
        • screenshotUrlstringrequirednullable
        • metricsmap of objectrequired
          Each value
          • capturedAtstring (date-time)required
          • viewsnumberrequirednullable
          • reachnumberrequirednullable
          • likesnumberrequirednullable
          • commentsnumberrequirednullable
          • sharesnumberrequirednullable
          • savesnumberrequirednullable
          • clicksnumberrequirednullable
          • watchTimeSecondsnumberrequirednullable
          • engagementRatenumberrequirednullable
        • dailyViewsarray of numberrequirednullable
      • currentVersionIdstring (uuid)requirednullable
    • unreadbooleanrequired
    • needsYoubooleanrequired
    • stageChangedAtstring (date-time)required
    • lastActivityAtstring (date-time)required
    • createdAtstring (date-time)required
    • versionnumberrequired
    • currencystringrequired
    • budgetstringrequirednullable
      One of: under_1k, 1k_5k, over_5k, product_only
    • watchersarray of objectrequired
      3fields in each item
      • idstringrequired
      • namestringrequired
        The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
      • imagestringrequirednullable
        Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
    • participantsarray of objectrequired
      2fields in each item
      • contactobject · DealContactRefrequired
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • receivesRepliesbooleanrequired
    • conversationsarray of objectrequired
      10fields in each item
      • idstring (uuid)required
      • channelstringrequired
        One of: email, dm
      • platformstring · InboxPlatformrequirednullable
        One of: instagram, facebook, tiktok, linkedin, threads, youtube, bluesky
      • addressstringrequirednullable
      • subjectstringrequirednullable
      • contactobject · DealContactRefrequirednullable
        6fields
        • idstring (uuid)required
        • namestringrequirednullable
        • emailstringrequirednullable
        • rolestringrequirednullable
        • companyIdstring (uuid)requirednullable
        • erasedbooleanrequired
      • lastActivityAtstring (date-time)required
      • needsReplybooleanrequired
      • isUnreadForMebooleanrequired
      • versionnumberrequired
    • addressstringrequirednullable
    • riskobjectrequired
      2fields
      • levelstringrequired
        One of: none, caution, high
      • signalsarray of objectrequired
        3fields in each item
        • signalstringrequired
          One 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_reputation
        • weightnumberrequired
        • detailmap of string or numberrequired
    • briefobject · DealBriefrequirednullable
      6fields
      • mustSayarray of stringrequired
        at most 20 items · each 1–300 characters
      • promoCodestringrequirednullable
        at most 60 characters
      • linksarray of objectrequired
        at most 10 items
        2fields in each item
        • labelstringrequired
          1–80 characters
        • urlstring (uri)required
      • dosarray of stringrequired
        at most 20 items · each 1–300 characters
      • dontsarray of stringrequired
        at most 20 items · each 1–300 characters
      • fileIdsarray of string (uuid)optional
        at most 10 items
    • filesarray of objectrequired
      15fields in each item
      • idstring (uuid)required
      • dealIdstring (uuid)requirednullable
      • messageIdstring (uuid)requirednullable
      • originstringrequired
        One of: form, email, upload, forward
      • filenamestringrequired
      • mimeTypestringrequirednullable
      • sizeBytesnumberrequired
      • pagesnumberrequirednullable
      • kindstringrequirednullable
        One of: brief, contract, amendment, invoice, media, other
      • scanobjectrequired
        3fields
        • statusstringrequired
          One of: uploading, checking, clean, blocked
        • reasonstringrequirednullable
          One of: too_large, type_not_allowed, type_mismatch, archive, executable, script, macros, encrypted, malware, suspicious_content, corrupt, scan_failed, too_many_files
        • scannedAtstring (date-time)requirednullable
      • originalAvailablebooleanrequired
      • previewUrlstringrequirednullable
      • uploadedByobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
      • createdAtstring (date-time)required
      • termsReadbooleanoptional
    • termsobjectrequired
      4fields
      • suggestednumberrequired
      • confirmedAtstring (date-time)requirednullable
      • extractingbooleanrequired
      • amendmentPendingbooleanrequired
    • eventsarray of objectrequired
      12fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One 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
      • customLabelstringrequirednullable
      • deliverableIdstring (uuid)requirednullable
      • statusstringrequired
        One of: happened, suggested, planned, dismissed
      • sourcestringrequired
        One of: auto, suggested, manual, deemed
      • occurredAtstring (date-time)requirednullable
      • plannedForstring (date-time)requirednullable
      • quotestringrequirednullable
      • sourceMessageIdstring (uuid)requirednullable
      • recordedByobject · MediaPersonrequirednullable
        3fields
        • idstringrequired
        • namestringrequired
          The member's name. "A member" for an integration that does not hold members:read (the id is kept; the Inbox always names them).
        • imagestringrequirednullable
          Their picture's URL; null without one, and for an integration that does not hold members:read (outside the Inbox).
      • createdAtstring (date-time)required
    • datesarray of objectrequired
      20fields in each item
      • idstring (uuid)required
      • parentIdstring (uuid)requirednullable
      • occurrencenumberrequirednullable
      • labelstringrequired
      • purposestringrequired
        One 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, custom
      • categorystringrequired
        One of: deadline, brand, money, rights
      • deliverableIdstring (uuid)requirednullable
      • invoiceIdstring (uuid)requirednullable
      • rightIdstring (uuid)requirednullable
      • modestringrequired
        One of: fixed, rule
      • ruleobject · DealDateRulerequirednullable
        8fields
        • kindstringrequired
          One of: deadline, earliest, window, recurring, spacing
        • termsarray of objectrequired
          1–4 items
          Item: type: "fixed"
          • typestringrequired
            Always fixed
          • atstring (date-time)required
          Item: type: "event"
          • typestringrequired
            Always event
          • eventKindstringrequired
            One 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
          • customEventLabelstringrequirednullable
            1–160 characters
          • deliverableIdstring (uuid)requirednullable
          • offsetintegerrequired
            from 0 to 3650
          • unitstringrequired
            One of: hours, days, business_days, weeks, months
          • directionstringrequired
            One of: before, after
          • endOfMonthbooleanrequired
          • countrystringrequirednullable
            One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
          Item: type: "date"
          • typestringrequired
            Always date
          • dateIdstring (uuid)required
          • offsetintegerrequired
            from 0 to 3650
          • unitstringrequired
            One of: hours, days, business_days, weeks, months
          • directionstringrequired
            One of: before, after
          • endOfMonthbooleanrequired
          • countrystringrequirednullable
            One of: FR, BE, CH, DE, ES, IT, NL, PT, IE, GB, US, CA, AU
        • combinatorstringrequirednullable
          One of: first, last
        • windowDaysintegerrequirednullable
          from 1 to 366
        • recurringobjectrequirednullable
          2fields
          • everystringrequired
            One of: week, two_weeks, month
          • timesintegerrequired
            from 2 to 52
        • spacingobjectrequirednullable
          2fields
          • minDaysintegerrequired
            from 1 to 90
          • deliverableIdsarray of string (uuid)required
            at least 2 items
        • timeOfDaystringrequirednullable
          matches ^([01]\d|2[0-3]):[0-5]\d$
        • consequenceobject · DealDateConsequencerequirednullable
          Variant: type: "deemed_event"
          • typestringrequired
            Always deemed_event
          • eventKindstringrequired
            One 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
          • unlessEventKindstringrequired
            One 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"
          • typestringrequired
            Always fee_due
          • feeIdstring (uuid)required
          • ifEventKindstringrequired
            One 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
      • statusstringrequired
        One of: waiting, scheduled, due, overdue, done, overridden, cancelled
      • atstring (date-time)requirednullable
      • windowEndAtstring (date-time)requirednullable
      • allDaybooleanrequired
      • provisionalbooleanrequired
      • overriddenbooleanrequired
      • waitingOnarray of objectrequired
        3fields in each item
        • eventKindstringrequired
          One 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
        • customEventLabelstringrequirednullable
        • deliverableIdstring (uuid)requirednullable
      • quotestringrequirednullable
      • showInCalendarbooleanrequired
    • rightsarray of objectrequired
      19fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: usage_organic, usage_paid, whitelisting, exclusivity, ownership, takedown, must_stay_live
      • labelstringrequired
      • detailstringrequirednullable
      • channelsarray of stringrequired
      • territoriesarray of stringrequired
      • categorystringrequirednullable
      • competitorsarray of stringrequired
      • ownershipstringrequirednullable
        One of: license, buyout
      • adAccountControlledBystringrequirednullable
        One of: brand, creator
      • autoRenewsbooleanrequired
      • startDateIdstring (uuid)requirednullable
      • endDateIdstring (uuid)requirednullable
      • renewalNoticeDateIdstring (uuid)requirednullable
      • startsAtstring (date-time)requirednullable
      • endsAtstring (date-time)requirednullable
      • progressnumberrequirednullable
      • daysLeftnumberrequirednullable
      • warnbooleanrequired
    • reviewobject · DealReviewStaterequired
      3fields
      • waitingnumberrequired
      • openCommentsnumberrequired
      • linkUrlstringrequirednullable
        The brand's review link; null without one, and for an integration that does not hold deals:send.
    • moneyobject · DealMoneyDetailrequirednullable
      7fields
      • currencystringrequired
      • feesarray of objectrequired
        8fields in each item
        • idstring (uuid)required
        • kindstringrequired
          One of: offer, fixed, per_deliverable, bonus, kill_fee, late_fee, extra_revision, expense, in_kind
        • labelstringrequired
        • amountMinornumberrequired
        • taxPercentnumberrequirednullable
        • deliverableIdstring (uuid)requirednullable
        • conditionstringrequirednullable
        • statusstringrequired
          One of: proposed, agreed, due, cancelled
      • splitsarray of objectrequired
        8fields in each item
        • idstring (uuid)required
        • kindstringrequired
          One of: manager, co_creator, other
        • labelstringrequired
        • recipientNamestringrequirednullable
        • recipientUserIdstringrequirednullable
        • sharePercentnumberrequirednullable
        • amountMinornumberrequirednullable
        • computedAmountMinornumberrequired
      • invoicesarray of objectrequired
        21fields in each item
        • idstring (uuid)required
        • numberstringrequired
        • kindstringrequired
          One of: full, deposit, balance
        • issuedOnstring (date)requirednullable
        • dueKindstringrequired
          One of: date, on_signature, on_delivery
        • dueOnstring (date)requirednullable
        • amountMinornumberrequired
        • taxMinornumberrequired
        • currencystringrequired
        • paidMinornumberrequired
        • statusstringrequired
          One of: draft, sent, partly_paid, paid, late, void
        • daysLatenumberrequirednullable
        • pdfFileIdstring (uuid)requirednullable
        • billToobject · DealContactRefrequirednullable
          6fields
          • idstring (uuid)required
          • namestringrequirednullable
          • emailstringrequirednullable
          • rolestringrequirednullable
          • companyIdstring (uuid)requirednullable
          • erasedbooleanrequired
        • connectedTostringrequirednullable
          One of: pennylane, qonto, storecove, xero, quickbooks
        • externalUrlstringrequirednullable
        • syncedAtstring (date-time)requirednullable
        • paymentsarray of objectrequired
          5fields in each item
          • idstring (uuid)required
          • amountMinornumberrequired
          • receivedOnstring (date)required
          • sourcestringrequired
            One of: manual, sync
          • notestringrequirednullable
        • chasearray of objectrequired
          8fields in each item
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • offsetDaysnumberrequired
          • statestringrequired
            One of: drafted, sent, skipped
          • messageIdstring (uuid)requirednullable
          • skipReasonstringrequirednullable
          • draftedAtstring (date-time)requirednullable
          • sentAtstring (date-time)requirednullable
        • nextChaseobjectrequirednullable
          4fields
          • stepPositionnumberrequired
          • tonestringrequired
            One of: nudge, firm, final
          • atstring (date-time)required
          • autoSendbooleanrequired
        • chasePausedbooleanrequired
      • totalsobjectrequired
        4fields
        • agreedMinornumberrequired
        • invoicedMinornumberrequired
        • paidMinornumberrequired
        • outstandingMinornumberrequired
      • commissionobjectrequired
        6fields
        • percentnumberrequired
        • sourcestringrequired
          One of: locked, deal, roster, organization, none
        • overridePercentnumberrequirednullable
        • bookedMinornumberrequired
        • earnedMinornumberrequired
        • agencyNamestringrequired
      • chaseSequencestringrequired
        One of: workspace, deal
    • kpisarray of objectrequirednullable
      11fields in each item
      • idstring (uuid)required
      • kindstringrequired
        One of: own_history, brand_history, expected_results, price_terms, similar_creators, risk
      • titlestringrequired
      • valuestringrequired
      • detailstringrequired
      • evidencestringrequired
      • evidenceCountnumberrequired
      • tonestringrequired
        One of: neutral, caution
      • confidencestringrequired
        One of: high, medium, low
      • dataSourcestringrequired
        One of: own, similar_creators, audience
      • computedAtstring (date-time)required
    • reportobjectrequirednullable
      3fields
      • idstring (uuid)required
      • statusstringrequired
        One of: building, draft, sent, revoked, failed
      • sentAtstring (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
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"
}'
TypeScript
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();
Python
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
  }
}