Skip to main content

YouTube video format requirements

Florian Triller-Windisch avatar
Written by Florian Triller-Windisch
Updated over a month ago

Video-Upload API requirements

In order to successfully publish a video via Swat.io, the uploaded video file must meet the specifications required by the interface (API).

Note: Swat.io has no control over the requirements of the interface, as the APIs are provided and managed directly by the respective social medias. Accordingly, the requirements vary depending on the platform.

What happens in case of a non-compliant upload?

If you upload a file to Swat.io that does not meet the requirements of the API, you will see a blue notification banner directly in Publisher:

This notification is intended to inform you that the file does not meet the specifications of the respective platform. In most cases, it will also provide specific details on which file specifications need adjustment for the upload to be successful.

Required specifications of the YouTube API

YouTube videos

Format

.mp4- or .mov

File size

Less than 15 GB

Length

Between 3 seconds and 30 minutes

YouTube Shorts

Videos that meet the following criteria are automatically classified as YouTube Shorts:

Format

.mp4- or .mov

File size

Less than 15 GB

Length

Between 3 seconds and 60 seconds

Aspect ratio

9:16 vertical or 1:1 squared

Important: Please make sure that your file upload meets all criteria mentioned above before starting the publication of the post. Otherwise, the video will be rejected by the API and will not be published. In this case a corresponding error message will appear in Swat.io's activity log.

Note on YouTube's Policies

Please also adhere to the YouTube Community-Guidelines, to ensure your content does not violate any rules. In particular:

  • Do not violate any copyright without permission;

  • No glorification of violence or discriminating content;

  • No hate speech or other inappropriate content.

Violations of these guidelines may result in the removal of your video from the platform or restrictions of your account on the respective platform.

Did this answer your question?