Skip to main content
POST
Approve a draft message

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

email_id
integer
required

ID of the draft email to approve within the caller's organization.

Body

application/json

Recipient selection for drafts that did not originate from a donor. Omit the body for donor-originated drafts. The controller has no explicit body validator; missing or unknown IDs in the recipient-send branch return 404.

entity_id
integer

Recipient ID required for drafts that did not originate from a donor. Must exist in the caller's organization.

Example:

443

donor_id

Donor ID in the caller's organization, or all to send to the recipient's current sponsors. Required for drafts that did not originate from a donor.

Example:

"all"

Response

Draft approved and delivery processing completed.

message
string

Confirmation with the selected recipient count; individual email deliveries may be skipped when no email template set is configured.

Example:

"Message successfully sent to 1 Donor"