WhatChimp API ke through Bot Postback List hasil karein
Sabhi bot flow postback IDs retrieve karein — Quick Reply buttons ko bot flows ke saath bind karne ke liye zaroori.
Updated 5 February 2026
Apne WhatsApp bot flows me configured sabhi bot postback actions ki list retrieve karein. Postbacks wo triggers hain jo interactive buttons, Quick Reply templates, aur menu options ko specific bot flows se connect karte hain.
Shuru karne se pehle: Ensure karein ki aapke paas aapki API key aur phone number ID hai. Setup instructions ke liye Getting Started with WhatChimp Developer API dekhein.
Postbacks kya hain?
WhatChimp me aap jo bhi bot flow create karte hain uska ek postback ID hota hai — ek unique identifier jo us specific flow ko trigger karta hai. Postbacks use hote hain jab:
- Aap template messages par Quick Reply buttons ko bot flows ke saath bind karte hain (dekhein Send Template Messages with Quick Reply Buttons)
- Aap apne khud ke system se bot flows ko programmatically trigger karte hain
- Aap interactive menu buttons ko specific responses ke saath map karte hain
Endpoint
GET/POST /api/v1/whatsapp/get/post-back-list
https://app.whatchimp.com/api/v1/whatsapp/get/post-back-list
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
apiToken | String | Haan | Aapki WhatChimp API key |
phone_number_id | String | Haan | Aapki WhatsApp phone number ID |
Request Examples
GET:
https://app.whatchimp.com/api/v1/whatsapp/get/post-back-list?apiToken=API-KEY&phone_number_id=PHONE-NUMBER-ID
POST (cURL):
curl -X POST \
'https://app.whatchimp.com/api/v1/whatsapp/get/post-back-list' \
-d 'apiToken=API-KEY' \
-d 'phone_number_id=PHONE-NUMBER-ID'
Response
{
"status": "1",
"message": [
{
"id": 671,
"postback_id": "QUICK_REPLY_LOCATION_REPLY_BOT",
"bot_name": "Location quick reply",
"template_name": "Location quick reply",
"visual_flow_type": "flow",
"postback_type": "main"
},
{
"id": 672,
"postback_id": "QUICK_REPLY_ORDER_TRACKING",
"bot_name": "Track Order Flow",
"template_name": "Track Order Flow",
"visual_flow_type": "flow",
"postback_type": "main"
}
]
}
Response Fields
| Field | Description |
|---|---|
id | Bot flow ki internal ID |
postback_id | Unique postback identifier — yeh wo hai jo aap API calls me pass karte hain |
bot_name | Bot flow ka display name |
template_name | Flow ke saath associated template name |
visual_flow_type | Flow ka type: "flow" (visual flow builder) ya dusre types |
postback_type | "main" primary triggers ke liye |
Quick Reply Templates ke saath Postbacks use karna
Is endpoint ka sabse common use case Quick Reply buttons ko bot flows ke saath bind karna hai jab aap template messages API ke through bhejte hain.
Flow:
GET /whatsapp/get/post-back-listcall karein sabhi available postback IDs hasil karne ke liye- Wo postback IDs choose karein jo un bot flows se match karte hain jinhe aap har button se trigger karna chahte hain
- Unhe JSON array ke roop me
template_quick_reply_button_valuesme pass karein jab template bhejte hain
template_quick_reply_button_values=["QUICK_REPLY_ORDER_TRACKING", "QUICK_REPLY_LOCATION_REPLY_BOT"]
Pehli postback ID pehle Quick Reply button se map hoti hai, doosri doosre button se, aur isi tarah aage.
Complete walkthrough ke liye, dekhein Send Template Messages with Quick Reply Buttons via WhatChimp API.
Related Articles
- Send Template Messages with Quick Reply Buttons via WhatChimp API — Quick Reply buttons ko bot flows ke saath bind karein
- How to Create a Keyword-Based WhatsApp Chatbot in WhatChimp — Wo bot flows banayein jo postbacks trigger karte hain
- Getting Started with WhatChimp Developer API — API setup aur authentication