Skip to main content
POST
/
billing
/
change-plan
Change subscription plan
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/billing/change-plan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "planId": "plan_business"
}
'
{
  "success": true,
  "data": {
    "currentPlanId": "plan_pro",
    "pendingPlanId": "plan_business",
    "effectiveAt": "2024-02-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
planId
string
required

New plan ID to switch to.

Response

Plan change scheduled.

success
boolean
required
data
object
required