mailersend / mailersend-nodejs

The official MailerSend Node.js SDK
https://developers.mailersend.com
MIT License
125 stars 17 forks source link

message_id is reported as activity_id #88

Open itamok opened 7 months ago

itamok commented 7 months ago

Re: https://developers.mailersend.com/api/v1/activity.html

When GET https://api.mailersend.com/v1/activity/{domain_id} is requested. The email.id is equal to activity.id. Please fix asap. We are unable to update message statuses.

Example of response structure:

{
  "data" : [{
    "id": "5ee0b166b251345e407c9207", // <--Activity ID
    "created_at": "2020-06-04 12:00:00",
    "updated_at": "2020-06-04 12:00:00",
    "type": "clicked",
    "email": {
        "id": "5ee0b166b251345e407c9207",  // <-- Activity ID instead of Email ID
        "from": "colleen.wiza@example.net",
        "subject": "Magni aperiam sunt nam omnis.",
        ...
    },
    ...
  ]
}