provider Comments POST /conversations/{conversation_id}/comments
@utdk/front /conversations/{conversation_id}/comments
Add comment
Add a comment to a [conversation](https://dev.frontapp.com/reference/conversations). If you want to create a new comment-only conversation, use the [Create discussion conversation](https://dev.frontapp.com/reference/create-conversation) endpoint. Required scope: `comments:write`
conversation_id path required
The conversation ID
string

Try it

Authentication
Configure credentials for Core API
addComment
POST/conversations/{conversation_id}/comments
Add a comment to a [conversation](https://dev.frontapp.com/reference/conversations). If you want to create a new comment-only conversation, use the [Create discussion conversation](https://dev.frontapp.com/reference/create-conversation) endpoint. Required scope: `comments:write`

Parameters

required

The conversation ID

Input

ID of the teammate creating the comment. Alternatively, you can supply the author as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1). If omitted, will post as the API Token or OAuth client of the requester.

required

Content of the comment. Can include markdown formatting.

Whether or not the comment is pinned in its conversation.

Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://gist.github.com/hdornier/e04d04921032e98271f46ff8a539a4cb) or read more about [Attachments](https://dev.frontapp.com/docs/attachments-1). Max 25 MB.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.addComment({
  "conversation_id": "cnv_123"
})