Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MailJet Api - getting message information about sent email

Tags:

mailjet

I have sent a transaction email day ago via mailjet API, how do I check info about that message, it works for some messageIDs but for others or most of them it returns 404 error. Maybe 🤔 I'm doing something wrong.

It says mailjet stores and gives such info for up to 90 days?

Since I am on a free plan, they closed my question case, so looking for answers anywhere else :/

MessageUUID:731f3280-b140-4cdc-a3a8-33c314d4e6f8
MessageID:576460762915860600

curl -X GET --user ***:*** https://api.mailjet.com/v3/REST/message/576460762915860600

{ "ErrorInfo" : "", "ErrorMessage" : "Object not found", "StatusCode" : 404 }

curl -X GET --user ***:*** https://api.mailjet.com/v3/REST/messageinformation/576460762915860600

{ "ErrorInfo" : "", "ErrorMessage" : "Object not found", "StatusCode" : 404 }
like image 440
Arnoldas Avatar asked Mar 21 '26 13:03

Arnoldas


1 Answers

Just got the same error today.

In my case, it is caused by that the sender domain/email not setup properly.

Also note that if you create a sub account, the sender domain/email won't inherit from the main account, you need to re-setup them.

like image 82
Lin Avatar answered Mar 24 '26 22:03

Lin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!