For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send Envelope

This document contains details for the /api/v1/envelope/send endpoint, including headers, request parameters, response fields, and status codes.

Endpoint

Method
Endpoint

POST

/api/v1/envelope/send

Headers

Header
Required
Description

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

Field
Type
Required
Description

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 value
Source

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.

Field
Type
Description

uuid

UUID

UUID of the created envelope

Status codes

Code
Description

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

Last updated

Was this helpful?