Create envelope
An envelope serves as a container for all Yoti Sign transactions. When you create an envelope the following elements are configurable:
- File
- Name
- Reminders
- Envelope one time password
- Recipients including tags, auto-tagging and witnesses.
- Notifications
- Branding (only available with embedded flow)
Yoti offers two types of envelope flows:
- Yoti envelope - Yoti will handle the flow.
- Embedded envelope - The envelope will be rendered directly in the browser, commonly via an iFrame.
Headers explained
The following elements are needed in the header:
Header | Description |
---|---|
Authorization | API Key to call the Yoti Sign API. This should be sent as a bearer token. |
Content-Type | multipart/form-data |
Body explained
Each subpart should declare its appropriate Content-Type:
Field | Description |
---|---|
file | Supported file types with content-type header with content-type header:
|
options | application/json |
There must be at least 1 file and a maximum of 20. When sending multiple documents, they will be received in the order sent.