Upload
- 01
Request an upload with the file name, type and size in bytes. The size is checked against your plan before an address is made.
- 02
Send the file to the returned upload_url with the headers it gives. Storage refuses a body larger than the size you declared.
- 03
Use the media id in a post. If you use it too early the API answers media_not_ready.
Import and library
POST /v1/media fetches a file from a public address. Private, loopback and link-local addresses are refused. Mark a file in_library to keep it in the media library, which you can list by name and type with GET /v1/media.
Allowances differ by plan: the largest upload is 400 MB on Starter, 1024 MB on Creator, 1024 MB on Agency.