POST
/
upload
curl --request POST \
  --url https://api.tile.run/v1/upload \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content_type": "application/pdf",
  "file_base64": "aSDinaTvuI8gbWludGxpZnk=",
  "file_url": "<string>"
}'
{
  "file_id": "<string>"
}

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

Response

200
application/json

File uploaded successfully

The response is of type object.