Token Plan API scope, endpoints, response format, and entry points.
Token Plan API manages the organization, members, seats, invitations, API keys, and subscription usage of Token Plan team edition.
Seat purchase and modification operations belong to BssOpenApi (version
Before placing an order, call
Scope
Seat purchase and modification operations belong to BssOpenApi (version 2023-09-30). Other operations belong to ModelStudio (version 2026-02-10). For the endpoints and signing algorithms of the two groups, see Authentication. For error response formats, see Error codes.
Endpoints
| Operations | Endpoint |
|---|---|
| Seat purchase and modification | https://business.aliyuncs.com/ |
| Other Token Plan operations | https://modelstudio.cn-beijing.aliyuncs.com/tokenplan/* |
QueryProductList to obtain product parameters, and use DescribePricingModule and GetSubscriptionPrice (version 2017-12-14) to query pricing. If QueryProductList does not return seat products, use the product parameters shown in the Token Plan team edition console or order. After a successful call, an order is created; use GetOrders to query the order status.
Response format
- A successful response returns
Success=trueandData. - A business failure returns HTTP 200 with
Success=false,Code, andMessage. - A gateway, authentication, parameter, or resource validation failure returns HTTP 4xx/5xx. For the response format, see Error codes.
- For ModelStudio,
RequestIdis returned in thex-acs-request-idresponse header. For BssOpenApi,RequestIdis returned in the response body.
API groups
- Organization and Account: Query account details, get and update organization information.
- Member Management: Add, query, update, and remove members, and get member seat statistics.
- Seat Management: Assign and revoke seats, and query subscription seat details.
- Seat Purchase and Modification: Create, add, upgrade, reduce, and renew seats.
- Invitation Management: Create and revoke invitation links, and manage invitation settings.
- API Key Management: Create and rotate team edition API keys.
- Subscription and Usage: Query subscription statistics and shared package details.