Menambahkan nomor telepon ke WhatsApp Business Account (WABA).
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:AddChatappPhoneNumber |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PhoneNumber |
string |
Yes |
Nomor telepon. |
1380000**** |
| CustSpaceId |
string |
Yes |
Space ID dari sub-pelanggan Independent Software Vendor (ISV). |
93928389**** |
| Cc |
string |
Yes |
Kode negara. |
86 |
PreValidateId
deprecated
|
string |
No |
Nomor telepon yang telah diverifikasi sebelumnya. Catatan Parameter ini sudah tidak digunakan lagi (deprecated). |
1020**** |
| VerifiedName |
string |
Yes |
Nama nomor telepon. |
Alibaba |
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. |
90E63D28-E31D-1EB2-8939-A9486641**** |
| Code |
string |
Kode status permintaan.
|
OK |
| Success |
boolean |
Menunjukkan apakah panggilan berhasil.
|
false |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Code": "OK",
"Success": false
}
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.