Create Envelope

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
expires_atstringRequired

Optional: Envelope-wide expiration - date format - must be in the future

document_idstringRequired

Required: Document UUID - exists:documents,id - must have signers configured

signing_modestringRequired

Optional: Order in which signers receive the envelope - in: SEQUENTIAL|PARALLEL - default: SEQUENTIAL

parent_record_idstringRequired

Optional: Parent record UUID - required_with parent_record_type

parent_record_typestringRequired

Optional: Polymorphic parent alias - required_with parent_record_id

signers[0][expires_at]stringRequired

Optional per signer: Per-signer expiry override - date format - must be in the future

signers[0][document_signer_id]stringRequired

Required per signer: Document signer UUID - exists:document_signers,id - must cover every DocumentSigner row on the document

signers[0][recipient][recipient_name]stringRequired

Optional per signer: Recipient name snapshot - max 255 chars

signers[0][recipient][recipient_email]stringRequired

Optional per signer: Recipient email - valid email - max 255 chars

signers[0][recipient][recipient_phone]stringRequired

Optional per signer: Recipient phone - max 32 chars

signers[0][channel_flags][send_via_sms]stringRequired

Optional per signer: SMS channel flag - boolean

signers[0][channel_flags][send_via_email]stringRequired

Optional per signer: Email channel flag - boolean - default: email-only when channel_flags omitted

signers[0][channel_flags][send_via_portal]stringRequired

Optional per signer: Portal channel flag - boolean

signers[0][channel_flags][send_via_postal]stringRequired

Optional per signer: Postal channel flag - boolean

signers[0][recipient][is_external_recipient]stringRequired

Optional per signer: External-recipient flag - boolean

signers[0][recipient][recipient_customer_id]stringRequired

Optional per signer: CRM customer UUID - exists:customers,id

signers[0][recipient][external_recipient_label]stringRequired

Optional per signer: External recipient label - max 255 chars

signers[0][recipient][recipient_customer_contact_id]stringRequired

Optional per signer: CRM customer contact UUID

signers[0][recipient][recipient_customer_location_id]stringRequired

Optional per signer: CRM customer location UUID

Response

Successful response