Get Chat Messages
sendpulse_get_chat_messagesRetrieve a contact's WhatsApp chat message history from SendPulse, with pagination and ordering options for reviewing past conversations.
Instructions
Get message history for a contact.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact_id": "<contact_id>"
},
"name": "sendpulse_get_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of messages to fetch | |
| skip | No | Messages to skip (pagination) | |
| order | No | Message order | desc |
| account | No | Account name (only one configured: brand_a) | brand_a |
| contact_id | Yes |