Conversations
List conversation messages
Messages in this thread, newest first, across every channel it has carried. Reply with POST /v1/messages, passing the conversation's senderId as the Zavu-Sender header so the answer leaves from the number the contact already knows.
get/v1/conversations/{conversationId}/messages
Path parameters
conversationIdstring required
Query parameters
limitinteger
cursorstring
Opaque cursor from a previous response's nextCursor.
Response
List of messages.
Example response
{
"items": [
{
"id": "jd7x2k3m4n5p6q7r8s9t0",
"to": "+56912345678",
"from": "+13125551212",
"senderId": "sender_12345",
"content": {
"mediaUrl": "https://example.com/image.jpg",
"mimeType": "image/jpeg",
"filename": "invoice.pdf",
"ctaDisplayText": "See Dates",
"ctaUrl": "https://example.com/schedule",
"footerText": "Dates subject to change.",
"templateVariables": {
"1": "John",
"2": "ORD-12345"
},
"templateButtonVariables": {
"0": "abc-report-token"
},
"templateHeaderVariables": {
"1": "Jorge y Laura"
},
"referral": {
"sourceId": "120210000000000000",
"ctwaClid": "ARIzZm9vYmFyY3R3YWNsaWQ"
}
},
"conversationId": "js723987cyghwqxxaxcf590qd18axd95"
}
]
}