Auto-upgrade API
Read and switch auto-upgrade (auto-scale profiles). When it is on and you create a profile beyond your plan's limit, Upload-Post moves your subscription one step up the ladder and charges the prorated difference right away, so the profile is created instead of failing with PROFILE_LIMIT_REACHED.
How the ladder works, billing details and the panel switch: Auto-upgrade guide.
Authentication
Same as every /api/uploadposts endpoint: your API key, or a dashboard session.
Authorization: Apikey YOUR_API_KEY
Get auto-upgrade status
Returns whether auto-upgrade is on, whether the account can use it, the current step, the next step with its price and the recent automatic steps.
Endpoint
GET /api/uploadposts/billing/auto-upgrade
Example request (curl)
curl https://api.upload-post.com/api/uploadposts/billing/auto-upgrade \
-H "Authorization: Apikey YOUR_API_KEY"
Success response (200 OK)
{
"success": true,
"enabled": true,
"eligible": true,
"ineligible_reason": null,
"current": { "plan": "Basic", "addon": "big", "profiles_limit": 15 },
"next_step": {
"plan": "Professional",
"addon": null,
"profiles_limit": 25,
"price": { "amount": 50.0, "currency": "usd", "interval": "month" }
},
"history": [
{
"from": { "plan": "Basic", "addon": "small", "profiles_limit": 10 },
"to": { "plan": "Basic", "addon": "big", "profiles_limit": 15 },
"amount": 4.5,
"currency": "usd",
"invoice_id": "in_1QxYzA2eZvKYlo2C",
"at": "2026-11-14T10:03:12Z"
}
]
}
Response fields
| Field | Type | Description |
|---|---|---|
| success | Boolean | true |
| enabled | Boolean | Whether auto-upgrade is on. Off by default. |
| eligible | Boolean | Whether the account can turn it on. |
| ineligible_reason | String or null | Why eligible is false: free_plan (the Free plan has no subscription to step up), no_active_subscription (cancelled, unpaid or paused subscription) or top_plan (Business: extra profiles are already billed by usage, there is no step above). null when eligible. |
| current | Object | The step you are on: plan (Basic, Professional, Advanced or Business), addon (null, small or big: the extra profiles add-on) and profiles_limit. |
| next_step | Object or null | The step auto-upgrade would move you to, same shape as current plus price. null on Business and when not eligible. |
| next_step.price | Object | Full recurring price of the next step (not the proration you would pay on the day): amount (in currency units, 9.0 = 9), currency and interval (month or year), always those of your current subscription. |
| history | Array | Recent automatic steps (use at to order them): from and to (same shape as current), amount and currency charged (the prorated difference), invoice_id of the invoice that charged it and at (UTC, ISO 8601). Empty when there are none. |
Turn auto-upgrade on or off
Endpoint
PUT /api/uploadposts/billing/auto-upgrade
Body (JSON)
| Field | Type | Required | Description |
|---|---|---|---|
| enabled | Boolean | Yes | true to turn it on, false to turn it off. |
Example request (curl)
curl -X PUT https://api.upload-post.com/api/uploadposts/billing/auto-upgrade \
-H "Authorization: Apikey YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled": true}'
Success response (200 OK)
The same body as GET, with the new enabled value. Sending the value it already has is not an error.
With enabled: true, every profile you create beyond your limit charges the card on your subscription automatically, the prorated difference to the next step, without asking again. Turn it on only if you (or the person you act for) agreed to that.
Error responses
400 Bad Request: the account cannot use auto-upgrade (Free plan, or no active subscription). Turning it off always works.
{
"success": false,
"error_code": "AUTO_UPGRADE_NOT_ELIGIBLE",
"message": "Auto-upgrade needs an active paid subscription."
}
401 Unauthorized: invalid or missing API key.
Related fields in other endpoints
POST /api/uploadposts/users: after an automatic step the201response carriesauto_upgrade(from,to,amount,currency,invoice_id). When no step could be taken, the403PROFILE_LIMIT_REACHEDcan carryauto_upgrade_error(code,message), for example when the payment failed.GET /api/uploadposts/me:auto_upgrade_enabled(Boolean).