Skip to content

Overview - Uploads APIs

Programmatic media uploads. Returns the storage `id` + `filePath` you pass back as `media[]` when creating or updating a post group.

2 min read

Connect your agent today

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

Start for $0

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_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