Skip to main content
Glama

file_uploads

Upload files to Notion with support for direct uploads up to 20MB and multi-part uploads for larger files. Manage file uploads by creating, sending, completing, retrieving, and listing uploads using base64-encoded content.

Instructions

File uploads: create, send, complete, retrieve, list. Upload files to Notion (max 20MB direct, multi-part for larger). Use base64 content for send.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
file_upload_idNoFile upload ID (from create step)
filenameNoFilename (for create)
content_typeNoMIME type (for create, e.g. "image/png")
modeNoUpload mode (default: single)
number_of_partsNoNumber of parts (for multi_part mode)
part_numberNoPart number (for send in multi_part mode)
file_contentNoBase64-encoded file content (for send). Must be valid base64: only A-Z, a-z, 0-9, +, /, = chars. Use Buffer.from(bytes).toString("base64") to encode.
limitNoMax results for list

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/n24q02m/better-notion-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server