Manually record a subscription
POST/panel/workspaces/:workspace/subscription
Records a subscription that already exists on your payment platform. This is a bookkeeping operation only — no payment platform is contacted and no charge is made. To start a real checkout, use POST /panel/workspaces/{workspace}/subscription/new instead.
The subscription is always stored as the workspace's default subscription with a quantity of 1.
platform_subscription_id must be unique across all recorded subscriptions.
Note: this endpoint does not check for, or replace, an existing default subscription — the only uniqueness check is on platform_subscription_id.
Request
Responses
- 201
- 401
- 403
- 404
- 422
{"success": true} — hard-coded literal, never false.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.
The {workspace} UUID in the path does not match any workspace.
The request body failed validation.