Email Price
POST
/email/price
Transactional Email
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/email/price' \
--header 'Content-Type: application/json' \
--data-raw '{
"attachments": [
{
"content": "<string>",
"content_id": "<string>",
"disposition": "<string>",
"filename": "<string>",
"type": "<string>"
}
],
"bcc": [
{
"email": "<string>",
"name": "<string>"
}
],
"body": "<string>|required",
"cc": [
{
"email": "<string>",
"name": "<string>"
}
],
"from": {
"email_address_id": "<integer>|required",
"name": "<string>"
},
"schedule": "<integer>",
"subject": "<string>|required",
"to": [
{
"email": "<string>|required",
"name": "<string>"
}
]
}'
Response Response Example
{
"data": {
"_currency": {
"currency_name_long": "Australian Dollars",
"currency_name_short": "AUD",
"currency_prefix_c": "c",
"currency_prefix_d": "$"
},
"bcc_array": null,
"body": "This is a test <img src='cid:test'/>",
"cc_array": [
{
"email": "user1@test.com",
"name": "cc1"
}
],
"price": 0.002,
"subject": "test subject",
"to_array": [
{
"email": "test@user",
"name": "user1"
}
]
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Here's the email price."
}
Request
Body Params application/json