Get Email by ID API
How It Works
Get transactional email by ID
GET /v1/transactional/email/{emailId}const response = await fetch('/v1/transactional/email/{emailId}', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();{
"id": 42,
"from": "Postman <[email protected]>",
"recipient": "[email protected]",
"params": {
"body": "Hello World",
"from": "Postman <[email protected]>",
"subject": "Hello World",
"reply_to": "[email protected]"
},
"attachments_metadata": [
{
"fileName": "text",
"fileSize": 0,
"hash": "text"
}
],
"status": "DELIVERED",
"error_code": null,
"error_sub_type": null,
"created_at": "2023-05-10T03:03:54.163Z",
"updated_at": "2023-05-10T03:05:00.000Z",
"accepted_at": "2023-05-10T03:03:55.406Z",
"sent_at": "2023-05-10T03:04:01.912Z",
"delivered_at": "2023-05-10T03:05:00.000Z",
"opened_at": null,
"classification": "FOR_ACTION",
"tag": "hello world"
}Limitations
Last updated
Was this helpful?