Sign and Share in One Step
This scenario demonstrates how to sign a document and share it for signature with another user in a single API call. This efficient workflow combines two common operations - applying your own signature and requesting signatures from others. Key features:- Apply your own signature to a document
- Simultaneously request signatures from other users
- Position signatures precisely on the document
- Streamline multi-party signing workflows
Prerequisites
Before using this combined sign and share workflow, you need:- A valid authentication token (see the “Authentication & Security” section for details)
- A document to sign and share (see the “Document Management” section for details)
- A signature image
- Knowledge of the recipients you want to request signatures from
This approach is ideal for contracts and agreements that require multiple signatures, allowing you to apply your signature and request others’ signatures in a single operation.
Step 1 - Sign Document and Request Signature
This endpoint demonstrates how to sign a document yourself and simultaneously request a signature from another user. This combined operation streamlines the signing workflow by reducing the number of API calls needed.- Your signature is applied to the document immediately
- A signature request is sent to the specified recipient
- Both signatures are positioned precisely on the document
- The document’s status is updated to reflect that it has been partially signed
- The recipient is notified of the signature request
The
signatures array contains your own signature that will be applied immediately, while the signatureFields array defines where the recipient’s signature should be placed.- Your signature has been applied to the document at the specified position
- The document’s status has been updated to reflect that it has been partially signed
- A signature request has been sent to the recipient
- The recipient can access the document through their Circularo dashboard or via the link in the notification
Step 2 - Check Document Share Status (Optional)
This endpoint demonstrates how to check the status of a document share. This is useful for monitoring the progress of signature requests and determining whether recipients have completed their actions.- Retrieves the current status of the document share
- Shows whether the share is in progress, completed, cancelled, rejected, or expired
- Helps track the workflow progress of shared documents
- Allows you to take appropriate actions based on the share status
- shareStateName - Located at
results[0].workflow.shareStateNamein the response.- The current status of the document share.
- Example value:
inprogress
- inprogress: The share is active and waiting for recipient action
- completed: All required signatures or approvals have been collected
- cancelled: The share was cancelled by the document owner
- rejected: The recipient rejected the signature or approval request
- expired: The share has expired without being completed
Use this status information to determine when to send reminders, when to consider a workflow complete, or when to initiate alternative processes if a share was rejected or expired.
Sign and Share Summary
You have successfully signed a document and requested a signature from another user in a single operation. This combined workflow streamlines the signing process by reducing the number of API calls needed.Key Concepts
- Combined Workflow: Applying your signature and requesting others’ signatures in a single API call
- Signature Positioning: Precisely placing signatures at specific locations on the document
- Signature Fields: Defining where recipients’ signatures should be placed
- Signature Application: Applying your own signature immediately while requesting others’
- Share Status Monitoring: Checking the progress and state of signature requests
Next Steps
With your document signed and shared, you can now:- Monitor the status of the signature request (inprogress, completed, cancelled, rejected, or expired)
- Send reminders to the recipient if they haven’t signed yet
- Download the fully signed document once all signatures are collected
- Explore more complex signing workflows with multiple recipients and sequential signing
Example Implementation
See our OpenAPI documentation to learn about the full set of API endpoints and parameters.
Please use proper exception handling and function decomposition in your own code. The code is provided for illustrative purposes only and is not intended for production use.