Documents

Get a presigned upload URL

GET
/documents/{document_id}/upload-url

Mint a fresh presigned PUT URL for a registered, not-yet-uploaded document. Call it again instead of reusing an expired URL.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

document_id*string

Resource identifier: document_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/upload-url"
{  "document_id": "123e4567-e89b-42d3-a456-426614174000",  "presigned_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example",  "expires_at": "2026-09-04T12:00:00Z",  "instructions_for_agent": "Upload the file with HTTP PUT to presigned_url."}