Skip to main content
POST
/
subscriptions
/
request-upgrade
Submit a request to upgrade subscription
curl --request POST \
  --url https://api.example.com/subscriptions/request-upgrade \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "targetSubscription": "pro",
  "message": "<string>"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
email
string
required
targetSubscription
enum<string>
default:pro
required
Available options:
free,
pro,
enterprise
message
string

Response

201

Upgrade request submitted successfully