Mailrelay API Reference

Get an SMTP email by id

GET /smtp_emails/{id}

Get an SMTP email by id

Parameters

NameTypeDescription
include_impressions boolean Include impressions in the results
include_clicks boolean Include clicks in the results
include_unsubscribe_events boolean Include unsubscribe events in the results
include_smtp_tags boolean Include smtp tags in the results
id integer ID of the record

Responses

StatusDescription
200 Success
404 Couldn't find record with provided ID.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.