POST
/
upload

If you’d like us to support a filetype that is not included, please get in touch with us at support@kili.so

Headers

Authorization
string
required

Bearer token for authentication

Body

application/json
content_type
enum<string>
required

Content type of the image

Available options:
application/pdf,
image/tiff,
text/plain,
text/csv,
image/png,
image/jpeg,
image/jpg,
image/gif,
image/webp
file_base64
string | null
required

Base64-encoded file data

file_url
string | null

URL of where the file can be downloaded from

Response

200 - application/json
file_id
string
required

ID of the uploaded file