Meminta kode verifikasi untuk dikirim ke nomor telepon yang ditentukan.
Deskripsi operasi
API ini memiliki batas laju 10 kueri per detik (QPS) per pengguna. Jika Anda melebihi batas ini, panggilan API akan dibatasi, yang dapat memengaruhi bisnis Anda. Pastikan Anda memanggil API ini dalam batas yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:GetChatappVerifyCode |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PhoneNumber |
string |
Yes |
Nomor telepon. |
861380000**** |
| CustSpaceId |
string |
Yes |
ID ruang dari sub-pelanggan Independent Software Vendor (ISV). |
cams-kei**** |
| Method |
string |
Yes |
Metode yang digunakan untuk menerima kode verifikasi. Valid values:
|
sms |
| Locale |
string |
Yes |
Bahasa. Untuk nilai yang valid, lihat Kode bahasa. |
zh_CN |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| AccessDeniedDetail |
string |
Detail tentang penolakan akses. |
None |
| Message |
string |
Pesan kesalahan. |
None |
| RequestId |
string |
ID permintaan. |
1612C226-E271-4CFE-9F18-4066D550F91B |
| Code |
string |
Kode status permintaan.
|
OK |
| Success |
boolean |
Menunjukkan apakah panggilan berhasil.
|
true |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "1612C226-E271-4CFE-9F18-4066D550F91B",
"Code": "OK",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Product.Unsubscript | You have not subscribed to the specified product. | |
| 400 | Ram.PermissionDeny | You are not authorized to perform the operation. | |
| 400 | System.LimitControl | The system is under flow control. | |
| 400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.