Skip to content
Browse all functions

Insert YouTube Video

youtube/insertyoutubevideo

insertyoutubevideo (Insert YouTube Video) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/insertyoutubevideo, 5 credits per minute (minimum 5). It works in Make, n8n, scripts and AI agents as a plain HTTP call.

This function is deprecated and will be removed in a future release.

Uploads a video to YouTube and optionally sets the videos metadata.

  • This service is provided by an external service provider: YouTube. The data of the call is sent to the provider. More about service providers

Try it in the 1001fx app

Run insertyoutubevideo in your browser with your API key – fill the form, click Run and get the answer or the file.

insertyoutubevideo in the 1001fx app: the form with example values
Insert YouTube Video in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/youtube/insertyoutubevideo
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • credentialKeystringrequired

    Your 1001fx credential key. See https://1001fx.com/app/credentials/list

    Example:
    yourCredentialKey
  • videoUrlstringrequired

    Publicly accessible video url.

    Example:
    https://api.1001fx.com/testdata/video.mp4
  • titlestringrequired

    Title for your video.

    Example:
    My first Video
  • categoryIdstringrequired

    Youtube Category ID. See https://1001fx.com/functions/youtube/listyoutubevideocategories.

    Example:
    20
  • defaultLanguagestringoptional

    The language of the text in the video resources snippet.title and snippet.description properties.

    Example:
    en
  • descriptionstringoptional

    Description for your video

    Example:
    I hope you like it
  • tagsarray<string>optional

    A list of keyword tags associated with the video. Tags may contain spaces.

  • notifySubscribersbooleanoptional

    Indicates whether YouTube should send a notification about the new video to users who subscribed to the channel. Defaults to true.

    Default:
    true
    Example:
    true
  • embeddablebooleanoptional

    This value indicates if the video can be embedded on another website. Defaults to true.

    Default:
    true
    Example:
    true
  • privacyStatusenumoptional

    Privacy status of your video.

    Values:
    private
    public
    unlisted
    Default:
    private
    Example:
    private
  • publicStatsViewablebooleanoptional

    This value indicates whether the extended video statistics on the videos watch page are publicly viewable. Defaults to true.

    Default:
    true
    Example:
    true
  • publishAtstring (DD.MM.YYYY)optional

    The date and time when the video is scheduled to publish. It can be set only if the privacy status of the video is private. Your date needs to be in one of the following formats DD.MM.YYYY, DD.MM.YY, DD.MM.YYYY HH:mm, DD.MM.YY HH:mm, MM-DD-YYYY, MM-DD-YYYY HH:mm, MM-DD-YY, MM-DD-YY HH:mm.

  • localizationsarray<object>optional

    The localizations object encapsulates translations of the videos metadata.

    Min items:
    1
    • keystringrequired

      The language of the localized text associated with the key value. The value is a string that contains a BCP-47 language code. See https://1001fx.com/functions/listyoutubei18nlanguages.

      Example:
      de
    • titlestringrequired

      The localized video title.

      Example:
      Mein Video Titel
    • descriptionstringoptional

      The localized video description.

      Example:
      Meine deutsche Video Beschreibung

Try insertyoutubevideo now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.025.04.2023created
Ask 1001fx