Skip to main content
POST
Upload document content

Authorizations

Authorization
string
header
required

Service (M2M) access token issued by POST /auth/token using the client_credentials grant. Required scopes, where known, are listed on each operation below.

Body

application/json
contentType
enum<string>
required

MIME type of the file being uploaded.

Available options:
application/pdf,
image/jpeg,
image/png,
image/heic,
text/plain
data
string
required

The file contents, base64-encoded. Maximum decoded size 6 MiB.

Minimum string length: 1
title
string

Optional human-readable title for the content.

Maximum string length: 500

Response

Created

data
object
required
request_id
string
required