Create a draft envelope
POST
/envelopes
const url = 'https://app.qsig.in/backend/api/v1/envelopes';const options = { method: 'POST', headers: {'X-Api-Key': '<X-Api-Key>', 'Content-Type': 'application/json'}, body: '{"title":"example","external_id":"example","routing_order":"parallel","message":"example","expire_in_days":1,"redirect_url":"https://example.com","metadata":{},"recipients":[{"name":"example","email":"hello@example.com","role":"signer","signature_method":"electronic","sequence":1}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.qsig.in/backend/api/v1/envelopes \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <X-Api-Key>' \ --data '{ "title": "example", "external_id": "example", "routing_order": "parallel", "message": "example", "expire_in_days": 1, "redirect_url": "https://example.com", "metadata": {}, "recipients": [ { "name": "example", "email": "hello@example.com", "role": "signer", "signature_method": "electronic", "sequence": 1 } ] }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
title
required
string
external_id
string
routing_order
string
message
string
expire_in_days
integer
redirect_url
string format: uri
metadata
object
recipients
Array<object>
object
name
required
string
email
required
string format: email
role
string
signature_method
string
sequence
integer
Responses
Section titled “ Responses ”Envelope created
Idempotency or external-id conflict