QuestionQ26

VerifiedScripting and Automation

A developer uses the messageDefinitionSends REST API endpoint to send a triggered email. This method returns a 202 (success) response code.

How can the developer verify whether the email was successfully sent?

Explanation

The GET /messaging/v1/messageDefinitionSends/key:{key}/deliveryRecords endpoint returns delivery details for an email sent through a MessageDefinitionSend. A 202 response only indicates that the send request was accepted for asynchronous processing; it does not itself confirm delivery. The endpoint uses the send definition key and the returned RecipientSendId to retrieve that outcome.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!