Create a document and send it for signature
POST
/document/recipients/create/
const url = 'https://app.qsig.in/backend/othercompanyapi/document/recipients/create/';const options = { method: 'POST', headers: {'X-Api-Key': '<X-Api-Key>', 'Content-Type': 'application/json'}, body: '{"companyDetails":{"api_key":"example","is_mail_required":true},"documentDetails":{"doc_url":"example","redirect_url":"example"},"recipientDetail":[{"name":"example","email":"example","typeOfSignature":"E-Signature","sequence":1,"page_no":1,"x_cor":1,"y_cor":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/othercompanyapi/document/recipients/create/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <X-Api-Key>' \ --data '{ "companyDetails": { "api_key": "example", "is_mail_required": true }, "documentDetails": { "doc_url": "example", "redirect_url": "example" }, "recipientDetail": [ { "name": "example", "email": "example", "typeOfSignature": "E-Signature", "sequence": 1, "page_no": 1, "x_cor": 1, "y_cor": 1 } ] }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Retry-safe: a repeated key replays the prior response.
Request Body required
Section titled “Request Body required ” Media type application/json
object
companyDetails
object
api_key
string
is_mail_required
False → headless: response returns signing_info URLs
boolean
documentDetails
object
doc_url
Public http(s) URL of the PDF
string
redirect_url
string
recipientDetail
Array<object>
object
name
string
email
string
typeOfSignature
string
sequence
integer
page_no
integer
x_cor
number
y_cor
number
Responses
Section titled “ Responses ”Created (signing_info present in headless mode)
Invalid key / validation error
Account suspended
Rate limit or monthly call quota exceeded