Skip to main content
Question

API or node SDK to get content for transactional Emails with message id or delivery ID

  • February 15, 2025
  • 2 replies
  • 17 views

Hi everyone, I have been trying to get email content as soon as the transactional email is delivered.

But I am unable to find an api which I can use my code to get the email content.
I found one API /messages/archived-messages/<messageId> - but this is limited to only 100 calls per day.
When I send the transactional email I get the delivery id, but I guess this is just the message id but it doesnt represent the email has been sent. Is there any api to track if the email is successfully sent also? by delivery id.

2 replies

Felix
  • Novice
  • 223 replies
  • February 16, 2025

Hey suman,

regarding the status of the transactional messages you can check out Get transactional message deliveries or for campaign emails Reporting Webhooks.

 

I am not sure if you can get the html / body of the delivered email. Do you need the exact words or is a description enough?

In order to see the emails myself I created a Slack notification and simply linked the delivery URL in the message. Not sure if that would fit your needs: https://fly.customer.io/workspaces/123456789/journeys/outbox/deliveries/abcdefgh==


  • Author
  • Novice
  • 1 reply
  • February 16, 2025

Thanks for your response,
Couple of follow ups, 
Get transactional message deliveries - returns metrics of all messages, is there a way I can filter out metrics by using only message id or delivery id.
Also which key I should refer to if I am interested to know if a message is sent to the recipent or not.
https://docs.customer.io/api/app/#operation/getArchivedMessage - in order to get the content of the email I have got this API are there any another apis similar to this? The problem with this API is its rate limited to only 100 requests per day.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings