All Products
Document Center

Create an app

Last Updated: Feb 17, 2020


For creating an app. You must create an app before calling a third-party API because the app is your identity used to call the third-party API.

  • This function is intended for API callers.
  • Each app has a key-value pair which is used for identity verification when you call an API.
  • An authorization relationship must be set up between the app and the API, that is, the app must be authorized with the permission to call the API. For more information, see Quick start (Call an API).
  • Each app has only one pair of key which can be reset after leakage.
  • This API can call up to 50 QPS for a single user.

Request parameters

Name Type Required? Description
Action String Yes Operation interface, which is a required parameter; value: CreateApp.
AppName String Yes Names can only contain Chinese characters, English letters, numbers, and English-style underlines, and must start with a letter or Chinese character and be 4-26 characters long.
Description String No API description, which cannot exceed 180 characters.

Return parameters

Name Type Description
RequestId String ID of the current request.
AppId Long Unique app ID.


Request example

  2. &AppName=CreateAppTest
  3. &Description=test
  4. &<Public request parameters>

Response example

XML format

  1. <CreateAppResponse>
  2. <AppId>20112314518278</AppId>
  3. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
  4. </CreateAppResponse>

JSON format

  1. {
  2. "AppId":20112314518278,
  3. "RequestId":"BA20890E-75C7-41BC-9C8B-73276B58F550"
  4. }