# insertyoutubecommentthread: Insert YouTube Comment Thread

> 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.

**Deprecated:** this function 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](https://1001fx.com/functions#serviceproviders)

- Group: YouTube
- Endpoint: `POST https://api.1001fx.com/youtube/insertyoutubecommentthread`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 2 credits per call
- Ready-made in: none, use an HTTP request
- Service provider: YouTube
- Docs: https://1001fx.com/functions/insertyoutubecommentthread

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `videoId` (string, required) – Video ID: The video to retrieve comment threads.
- `comment` (string, required) – Comment: Your comment.
- `isPublic` (boolean, optional, default `true`) – Is Public: This setting indicates whether the thread, including all of its comments and comment replies, is visible to all YouTube users. Defaults to true
- `canReply` (boolean, optional, default `true`) – Can Reply: This setting indicates whether the current viewer can reply to the thread. Defaults to true.

## Example: Insert YouTube Comment Thread

```bash
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}'
```
