Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
A unique UUIDv4 string that identifies the envelope in the Nitro system.
Query Parameters
An ID reference to a user-associated Nitro Document. Instead of uploading a new file, you can attach an existing Nitro Document to an envelope by referencing its nitroDocumentID
. This lets you reuse documents that have already been uploaded.
To do this, provide the nitroDocumentID
instead of a file in the payload
.
Important: nitroDocumentID
and payload
parameters are mutually exclusive. You must choose one of the following combinations:
payload
+ metadata
nitroDocumentID
+ metadata
Providing both in the same request will throw an error.
Body
The Metadata for the uploaded document
The document to upload, provided as binary data. Each file can be up to 20 MB and 250 pages.
An Envelope can include up to 15 files total, with a combined size limit of 300 MB.
Example:
curl -X POST "https://api.gonitro.dev/sign/envelopes/{envelopeID}/documents" -H "Authorization: Bearer <token>" -F 'metadata={"name":"<your_document_name>"};type=application/json' -F "payload=@/path/to/document.pdf;type=application/pdf" # @ symbol reads file content
Response
When a document is created you will get a unique ID for it. You can add fields to the document later by referencing its unique ID using other endpoints in this API. When the document is first created, it will be in a pending state until it is processed by our system.
Response for a pending document
Name of the file provided by the user.
1
Unique uuid identifier for the document.
1
UTC timestamp indicating when the document was created.
Current status of the document.
pending
, uploaded
, failed
, signed
, sealed