Skip to main content
PATCH
Edit Inbox Draft

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

draft_id
string<uuid>
required

Body

application/json

Edit a draft's per-platform bodies / attached media.

All fields optional; only the provided fields are updated. media_asset_id=None is AMBIGUOUS in JSON (absent vs explicit null), so the service uses Pydantic's model_fields_set to distinguish "not provided" (leave as-is) from "explicitly cleared" (detach the image). At least one field must be present.

linkedin_body
string | null
Maximum string length: 3000
x_body
string | null
Maximum string length: 10000
media_asset_id
string<uuid> | null
media_asset_ids
string<uuid>[]
Maximum array length: 20

Response

Successful Response

A single Inbox draft card (list-row + get + action responses).

NEVER includes dedupe_key (internal CAS key). voice_config_snapshot is the voice config stamped at generate time (E3.1); the UI may render it read-only.

id
string<uuid>
required
status
enum<string>
required
Available options:
pending,
approved,
denied,
snoozed,
scheduled
created_at
string<date-time>
required
updated_at
string<date-time>
required
linkedin_body
string | null
x_body
string | null
media_asset_id
string<uuid> | null
media_asset_ids
string<uuid>[]
scheduled_at
string<date-time> | null
voice_config_snapshot
Voice Config Snapshot · object | null
source
string | null
topic
string | null