Einpix API documentation
  1. Task
Einpix API documentation
  • Changelog
  • About
  • API
    • Task
      • Create
        POST
      • List
        GET
      • Detail
        GET
      • Change status
        PUT
    • 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
      • Detail
    • 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. Task

Create

POST
tasks
This API endpoint allows you to create a new task within a venue/project. Based on user permissions you can provide a title, description, due date, and assign users to the task. Optionally, you can also include, categories, tags and set severity level, etc.

Request

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/tasks' \
--header 'x-api-key;' \
--form 'venue="1"' \
--form 'title="Fix ceiling light in Room 204"' \
--form 'location="{% faker address.streetAddress %}"' \
--form 'description="{% faker lorem.paragraph %}"' \
--form 'severity="low"' \
--form 'category="{% faker datatype.uuid %}"' \
--form 'tags[]="{% faker datatype.uuid %}"' \
--form 'tags[]="{% faker datatype.uuid %}"' \
--form 'reporter="121"' \
--form 'assignees[]="121"' \
--form 'assignees[]="256"' \
--form 'assignees[]="789"' \
--form 'watchers[]="22"' \
--form 'watchers[]="36"' \
--form 'client="{% faker datatype.uuid %}"' \
--form 'equipment="{% faker datatype.uuid %}"' \
--form 'checklist_title=""' \
--form 'checklist[0][sort_order]="1"' \
--form 'checklist[0][label]="Ensure ceiling light working"' \
--form 'checklist[0][type]="checkbox"' \
--form 'checklist[0][required]="{% faker datatype.boolean %}"' \
--form 'checklist[0][equipment]="{% faker datatype.uuid %}"' \
--form 'checklist[0][checklist_dropbox_items][0][label]="Item #1"' \
--form 'checklist[0][checklist_dropbox_items][0][sort_order]="1"' \
--form 'start_date=""' \
--form 'end_date=""' \
--form 'requires_approval="{% faker datatype.boolean %}"' \
--form 'responsible="223"' \
--form 'picture_file=@""' \
--form 'attachment_files[]=@""'

Responses

🟢201Created
application/json
Body

Example
{
    "success": true,
    "id": 123
}
Modified at 2025-11-19 12:11:34
Previous
About
Next
List
Built with