Messages: Get messages
gapify_get_messagesRetrieves the messages of a specific conversation using its account and conversation IDs, so support agents can review the chat history before replying, assigning, or resolving a ticket.
Instructions
List the messages of a conversation [Messages]
GET /api/v1/accounts/{account_id}/conversations/{conversation_id}/messages
Auth: User API key (header api-access-token).
Text values may be written in Persian (Farsi) or any other language and are sent unchanged; IDs, numbers and phone numbers may use Persian or Arabic-Indic digits.
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": {
"account_id": "<account_id>",
"conversation_id": "<conversation_id>"
},
"name": "gapify_get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The numeric ID of the account | |
| conversation_id | Yes | The numeric ID of the conversation |