> ## Documentation Index
> Fetch the complete documentation index at: https://developer.surefeedback.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create task

> Create a new task directly from the board.

Creates a new comment/task directly from the board view, without needing a widget session.

## Request body

<ParamField body="site_id" type="string">
  UUID of the site to create the task for.
</ParamField>

<ParamField body="project_id" type="string">
  UUID of the project to create the task in.
</ParamField>

<ParamField body="content" type="string" required>
  Task description.
</ParamField>

<ParamField body="description" type="string">
  Optional extended task description.
</ParamField>

<ParamField body="page_url" type="string">
  Full page URL. Default: `/`.
</ParamField>

<ParamField body="route" type="string">
  Route path. Default: `/`.
</ParamField>

<ParamField body="status" type="string">
  Task status. Default: `OPEN`.
</ParamField>

<ParamField body="priority" type="string">
  Task priority: `LOW`, `MEDIUM`, `HIGH`, or `URGENT`. Default: `MEDIUM`.
</ParamField>

<ParamField body="assigned_to" type="string">
  UUID of the user to assign the task to.
</ParamField>

<ParamField body="device_type" type="string">
  Device type: `DESKTOP`, `MOBILE`, or `TABLET`. Default: `DESKTOP`.
</ParamField>

<ParamField body="page_title" type="string">
  Optional page title.
</ParamField>

<ParamField body="category" type="string">
  Optional category: `UI_FEEDBACK`, `BUG_REPORT`, `FEATURE_REQUEST`, `GENERAL`, `CONTENT`, `DESIGN`, `USABILITY`, or `PERFORMANCE`.
</ParamField>

<ParamField body="tags" type="array">
  Optional array of string tags.
</ParamField>

<ResponseExample>
  ```json 201 theme={null}
  {
    "success": true,
    "message": "Task created successfully",
    "data": {
      "id": "...",
      "content": "Update hero section copy",
      "status": "OPEN",
      "priority": "HIGH"
    }
  }
  ```
</ResponseExample>
