cURL
curl --request POST \
--url https://sandbox.circularo.com/api/v1/share/upload/signature \
--header 'Authorization: Bearer <token>' \
--form 'bottom=200' \
--form 'file=@document.pdf' \
--form 'left=0' \
--form 'right=400' \
--form 'top=0'{
"id": "e58cc1acbba3cd8056ce6adb44d46a11a113170e884509c179701270b915b59b"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 428,
"type": "AUTH:MFA_REQUIRED",
"message": "MFA activation required",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 498,
"type": "SHARE_AUTH:TOKEN_INVALID",
"message": "Invalid share token",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Share
Upload a signature image
POST /share/upload/signature
Stores the image the recipient drew or chose as their signature and answers with its identifier, which is then handed back as the signature’s image when the document is signed.
The picture is turned upright, cut down to the rectangle given when one is, scaled to fit the sizes the workspace allows and re-encoded as a PNG. It is kept only as a temporary file, until the signing it was made for is done.
Share authorization: Authorize using a share token and a one-time password (if required) to call this endpoint.
Allowed share object types: document
Allowed share purposes: sign or execute
cURL
curl --request POST \
--url https://sandbox.circularo.com/api/v1/share/upload/signature \
--header 'Authorization: Bearer <token>' \
--form 'bottom=200' \
--form 'file=@document.pdf' \
--form 'left=0' \
--form 'right=400' \
--form 'top=0'{
"id": "e58cc1acbba3cd8056ce6adb44d46a11a113170e884509c179701270b915b59b"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 428,
"type": "AUTH:MFA_REQUIRED",
"message": "MFA activation required",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 498,
"type": "SHARE_AUTH:TOKEN_INVALID",
"message": "Invalid share token",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Query Parameters
Body
multipart/form-data