English
Get checkout session url for a space
cURL
curl --request POST \ --url https://app.teable.io/api/space/%7BspaceId%7D/billing/subscription/checkout \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"priceId":"string","quantity":0,"successUrl":"string","cancelUrl":"string","isTrial":true}'
{ "url": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns checkout session url about a space.
The response is of type object.
object