{id} (recipient, delivery status, provider, timestamps).Authorization: Bearer <JWT>.id (GUID, required) - the campaign whose messages are listed.pageNumber (integer, default 1) - 1-based page index.pageSize (integer, 1-1000, default 20) - records per page.status (string, optional) - filter by message/delivery status.providerType (string, optional) - filter by channel/provider type.provider (string, optional) - API-traffic channel selector (SMS | Viber | Whatsapp); ignored by the non-API endpoints.search (string, optional) - free-text filter (e.g. recipient).sortBy (string, optional) - sort field for the message rows.sortDescending (boolean, default true) - true = descending, false = ascending.curl --location 'https://api.veloconnect.me/api/v2/campaigns//messages/query' \
--header 'Content-Type: application/json' \
--data '{
"pageNumber": 0,
"pageSize": 0,
"status": "string",
"providerType": "string",
"search": "string",
"sortBy": "string",
"sortDescending": true
}'{
"data": [
{
"items": [
{
"id": null,
"campaignFlowId": null,
"campaignChannelId": null,
"campaignRecipientId": null,
"providerType": null,
"attemptOrder": null,
"destination": null,
"status": null,
"providerMessageId": null,
"senderTitle": null,
"smsId": null,
"country": null,
"operatorName": null,
"mccMnc": null,
"processingState": null,
"progressingState": null,
"deliveryStatus": null,
"vendorDlrCode": null,
"messageIdInternal": null,
"messageIdFromVendor": null,
"vendorResponseCode": null,
"smsSentTime": null,
"smsArrivedTime": null,
"smsReceivedTime": null,
"smsAttemptToVendorTime": null,
"cycleNumber": null,
"huntNumber": null,
"lastHunt": null,
"srcNumberIn": null,
"dstNumberIn": null,
"routingSrcNumber": null,
"routingDstNumber": null,
"customerName": null,
"vendorName": null,
"customerTrunkName": null,
"vendorTrunkName": null,
"customerGatewayName": null,
"vendorGatewayName": null,
"customerGatewayIp": null,
"vendorGatewayIp": null,
"customerGatewayPort": null,
"vendorGatewayPort": null,
"ttaIn": null,
"ttaOut": null,
"timeToSend": null,
"segmentNumber": null,
"messageBody": null,
"smsDataRecordPrice": null,
"currency": null,
"sentAt": null,
"deliveredAt": null,
"failedAt": null,
"errorCode": null,
"error": null,
"skipReason": null,
"cost": null,
"createdAt": null,
"businessContactId": null,
"businessContactDetailId": null,
"primaryDisplayName": null,
"firstNameSnapshot": null,
"lastNameSnapshot": null,
"middleNameSnapshot": null,
"companyNameSnapshot": null,
"emailSnapshot": null,
"phoneSnapshot": null,
"segmentSourceSummary": null,
"telegramRequestCost": null,
"telegramIsRefunded": null,
"telegramRemainingBalance": null,
"telegramDeliveryStatus": null,
"telegramDeliveryStatusUpdatedAt": null,
"telegramVerificationStatus": null,
"telegramVerificationStatusUpdatedAt": null,
"telegramPayload": null
}
],
"totalCount": 0,
"pageSize": 0,
"pageNumber": 0
}
]
}