# insertyoutubecomment: Insert YouTube Comment

> insertyoutubecomment (Insert YouTube Comment) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/insertyoutubecomment, 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 reply to an existing comment. To create a top-level comment, use https://1001fx.com/functions/insertyoutubecommentthread 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/insertyoutubecomment`
- 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/insertyoutubecomment

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `comment` (string, required) – Comment: Your comment.
- `parentId` (string, required) – Parent ID: ID of the top-level comment that you want to reply to.

## Example: Insert YouTube Comment

```bash
curl -X POST 'https://api.1001fx.com/youtube/insertyoutubecomment' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","comment":"2nd level Commment","parentId":"UgyGSoyZKg2e183xJ0d4AaABAg"}'
```
