publishing

Create presigned upload URL

Changed on

Creates a presigned URL for direct file upload. Use this when you have a local file to upload rather than a publicly accessible URL. The returned presignedUrl accepts a PUT request with the file body, and publicUrl is the final media URL to use when publishing a post.

post/v2/media/uploads

Request

  • Base URL
    https://backend.blotato.com
  • Auth
    API key in header blotato-api-key

Request body

filenamestring required

The filename including extension, used to determine content type.

Example request

{
  "filename": "my-video.mp4"
}

Response

Default Response

presignedUrlstring required

URL to PUT the file to. Expires after a short period.

publicUrlstring required

The final public URL of the uploaded media, to be used when creating a post.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status