Skip to content
Browse all functions

Insert YouTube Comment Thread

youtube/insertyoutubecommentthread

insertyoutubecommentthread (Insert YouTube Comment Thread) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/insertyoutubecommentthread, 2 credits per call. 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.

Creates a new top-level comment. To add a reply to an existing comment, use https://1001fx.com/functions/insertyoutubecomment instead.

  • 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 insertyoutubecommentthread in your browser with your API key – fill the form, click Run and get the answer or the file.

insertyoutubecommentthread in the 1001fx app: the form with example values
Insert YouTube Comment Thread in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/youtube/insertyoutubecommentthread
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
  • videoIdstringrequired

    The video to retrieve comment threads.

    Example:
    kJQP7kiw5Fk
  • commentstringrequired

    Your comment.

    Example:
    This song is cool !!
  • isPublicbooleanoptional

    This setting indicates whether the thread, including all of its comments and comment replies, is visible to all YouTube users. Defaults to true

    Default:
    true
    Example:
    true
  • canReplybooleanoptional

    This setting indicates whether the current viewer can reply to the thread. Defaults to true.

    Default:
    true
    Example:
    true

Examples

Insert YouTube Comment Thread

Returns a list of comment threads

Input

Expects a json body
{
  "credentialKey": "yourCredentialKey",
  "videoId": "kJQP7kiw5Fk",
  "comment": "This song is cool !!",
  "isPublic": true,
  "canReply": true
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/youtube/insertyoutubecommentthread' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","videoId":"kJQP7kiw5Fk","comment":"This song is cool !!","isPublic":true,"canReply":true}'

Try insertyoutubecommentthread 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