Get an email
Returns one email with its full body, its attachments, and the record behind every address it went to.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
emailIdstringrequiredThe email to fetch.
example: 1831287365623406592
Response
200 · The email.
idstringThe email.
subjectstringThe subject line.
bodystringThe body as it was sent.
sentstring · date-timeWhen it was sent.
templateenum<string>Which MagicDoor template wrapped the body. Emails sent through this API use companyGeneric.
emptycompanyGenericmagicDoor
targetsobject[]Everyone it went to, with the record behind each address.
filesFile[]The attachments that were sent with it.
propertyManagerobjectThe property manager who sent it. Absent when MagicDoor sent it automatically.
metadataobjectFree-form key/value data MagicDoor stored with the email.