A verification scheme identifies authentication scenarios for an application (App). Each scheme typically corresponds to an App name, App package name, and package signature. The required parameters vary depending on the access terminal. You can call this API to create a verification scheme.
Operation description
QPS limit
This API supports up to 100 calls per second per user. Exceeding this limit triggers rate limiting, which may affect your business. Use this API carefully.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dypns:CreateVerifyScheme |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SchemeName |
string |
Yes |
Scheme name. |
一键登录认证方案 |
| AppName |
string |
Yes |
App name. |
阿里云通信 |
| OsType |
string |
Yes |
Operating system type of the client. Valid values:
|
iOS |
| PackName |
string |
No |
Package name. Required when OsType is Android. Must contain only digits, letters, hyphens (-), underscores, or periods. Length: 1 to 128 characters. |
com.aliyun |
| PackSign |
string |
No |
Package signature. Required when OsType is Android. Must contain only digits and letters. Length: 32 characters. |
ecf65**********8ea68eda4c4a084cb |
| BundleId |
string |
No |
Bundle ID. Required when OsType is iOS. Must contain only digits, letters, hyphens (-), underscores, or periods. Length: 1 to 128 characters. |
example.aliyundoc.com |
| Origin |
string |
No |
Source URL of the H5 scheme page. We recommend specifying the domain level. |
https://h5.minexiot.com |
| Url |
string |
No |
Page URL used by the H5 scheme. |
https://h5.minexiot.com/ |
| IpWhiteList |
string |
No |
IP address whitelist. Optional. |
139.9.xx.xx 122.112.xx.xx 139.9.xx.xx/24 |
| CmApiCode |
integer |
No |
China Mobile channel code. Optional. |
1 |
| CuApiCode |
integer |
No |
China Unicom channel code. Optional. |
2 |
| CtApiCode |
integer |
No |
China Telecom channel code. Optional. |
3 |
| SceneType |
string |
No |
Scheme type. Optional. |
0 |
|
string |
No |
Email address to receive the key. Optional. |
username@aliyundoc.com |
|
| AuthType |
string |
No |
Authentication type. Optional. Select multiple values only if number authentication is supported. Separate multiple values with commas.
|
1,2 |
| SmsSignName |
string |
No |
Bound text message signature. Valid only if AuthType includes 2 (text message authentication). The signature must be approved and created under the number authentication product. |
阿里云短信测试专用 |
| HmPackageName |
string |
No |
Package name. Required when OsType is |
com.aliyun.harmonydemo |
| HmSignName |
string |
No |
Package signature. Required when OsType is |
65C0B**********D4E80A135636F9A17AFFB540E4E9D2520DC095B68120EA812 |
| HmAppIdentifier |
string |
No |
App ID. Required when OsType is |
57658*********34905 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
Description of the status code. |
请求成功 |
| RequestId |
string |
The ID of this API call, a unique identifier generated by Alibaba Cloud for this request. Use it to troubleshoot issues. |
A1E75E69-3049-5FDB-A376-D745837CD2B1 |
| GateVerifySchemeDTO |
object |
Structure. |
|
| SchemeCode |
string |
Scheme code. |
FC10001287**** |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Code |
string |
Status code.
|
OK |
| Success |
boolean |
Whether the request was successful.
|
true |
Examples
Success response
JSON format
{
"Message": "请求成功",
"RequestId": "A1E75E69-3049-5FDB-A376-D745837CD2B1",
"GateVerifySchemeDTO": {
"SchemeCode": "FC10001287****"
},
"HttpStatusCode": 200,
"Code": "OK",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SchemeNumberOverLimit | The maximum number of scheme is exceeded. | |
| 400 | BundleIdConflict | The specified bundleId already exists. | |
| 400 | InvalidParameters | The specified parameter is not valid. | |
| 400 | InvalidAccountStatus | Your account has been suspended. | |
| 400 | RamPermissionDeny | The user is not authorized to operate on the specified resource. | |
| 400 | PackageSignedConflict | The specified package signed already exists. | |
| 400 | Unsupported.Account | Your account has not activated the product. | Your account not be opened the product. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.