Update draft

Updates, archives, restores, or marks a draft ready using updated_at as a compare-and-swap version.

patch/v1/drafts/{id}

Request

  • Base URL: https://postonce.to/api/public
  • URL: https://postonce.to/api/public/v1/drafts/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Draft ID.

Request body

expected_updated_atstring date-time required
contentstring
candidate_anglestring
selected_account_idsstring[]
suggested_platformsstring[]
status'inbox' | 'ready' | 'archived'

Response

Draft updated successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.