Skip to main content
POST
/
v1
/
dashboard
/
billing
/
subscribe
Subscribe (session)
curl --request POST \
  --url https://api.usenaive.ai/v1/dashboard/billing/subscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "success_url": "<string>",
  "cancel_url": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
plan
enum<string>
required
Available options:
free,
starter,
pro
success_url
string
cancel_url
string

Response

OK.

The response is of type object.