Subscriptions

Create a Stripe Checkout session for a new subscription

Company-admin only. With USE_STRIPE=false, creates the subscription directly and returns url: null.

post/subscriptions/checkout

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/subscriptions/checkout
  • Auth: HTTP bearer

Request body

planIdstring uuid required
priceIdstring uuid required
activeAgentsPurchasedinteger
creditsPerPeriodinteger
billingInterval'monthly' | 'annual'

Required when creditsPerPeriod is set.

Response

OR

Changes

No recorded changes to this operation across all 2 revisions of this API.