Mengambil detail alur.
Deskripsi operasi
-
Sebelum memanggil operasi ini, pastikan Anda telah berhasil membuat WhatsApp Flow.
-
Jika Anda belum memiliki WhatsApp Flow yang berhasil dibuat, panggil operasi CreateFlow untuk membuatnya.
Batas QPS
Batas QPS per pengguna tunggal untuk operasi ini adalah 5 panggilan per detik. Jika batas ini terlampaui, panggilan API akan dibatasi (throttled), yang dapat memengaruhi bisnis Anda. Panggil operasi ini sesuai kebutuhan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:GetFlow |
get |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FlowId |
string |
Yes |
ID alur, yaitu FlowId yang dikembalikan oleh operasi CreateFlow saat Anda membuat WhatsApp Flow. |
333993838*** |
| CustSpaceId |
string |
No |
ID ruang pelanggan sub-ISV atau ID instans pelanggan langsung. Anda dapat melihat ID Ruang di halaman Manajemen Saluran Konsol. |
cams-kei**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| AccessDeniedDetail |
string |
Detail penolakan akses. |
None |
| RequestId |
string |
ID permintaan. |
DAC72B08-3327-33EF-BEDC-8EC3E83A6575 |
| Message |
string |
Paket kesalahan. |
None |
| Data |
object |
Data yang dikembalikan. |
|
| Status |
string |
Status Flow. Nilai valid:
Valid values:
|
DRAFT |
| FlowId |
string |
ID Flow. |
92675332812643**** |
| PreviewUrl |
string |
URL Tampilan pratinjau sementara. |
https://pre-url |
| EndpointUri |
string |
URL Titik akhir WA Flow. |
http://abc.com |
| JSONVersion |
string |
Informasi versi JSON. |
2.1 |
| Categories |
array |
Daftar kategori. |
|
|
string |
Kategori. |
SIGN_UP |
|
| FlowName |
string |
Nama Flow. |
flow_001 |
| DataApiVersion |
string |
Informasi versi API. |
3.0 |
| PreviewUrlExpires |
integer |
Pengatur waktu kedaluwarsa URL Tampilan pratinjau. |
1700617436633 |
| Code |
string |
Kode kesalahan. Untuk informasi lebih lanjut, lihat Kode kesalahan. |
OK |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "",
"RequestId": "DAC72B08-3327-33EF-BEDC-8EC3E83A6575\n",
"Message": "None",
"Data": {
"Status": "DRAFT",
"FlowId": "92675332812643****",
"PreviewUrl": "https://pre-url",
"EndpointUri": "http://abc.com",
"JSONVersion": "2.1",
"Categories": [
"SIGN_UP"
],
"FlowName": "flow_001",
"DataApiVersion": "3.0",
"PreviewUrlExpires": 1700617436633
},
"Code": "OK"
}
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.