Businesses

Generate Document Email Draft

Generate document request email draft without sending.

Returns email content for preview before sending.

post/api/businesses/{business_id}/documents/generate-email-draft

Request

  • Base URL
    https://api.flagpost.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

business_idstring required

Request body

template_idstring nullable
custom_documentsstring[] nullable
messagestring nullable
due_datestring nullable
custom_subjectstring nullable
custom_body_htmlstring nullable

Response

Successful Response

subjectstring required
body_htmlstring required
body_textstring required
recipient_emailstring required
recipient_namestring nullable required
requested_documentsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.