cURL
curl --request POST \
--url https://sandbox.circularo.com/api/v1/share/upload/file \
--header 'Authorization: Bearer <token>' \
--form 'file=@document.pdf'{
"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 file through a share
POST /share/upload/file
Stores a file the recipient produced while working on the share and answers with its identifier. It is kept as a temporary file and is no part of the document yet - it becomes one only if the action that follows refers to it.
This is where a client in the middle of a two-step signature puts the PDF it signed on the signer’s own device, before handing the identifier to the call that finishes the signing. The bytes are kept exactly as they arrive, neither converted nor examined.
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 or approve or review or accept
cURL
curl --request POST \
--url https://sandbox.circularo.com/api/v1/share/upload/file \
--header 'Authorization: Bearer <token>' \
--form 'file=@document.pdf'{
"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"
}