Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).id is the id of the conversation: the id of an item in the conversation list (POST /api/sms-conversations).PageNumber starts at 1 and PageSize is 1 to 1000. Without them you get page 1 with 20 messages.data is a list with one object: items (the messages), totalCount (all messages of the conversation), pageSize and pageNumber. In this call unreadMessagesCount is 0, and lastMessage, senderId and customerTrunkId are null.Conversation is not found.curl --location 'https://api.veloconnect.me/api/sms-conversations/418/messages?PageNumber=1&PageSize=20' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"items": [
{
"id": 421,
"chatId": "3f2b8c1e-5d47-4a9b-9c0e-7a1d2e3f4b5c",
"fromPhoneNumber": "+37491234567",
"toPhoneNumber": "MyBrand",
"userName": null,
"message": "YES",
"receivedAt": "2026-10-08T09:34:12Z",
"unreadMessagesCount": 0,
"campaignId": null,
"senderId": null,
"customerTrunkId": null,
"lastMessage": null
},
{
"id": 418,
"chatId": "3f2b8c1e-5d47-4a9b-9c0e-7a1d2e3f4b5c",
"fromPhoneNumber": "MyBrand",
"toPhoneNumber": "+37491234567",
"userName": null,
"message": "Your order 1042 is ready. Reply YES to confirm the delivery.",
"receivedAt": "2026-10-08T09:30:00Z",
"unreadMessagesCount": 0,
"campaignId": 1284417,
"senderId": null,
"customerTrunkId": null,
"lastMessage": null
}
],
"totalCount": 2,
"pageSize": 20,
"pageNumber": 1
}
]
}