Upload an image or video from your machine and attach it to a post.
For attaching media from a public URL instead of uploading bytes, useDocumentation Index
Fetch the complete documentation index at: https://docs.trypost.it/llms.txt
Use this file to discover all available pages before exploring further.
POST /posts/{post}/media/from-url.
multipart/form-data with a single media field.
image/jpeg, image/png, image/gif, image/webp — up to 10 MBvideo/mp4, video/quicktime (MOV) — up to 1 GB404.422 because TikTok doesn’t accept images.422 even if the FormRequest’s overall cap allowed it).media[] array.GET /posts/{post}, with the newly-uploaded item in media[].
On validation failure (unsupported type, file too large, no enabled platform accepts the type) the response is 422 with errors.media[].