V2CampaignPreCreationPriceModelSuccessResponseModelOfV2CampaignPricePreviewModelcurl --location 'https://api.veloconnect.me/api/v2/campaigns/calculate-price' \
--header 'Content-Type: application/json' \
--data '{
"scheduleDate": "2025-01-01T00:00:00Z",
"segmentIds": [
0
],
"quickAddPhoneNumbers": [
"string"
],
"quickAddEmails": [
"string"
],
"channels": [
{
"providerType": "Whatsapp",
"priorityOrder": 0,
"communicationType": "Trasnsactional",
"message": "string",
"templateId": 0,
"senderId": 0,
"openSenderTitle": "string",
"customerTrunkId": 0,
"price": 0,
"cost": 0,
"telegramCode": "string",
"telegramCodeTtlSeconds": 0,
"telegramPayload": "string",
"telegramSenderUsername": "string",
"telegramUsePrecheck": true
}
]
}'{
"data": [
{
"campaignId": "string",
"totalRecipientsCount": 0,
"billableRecipientsCount": 0,
"messagesCount": 0,
"totalPrice": 0,
"currency": "string",
"channels": [
{
"campaignChannelId": null,
"providerType": null,
"priorityOrder": null,
"recipientsCount": null,
"billableRecipientsCount": null,
"messagesCount": null,
"totalPrice": null,
"currency": null,
"errors": null
}
],
"errors": [
"string"
]
}
]
}