Calculate Price for SMS Campaign
POST
/sms-campaigns/price
SMS Campaigns
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/sms-campaigns/price' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": "(First Name), this is your new campaign message.",
"from": "+61353787448",
"list_id": 428,
"name": "My Campaign 1"
}'
Response Response Example
{
"data": {
"currency": {
"currency_name_long": "British Pounds",
"currency_name_short": "GBP",
"currency_prefix_c": "p",
"currency_prefix_d": "£"
},
"data": {
"body": "John, this is your new campaign message.",
"from": "+61353787448",
"schedule": 1444381346
},
"total_count": 1,
"total_price": "0.035"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Here is your price for your SMS Campaign."
}
Request
Body Params application/json