Skip to main content
POST
Save a suggestion as a draft

Authorizations

Authorization
string
header
required

A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.

Path Parameters

id
integer
required

The suggestion's numeric id, from GET /v1/workers/suggestions.

Required range: x >= 1

Body

application/json
account_id
string

Any account you own, meaning your main account (the default when omitted) or one linked to it. An account shared with you returns 403 writes_main_account_only.

Response

The suggestion and the draft it became.

data
object