ℹ️ 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.
Create with One Click in the Console (Recommended)
- Log in to https://platform.acedata.cloud.
- Go to the sidebar → “Developer” → “Account Token”.
- 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.
⚠️ 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 callsRequest header format:POST /platform-tokens/with JWT authentication and issues the first token to you. After that, you can use any existingplatform-v1-...token to create more.
Request Example
Response (HTTP 201)
Field Descriptions
Get the Account Token List
API Overview
Required Query Parameter
⚠️ You must includeHow to obtain?user_id=<your_user_id>. Reason: the list API performs permission checks on paginated results object by object. Whenuser_idis not included, the first object that does not belong to you will be rejected, returning403 permission_denied.
user_id:
- Open https://auth.acedata.cloud/user/profile in a browser; the full UUID is displayed at the top of the page.
- Or directly fill it in using the
user_idfield from the return value ofPOST /platform-tokens/.
Query Parameters
Request Example
Response (HTTP 200)
The pagination response of this API usescount+items. Other platform APIs may use different structures; please refer to the corresponding documentation and actual responses.
Get Account Token Details
HTTP 200.
Delete Account Token
- Returns
HTTP 204 No Contentupon success, with no response body. - After deletion, the token becomes invalid immediately, and all services using it will immediately receive
401. - Querying this
idagain will return404.
⚠️ 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:
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
Placeplatform-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 thehttps://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 in401, and vice versa.
Related APIs
- Get AceDataCloud Platform Service Application List — Use the account token to see which services you have applied for
- Create AceDataCloud Platform API Credentials — Use the account token to issue 32-character credentials for business APIs
- Get AceDataCloud Platform API Call Records — Check billing and troubleshoot errors
- Get AceDataCloud Platform Order List — Check recharge history

