Meminta kode verifikasi untuk dikirim ke nomor telepon yang ditentukan.
Deskripsi operasi
API ini dibatasi hingga 10 permintaan per detik (QPS) per pengguna. Jika batas ini dilampaui, panggilan API akan mengalami pengendalian aliran (throttled), yang dapat memengaruhi operasional bisnis Anda. Pastikan untuk 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 Space pelanggan sub-ISV (Independent Software Vendor). |
cams-kei**** |
| Method |
string |
Yes |
Metode penerimaan kode verifikasi. Valid values:
|
sms |
| Locale |
string |
Yes |
Bahasa. Untuk nilai-nilainya, lihat Kode bahasa. |
zh_CN |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| AccessDeniedDetail |
string |
Detail 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 pemanggilan 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.