Skip to main content
GET
/
subscriptions
/
checkout
Get checkout URL
curl --request GET \
  --url https://app.usechar.ai/api/subscriptions/checkout \
  --header 'Authorization: Bearer <token>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.usechar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.

Query Parameters

product_id
string
required

Polar product ID for the subscription plan to purchase

Response

OK

URL to redirect the user to for Polar checkout