Upload Media /v2/media
Upload Media
Endpoint
Base URL: https://backend.blotato.com/v2
URL: /media
Method: POST
Description
This endpoint allows users to upload media by providing a URL. The uploaded media will be processed and stored, returning a new media URL that is used to publish a new post. Most of the platforms require validated URLs for posting images
Request
Request Body
Field
Type
Required
Description
url
string
ā
The URL of the media to upload.
Responses
Success Response
Status Code: 201 Created
Response Body:
Error Responses
Internal Server Error
Status Code: 500 Internal Server Error
Too Many Requests
Media upload has a user-level rate limit of 10 requests / minute.
Status Code: 429 Too many requests
Error Codes
The following client error codes may be returned:
Code
Description
9999
Unknown error.
Examples
1. Upload Media
Response:
Upload Google Drive
If you have a link in google drive like this:
ā
āhttps://drive.google.com/file/d/18-UgDEaKG7YR7AewIDd_Qi4QCLCX5Kop/view?usp=drivesdk
ā
You can use the following link for your Blotato "upload media" API call:
ā
āhttps://drive.google.com/uc?export=download&id=18-UgDEaKG7YR7AewIDd_Qi4QCLCX5Kop
ā
Note how the IDs match: 18-UgDEaKG7YR7AewIDd_Qi4QCLCX5Kop
Last updated