Media Upload
Upload media by URL
Upload a media file by providing an HTTP(S) URL or a base64 data URL. The server downloads HTTP(S) URLs and stores data URLs directly, returning an upload_token in a single step.
This is simpler than the three-step signed URL flow — no separate upload or status check is needed. The upload_token returned can be used in existing_attachments when creating a post, the same as the token from the three-step flow.
Supported file types: jpg, jpeg, png, gif, webp, mp4, mov, avi, webm, mkv, pdf. The maximum decoded file size is about 56 MiB. Base64 data URL payloads are limited to 75 MiB.
post/upload_media_by_url
Request
- Base URL: https://socialbu.com/api/v1
- URL: https://socialbu.com/api/v1/upload_media_by_url
- Auth: HTTP bearer
Request body
Response
File uploaded successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.