Create Dispatch
Headers
Request
Optional: Dispatch expiration timestamp - date format - must be in the future - falls back to default_dispatch_expiry_days when omitted
Required: Document UUID - exists:documents,id - document MUST be PUBLISHED
Optional: Enable SMS channel - boolean - tenant settings must allow
Required if is_external_recipient=true: Recipient name snapshot - max 255 chars
Optional: Enable email channel - boolean - at least one channel required
Optional: Recipient email snapshot - valid email - max 255 chars
Optional: Recipient phone snapshot - max 32 chars
Optional: Enable customer portal channel - boolean
Optional: Enable postal channel - boolean
Optional: Parent record UUID - both-or-neither with parent_record_type
Optional: Polymorphic parent type - registered morph alias - both-or-neither with parent_record_id
Optional: Recipient is non-CRM external (snapshot only) - boolean - requires allow_external_recipients=true
Optional: CRM customer UUID - exists:customers,id - must belong to current tenant
Required if is_external_recipient=true: Display label for the external recipient - max 255 chars
Optional: CRM customer contact UUID - exists:customer_contacts,id - must belong to current tenant
Optional: CRM customer location UUID - exists:customer_locations,id - must belong to current tenant

