Calculate Price
POST
/email-campaigns/price
Email Marketing
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/email-campaigns/price' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": "<p>This is a test</p>",
"from_email_address_id": 2,
"from_name": "From name",
"list_id": 456,
"name": "John Doe",
"subject": "Lorem Ipsum",
"template_id": 31
}'
Response Response Example
{
"data": {
"currency": {
"currency_name_long": "Australian Dollars",
"currency_name_short": "AUD",
"currency_prefix_c": "c",
"currency_prefix_d": "$"
},
"data": {
"body": "<p>This is a test</p>",
"from_email_address_id": 2,
"from_name": "From name",
"list_id": 456,
"name": "John Doe",
"subject": "Lorem Ipsum",
"template_id": 31
},
"queued_count": 2,
"total_count": 6,
"total_price": "0.0066"
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Total price for email campaign."
}
Request
Body Params application/json