Skip to content
AppmakeDocs
Log inGet started
Kalle by Appmake API · Endpoints

Files and images

Send images and documents with your messages, by URL or by uploading them first.

Base URLhttps://api.kalle.build/v1AuthBearer kalle_sk_…VersionKalle-Version: 2026-11-01

Upload a file

Upload once and refer to the file by its ID in as many messages as you like. Files are stored until you delete them and are only visible to your workspace.

TypeFormatsMax size
ImagesJPEG, PNG, WebP, GIF10 MB
DocumentsPDF, plain text, Markdown, CSV32 MB
Example figures
POST/v1/files
curl https://api.kalle.build/v1/files \
  -H "Authorization: Bearer $KALLE_API_KEY" \
  -H "Kalle-Version: 2026-11-01" \
  -F "[email protected]" \
  -F "purpose=user_data"
Open in Appmake

Use files in a message

Content blocks
"content": [
  { "type": "document", "source": { "type": "file", "file_id": "file_9Kd2" } },
  { "type": "image", "source": { "type": "url", "url": "https://example.com/studio.jpg" } },
  { "type": "text", "text": "Make a price list from the menu, in the style of the photo." }
]

Delete a file

Deleted files can no longer be used in new messages.

DELETE/v1/files/file_9Kd2
curl https://api.kalle.build/v1/files/file_9Kd2 \
  -X DELETE \
  -H "Authorization: Bearer $KALLE_API_KEY" \
  -H "Kalle-Version: 2026-11-01"
Open in Appmake