Email History
GET
/email/history
Transactional Email
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://rest.clicksend.com/v3/email/history'
Response Response Example
{
"data": {
"current_page": 1,
"data": [
{
"_attachments": [],
"_currency": {
"currency_name_long": "Philippine Peso",
"currency_name_short": "PHP",
"currency_prefix_c": "c",
"currency_prefix_d": "?"
},
"bcc": null,
"body": "This is a test content <img src=\"cid:7c65ccc4a134a809db09a839df9b75f055afcb62@click-send.com\" />",
"body_plain_text": "This is a test content <img src=\"cid:7c65ccc4a134a809db09a839df9b75f055afcb62@click-send.com\" />",
"cc": null,
"custom_string": null,
"date_added": "1469001354",
"from_email_address_id": 2,
"from_name": "test",
"hard_bounce_count": 0,
"message_id": "BCEBC89E-6993-4F13-B485-942440C62915",
"price": "0.0000",
"schedule": "1469001353",
"soft_bounce_count": 0,
"status": "Sent",
"status_text": "Email added to outgoing mail queue for delivery",
"subaccount_id": 1039,
"subject": "test email transaction",
"to": [
{
"email": "test1@user.com"
}
],
"user_id": 1201
},
{
"_attachments": [
{
"_attachment_file_url": "https://rest.clicksend.com/files/B5664FA5-CEBD-40B0-BED1-5CFF0CA027BD.jpg",
"content_disposition": "attachment",
"content_id": "<cid:PHP-CID-5b3eb73f50a7cf7f423dc97070bb3b5280312308>",
"content_type": "image/jpeg",
"file_name": "test.jpg"
}
],
"_currency": {
"currency_name_long": "Philippine Peso",
"currency_name_short": "PHP",
"currency_prefix_c": "c",
"currency_prefix_d": "?"
},
"bcc": null,
"body": "This is a test content",
"body_plain_text": "This is a test content",
"cc": null,
"custom_string": null,
"date_added": "1469002942",
"from_email_address_id": 2,
"from_name": "test",
"hard_bounce_count": 0,
"message_id": "988067DE-9318-448F-B225-7A5A695B23D1",
"price": "0.0822",
"schedule": "1469002942",
"soft_bounce_count": 0,
"status": "Queued:WaitSend",
"status_text": null,
"subaccount_id": 1039,
"subject": "test email transaction",
"to": [
{
"email": "test1@user.com"
}
],
"user_id": 1201
}
],
"from": 1,
"last_page": 1,
"next_page_url": null,
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 2
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "Here is your result."
}
Request
None