Email an owner
Sends an email to an owner at the address on their record.
Authorization
AuthorizationstringrequiredPath parameters
ownerIdstringrequiredThe owner to email.
Body
application/json
subjectstringrequiredThe subject line.
bodystringrequiredThe body of the email. MagicDoor wraps it in the company template.
attachmentSessionIdsstring[]Upload sessions to attach, from the email attachment upload session endpoint.
documentTemplateIdsstring[]Letter templates to render for this recipient and attach as PDFs.
Response
200 · The email that was sent.
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.
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.
401 · The access token is missing, expired, or not valid.
404 · No owner with that id belongs to your company.
422 · The owner record is deactivated, the owner has no usable email address, or the company has all outbound communications switched off.
The email leaves immediately, to the owner's email address. There is no draft step and no way to recall it.
Upload each file through the email attachment upload session endpoint first, then pass the session ids in attachmentSessionIds. Letter templates named in documentTemplateIds are rendered for the owner and attached as PDFs.
This endpoint and the JSON one share a URL. MagicDoor picks between them on the request's Content-Type.