Finalize upload
POST
/v2/attachments/{id}/finalizeAuthorization
api_key AuthorizationBearer <token>
API key for authentication. Use format: Bearer YOUR_API_KEY
In: header
Path Parameters
id*string
ID of the upload to finalize
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/attachments/string/finalize"{
"url": "https://s3.amazonaws.com/bucket/file.pdf?..."
}{
"message": "Unauthorized",
"code": "UNAUTHORIZED",
"issues": []
}{
"message": "Not found",
"code": "NOT_FOUND",
"issues": []
}{
"message": "Internal server error",
"code": "INTERNAL_SERVER_ERROR",
"issues": []
}How is this guide?
Initialize upload POST
Get a pre-signed URL to upload a file. Returns the upload ID and URL. PUT the file to the URL, then call Finalize upload.
Create batch POST
Create an empty batch. Batch numbers match case-insensitively ("BATCH-001" == "batch-001"). See its parameters, response schema, and status codes.