URL/Base64 Upload

Upload a document from a public URL or by providing its Base64 encoded content.

Body Params
string
required

The public URL of the file or the Base64-encoded file content.

string
required

The type of document being uploaded. Obtain the list of available types from the 'Get User Details and Document Types' endpoint.

string

An optional, unique identifier that you can assign to the document for your own internal tracking purposes.

string

Optional JSON string containing any additional metadata you want to associate with the document.

string

The name for the file, including its extension. This is required when uploading a file using Base64.

string
enum
required

Specifies whether the file parameter contains a url or base64 content.

Allowed:
boolean

If true, the response will include a temporary, signed review URL that can be shared with external users.

string

The password for the document, if it is password-protected.

Headers
string
required

Your personal API key for authentication. You can find it on your Docsumo settings page.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json