Documents
Confirm Document Upload
Changed onAfter you got the temporary file URL of type UPLOAD_URL and the file is uploaded, the upload of file must be confirmed.
post/business/v2/documents/confirm
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopesdocument_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"content_type": "application/pdf",
"attachment_name": "1779089463912.pdf",
"attachment_type": "RECEIPT",
"uploaded_by": "USER",
"thumbnails_size": "x1"
}Response
The returned resource is a single Document.
Example response
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "invoice-2025-001.pdf",
"preview_url": "https://storage.example.com/documents/7bf79328-a7ae-4222-aa54-091ff7f429a7/preview?signature=...",
"thumbnail_url": "https://storage.example.com/documents/7bf79328-a7ae-4222-aa54-091ff7f429a7/thumbnail?signature=...",
"creation_time": "2025-04-12T10:15:30Z"
}Changes
- info
endpoint added
- info