Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).mode chooses what is exported:Filtered (default): the attempts that match status, providerType and search, as in the message list (POST /api/v2/contacts/{id}/messages/query).Selected: only the attempts whose ids you send in ids.All: every attempt; the filter fields are ignored.Id, CampaignFlowId, CampaignName, CampaignStatus, CampaignChannelId, CampaignRecipientId, BusinessContactDetailId, ProviderType, AttemptOrder, Destination, Status, ProviderMessageId, SentAt, DeliveredAt, FailedAt, ErrorCode, Error, MessageSnapshot, SegmentSourceSummary, CreatedAt. Dates are written as MM-dd-yyyy HH:mm:ss.curl --location 'https://api.veloconnect.me/api/v2/contacts/1042/messages/export' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": "Delivered",
"providerType": "SMS",
"sortBy": "sentat",
"sortDescending": true,
"mode": "Filtered"
}'Id,CampaignFlowId,CampaignName,CampaignStatus,CampaignChannelId,CampaignRecipientId,BusinessContactDetailId,ProviderType,AttemptOrder,Destination,Status,ProviderMessageId,SentAt,DeliveredAt,FailedAt,ErrorCode,Error,MessageSnapshot,SegmentSourceSummary,CreatedAt
88213,3f2b8c1e-5d47-4a9b-9c0e-7a1d2e3f4b5c,October offer,Completed,412,90455,3310,SMS,1,+37491234567,Delivered,1284417,10-06-2026 14:12:05,10-06-2026 14:12:09,,,,"Hello Anna, your October offer is ready.",VIP customers,10-06-2026 14:12:01