Skip to content

Overview - Uploads APIs

Finished uploads (POST /upload, upload-from-url, or complete-multipart) return `id` and `filePath` — map to `media[].id` and `media[].path` on POST /public/posts.

2 min read

Connect your agent today

Draft from chat, review in your calendar, and publish only what you approve.

Start your free trial

Endpoints

Constraints

ConstraintValue
Multipart field namefile
Allowed mime typesimage/, video/, audio/*, application/pdf
Simple upload (hosted)About 4 MB inbound (leave headroom under the 4.5 MB gateway)
Multipart part size5 MiB minimum except the last part
Per-file size capMAX_MEDIA_VIDEO_UPLOAD_BYTES (1 GB for video; shared with the session uploader)
Auth headerAuthorization: Bearer opo_... (workspace programmatic token or third-party OAuth app token)
Search documentation
Find a docs page
Discord Support