Linear
Create Linear Comment
Add a comment to a Linear issue, optionally including a file from the chat.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| issueIdstring · required | string | required | Example: |
| bodystring · required if attachmentId is empty | string | required if attachmentId is empty | Comment text (markdown). Required unless a Chat file is given. |
| attachmentIdstring · optional | string | optional | In chat: the Attachment ID of a file in this conversation (an upload, a file-create result, or a file published by code). The stored file is uploaded to Linear and shown in the comment. One file per comment. Leave empty in a Workflow. |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}