Skip to main content
Account Token (Account Token, formerly known as Platform Token) is an “account-level key” for developers to programmatically manage AceDataCloud platform resources (service applications, API credentials, orders, call records, balance, files, etc.). Its role is similar to the user Token after frontend login, and it has no expiration time by default; regular users can only manage their own tokens, while super administrators can manage other account tokens according to permissions. Account tokens access platform APIs with the current permissions of the associated account: basic permissions, directly granted permissions, and associated user group permissions take effect together; after joining or leaving a group, the next request will be evaluated based on the new permissions. Access to specific resources such as applications and orders still requires ownership verification. Account tokens do not expire by default; please use them only in trusted environments and keep them properly secured.
ℹ️ This API belongs to the AceDataCloud Platform Management API, with the unified prefix https://platform.acedata.cloud/api/v1/. For the complete API index, see Get AceDataCloud Platform Document List.

Account Token vs API Credential

These are the two types of keys that beginners most easily confuse. Please distinguish them first: If you only want to call GPT-4.1, what you need is an API Credential, not an account token. If you want to write automation scripts to manage top-ups, view monthly bills, or distribute credentials in batches to team members, then use an account token.
  1. Log in to https://platform.acedata.cloud.
  2. Go to the sidebar → “Developer” → “Account Token”.
  3. Click the “Create” button in the upper-right corner to immediately obtain a platform-v1-... token, click the copy button and save it to your password manager.
Account Token Console
⚠️ The current creation, list, and detail responses all return the token in plaintext. Please treat the entire response as a secret, and do not write it to logs, analytics platforms, or frontend persistence; clients should also not rely on the list to retain plaintext returns long-term.

Create an Account Token Using the API

API Overview

Authentication Notes (Chicken-and-Egg Problem)

How do you get the first token? The answer is through the console—after logging in through the browser, the console calls POST /platform-tokens/ with JWT authentication and issues the first token to you. After that, you can use any existing platform-v1-... token to create more.
Request header format:

Request Example

Response (HTTP 201)

Field Descriptions


Get the Account Token List

API Overview

Required Query Parameter

⚠️ You must include ?user_id=<your_user_id>. Reason: the list API performs permission checks on paginated results object by object. When user_id is not included, the first object that does not belong to you will be rejected, returning 403 permission_denied.
How to obtain user_id:
  1. Open https://auth.acedata.cloud/user/profile in a browser; the full UUID is displayed at the top of the page.
  2. Or directly fill it in using the user_id field from the return value of POST /platform-tokens/.

Query Parameters

Request Example

Response (HTTP 200)

The pagination response of this API uses count + items. Other platform APIs may use different structures; please refer to the corresponding documentation and actual responses.

Get Account Token Details

The returned structure is consistent with the list elements, HTTP 200.

Delete Account Token

  • Returns HTTP 204 No Content upon success, with no response body.
  • After deletion, the token becomes invalid immediately, and all services using it will immediately receive 401.
  • Querying this id again will return 404.
⚠️ Deletion is irreversible. If you suspect the token has been leaked, you can first create a new one, switch the business side, and then delete the old one.

Unsupported Operations


Error Code Quick Reference

Error responses use the following unified format:
When troubleshooting, provide the trace_id to customer service or include it in the support ticket to quickly locate the logs.

Complete Code Examples

Python

Node.js


Use in Other Platform APIs

Place platform-v1-... directly in the Authorization: Bearer ... header to call any platform API that requires authentication:
It is completely different from the 32-digit hexadecimal API credential used by the https://api.acedata.cloud/** business APIs (OpenAI, Midjourney, Suno, Veo, etc.). Do not mix them up—using an account token with a business API will result in 401, and vice versa.