v46

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-011274550.0 KB
Email Triggers

Trigger Order Accepted Email to Employer

Send an email notification to employer admins when an order is accepted by a provider. Takes an orderItemId since acceptance is per-provider.

post/v1/email/trigger/orderAccepted/employer

Request body

orderItemIdstring required

The OrderItem ID to trigger the email for (represents a specific provider portion of an order)

Response

Default Response

sentboolean required

Whether the email was sent successfully

recipientCountnumber

Number of recipients the email was sent to

reasonstring

Reason why the email was not sent (if sent is false)