Get Bot Postback List via WhatChimp API

Retrieve all bot flow postback IDs — needed for binding Quick Reply buttons to bot flows.

Updated 5 February 2026

Retrieve the list of all bot postback actions configured in your WhatsApp bot flows. Postbacks are the triggers that connect interactive buttons, Quick Reply templates, and menu options to specific bot flows.

Before you begin: Make sure you have your API key and phone number ID. See Getting Started with WhatChimp Developer API for setup instructions.

What Are Postbacks?

Every bot flow you create in WhatChimp has a postback ID — a unique identifier that triggers that specific flow. Postbacks are used when:

Endpoint

GET/POST /api/v1/whatsapp/get/post-back-list

https://app.whatchimp.com/api/v1/whatsapp/get/post-back-list

Parameters

ParameterTypeRequiredDescription
apiTokenStringYesYour WhatChimp API key
phone_number_idStringYesYour 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

FieldDescription
idInternal ID of the bot flow
postback_idThe unique postback identifier — this is what you pass in API calls
bot_nameDisplay name of the bot flow
template_nameTemplate name associated with the flow
visual_flow_typeType of flow: "flow" (visual flow builder) or other types
postback_type"main" for primary triggers

Using Postbacks with Quick Reply Templates

The most common use case for this endpoint is binding Quick Reply buttons to bot flows when sending template messages via API.

The flow:

  1. Call GET /whatsapp/get/post-back-list to get all available postback IDs
  2. Pick the postback IDs that match the bot flows you want each button to trigger
  3. Pass them as a JSON array in template_quick_reply_button_values when sending the template
template_quick_reply_button_values=["QUICK_REPLY_ORDER_TRACKING", "QUICK_REPLY_LOCATION_REPLY_BOT"]

First postback ID maps to the first Quick Reply button, second to the second button, and so on.

For a complete walkthrough, see Send Template Messages with Quick Reply Buttons via WhatChimp API.

Related Articles

More in WhatChimp APIs