Einpix API documentation
  1. Comment
Einpix API documentation
  • Changelog
  • About
  • API
    • Task
      • Create
      • List
      • Detail
      • Change status
    • Checklist
      • By task
    • Client
      • List
      • Detail
    • User
      • List
      • Detail
    • Venue
      • Create
      • List
      • Detail
    • Category
      • Task
        • List
        • Detail
    • Tag
      • List
      • Detail
    • Template
      • Checklist
        • List
        • Detail
    • Equipment
      • List
      • Detail
    • Comment
      • Create
        POST
      • Detail
        GET
    • Worklog
      • List
      • Hisory
    • Materials
      • By task
    • Service
      • By task
  • Schemas
    • User
    • Venue
    • Task
    • Task comment
    • Tag
    • Task category
    • Picture
    • Check item
    • Equipment
    • Client
    • Task severity
    • Attachment
    • Changed log
    • User group
    • WDJ material
    • Unit master
    • WDJ service
    • Worklog History
    • Checklist template
    • Worklog
    • Activity task
    • Downtime task
    • Sla rule
  1. Comment

Create

POST
task/{taskId}/comments
This API endpoint allows you to add a comment to a specific task. You can include plain text as the comment content and, optionally, attach multiple files. Each attached file has a size limit of 50 MB.

Request

Path Params

Header Params

Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.einpix.com/public/v1/task//comments' \
--form 'content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eu erat lacus, vel congue mauris. Fusce velit justo, faucibus eu sagittis ac, gravida quis tortor."' \
--form 'author=""' \
--form 'attachment_files[]=@""' \
--form 'visibility_scope="all"'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 64167604
}
Modified at 2025-11-19 12:08:04
Previous
Detail
Next
Detail
Built with