Documents

Operations related to document management

Invite a user to sign a document

post
/api/invite-for-sign
Authorizations
AuthorizationstringRequired

Enter the token in the format (Bearer )

Body
uuidstring · uuidRequiredExample: 72dcaac9-7398-408f-b4c0-c058d4a652ed
emailstring · emailRequiredExample: websinghajit@gmail.com
firstnamestringOptionalExample: John
lastnamestringOptionalExample: Doe
pageintegerOptionalExample: 1
xnumber · floatOptionalExample: 100.5
ynumber · floatOptionalExample: 200.5
Responses
chevron-right
200

Invitation email sent successfully

application/json
post
/api/invite-for-sign

Upload a PDF document

post
/api/upload-document

Allows authenticated users to upload a PDF document. The document is stored, and a thumbnail is generated.

Authorizations
Body
filestring · binaryRequired

PDF document file (Only PDF format allowed)

Responses
chevron-right
200

Document uploaded successfully

application/json
post
/api/upload-document

Delete a document

delete
/api/delete-document

Allows authenticated users to delete a document by its UUID. If the document has not been signed, it is removed along with associated recipients and files.

Authorizations
Query parameters
uuidstring · uuidRequired

The UUID of the document to be deleted

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
Responses
chevron-right
200

Document removed successfully

application/json
delete
/api/delete-document

Download a signed document

get
/api/download-document

Allows authenticated users to download a signed document using its UUID.

Authorizations
Query parameters
uuidstring · uuidRequired

The UUID of the signed document to be downloaded

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
Responses
chevron-right
200

Signed document download

get
/api/download-document

No content

List all documents

get
/api/documents

Retrieves a list of all documents belonging to the authenticated user.

Authorizations
Responses
chevron-right
200

Successful retrieval of documents

application/json
get
/api/documents

Get document status

get
/api/documents/status

Retrieves the status of a specific document belonging to the authenticated user.

Authorizations
Query parameters
uuidstring · uuidRequired

The UUID of the document.

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
Responses
chevron-right
200

Successful retrieval of document status

application/json
get
/api/documents/status

Check if a document is signed

get
/api/documents/signed_status

Checks whether a document associated with a given UUID and email has been signed.

Authorizations
Query parameters
uuidstring · uuidRequired

The UUID of the document.

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
emailstring · emailRequired

The email address of the recipient.

Example: websinghajit@gmail.com
Responses
chevron-right
200

Document signed status

application/json
get
/api/documents/signed_status

Send a reminder email to a recipient

post
/api/documents/reminder

Sends a reminder email to a recipient for signing a document.

Authorizations
Body
uuidstring · uuidRequired

The UUID of the document.

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
emailstring · emailRequired

The email address of the recipient.

Example: websinghajit@gmail.com
Responses
chevron-right
200

Reminder email sent successfully

application/json
post
/api/documents/reminder

Sign a document

post
/api/sign_document

Allows an authenticated user to sign a document by providing a valid UUID.

Authorizations
Body
uuidstringRequired

Unique identifier of the document

Example: 72dcaac9-7398-408f-b4c0-c058d4a652ed
pageintegerOptional

Page number where the signature should be placed

Example: 1
xintegerOptional

X-coordinate of the signature placement

Example: 50
yintegerOptional

Y-coordinate of the signature placement

Example: 100
Responses
chevron-right
200

Document signed successfully

application/json
post
/api/sign_document

Last updated