ChakraHQ APIs
HomeSign In
HomeSign In
  1. Whatsapp
  • API Keys
  • Response Format
  • Whatsapp
    • Inbound Events Webhook
    • How to figure out pluginId and whatsappPhoneNumberId
    • Pass Through APIs
      • WhatsApp Messages API (pass-through)
      • Send WhatsApp session message
      • Create WhatsApp Message Template (pass-through)
      • List WhatsApp Message Templates (pass-through)
      • Update WhatsApp Message Template (pass-through)
      • Fetch Whatsapp Media API
      • Show Whatsapp Media Attachments API
    • Send Whatsapp Template Message For Process
      POST
    • Send Whatsapp Template Message For A Phone Number
      POST
    • Upload Public Media
      POST
    • Show Whatsapp Media API
      GET
    • Create a lead
      POST
    • List previous messages for a phone number
      POST
    • List chats
      POST
    • List chat messages for a chat
      POST
  • Platform
    • Process
      • Fetch Process By Id
      • List Processes
      • Create Process
      • Update Process
      • Update Process By Primary Key
      • Delete Process
      • Delete Process By Primary Key Value
      • Bulk Create Process API
      • Bulk Update Process API
    • Task
      • Create Task API
    • User
      • List Users API
      • List Users API (V2)
      • Fetch User API
      • Fetch User API (V2)
      • Update User API
    • Photo
      • Fetch Photo API
      • Upload Photo API
      • Upload Photo API With Id
    • Background Job
      • Fetch Background Job
      • Fetch Background Job Entries API
    • Fetch Config
      GET
  1. Whatsapp

List chat messages for a chat

Developing
POST
https://api.chakrahq.com/v1/ext/chat/{chatId}/message
List all chat messages for a given chat

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/jsonRequired

Example
{}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.chakrahq.com/v1/ext/chat//message' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟢200Success
application/json
Body

Example
{
  "_data": [
    {
      "id": "47eeb60e-ab3e-466a-880d-655270222f4e",
      "chat": "4abc74ba-dfd8-423e-8ef5-fdf3ebbbd487",
      "plugin": "d83e1d23-50b8-4d87-8f92-842a0ac516f6",
      "externalId": "wamid.HBgMOTE5OTAxMjU4NDMzFQIAERgSM0JCQUEyMTA0MDc3RjE1N0MwAA==",
      "provider": "WHATSAPP",
      "dataType": "text",
      "body": {
        "text": {
          "body": "How can i help you"
        }
      },
      "text": "How can i help you",
      "attachments": null,
      "deliveryStatus": "DELIVERED",
      "direction": "OUTBOUND",
      "procedure": null,
      "process": "7417c17d-ace1-4977-867d-eef2ba320263",
      "campaign": null,
      "inReplyTo": null,
      "timestamp": 1762277358132,
      "source": null,
      "createdAt": 1762277358175,
      "updatedAt": 1762277358175
    },
    {
      "id": "14bb0b8f-9027-41ba-8f2d-1bf3fdf364c9",
      "chat": "4abc74ba-dfd8-423e-8ef5-fdf3ebbbd487",
      "plugin": "d83e1d23-50b8-4d87-8f92-842a0ac516f6",
      "externalId": "wamid.HBgMOTE5OTAxMjU4NDMzFQIAERgSODBBQjI4Q0QxRjc0MjNBN0Y4AA==",
      "provider": "WHATSAPP",
      "dataType": "text",
      "body": {
        "text": {
          "body": "Hello I am an AI Bot"
        }
      },
      "text": "Hello I am an AI Bot",
      "attachments": null,
      "deliveryStatus": "DELIVERED",
      "direction": "OUTBOUND",
      "procedure": null,
      "process": "7417c17d-ace1-4977-867d-eef2ba320263",
      "campaign": null,
      "inReplyTo": null,
      "timestamp": 1762277357388,
      "source": null,
      "createdAt": 1762277357392,
      "updatedAt": 1762277357392
    }
  ]
}
Modified at 2025-11-05 17:28:10
Previous
List chats
Next
Fetch Process By Id
Built with