Send Envelope
This document contains details for the /api/v1/envelope/send endpoint, including headers, request parameters, response fields, and status codes.
Endpoint
POST
/api/v1/envelope/send
Headers
Authorization
Yes
Bearer authorization token
Content-Type
Yes
application/json
Mailbox
Yes
UUID of the sender mailbox
Use a token with access to the sender mailbox.
Request
uuid
UUID
No
Predefined envelope UUID
data
string
Yes
Envelope XML serialized as a JSON string
metadata
object
No
Custom envelope metadata
Envelope XML
Use identifiers from the same template version.
envelope/@templateUuid
Template UUID
envelope/@templateVersion
Template version UUID
role/@id
Role ID from the template flow
role/@mailboxUuid
Recipient mailbox UUID
document/@id
Document ID from the selected template version
field/@name
Exact field name from the selected template version
Example envelope XML:
Request example
Optional request fields
uuid
Set uuid when the integration assigns the envelope UUID.
metadata
Set metadata to store custom envelope data.
Response
The endpoint returns 201 Created with the created envelope UUID.
uuid
UUID
UUID of the created envelope
Status codes
201
Envelope created and sent successfully
400
Invalid request headers, JSON body, envelope XML, or reusable identifiers
401
Missing, invalid, or expired authorization token
403
No permission to send envelopes from the specified mailbox
Related topics
Last updated
Was this helpful?
