Skip to main content
POST
/
boards
/
tasks
Create task
curl --request POST \
  --url https://api.surefeedback.com/api/v1/boards/tasks \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "site_id": "<string>",
  "project_id": "<string>",
  "content": "<string>",
  "description": "<string>",
  "page_url": "<string>",
  "route": "<string>",
  "status": "<string>",
  "priority": "<string>",
  "assigned_to": "<string>",
  "device_type": "<string>",
  "page_title": "<string>",
  "category": "<string>",
  "tags": [
    {}
  ]
}
'
{
  "success": true,
  "message": "Task created successfully",
  "data": {
    "id": "...",
    "content": "Update hero section copy",
    "status": "OPEN",
    "priority": "HIGH"
  }
}
Creates a new comment/task directly from the board view, without needing a widget session.

Request body

site_id
string
UUID of the site to create the task for.
project_id
string
UUID of the project to create the task in.
content
string
required
Task description.
description
string
Optional extended task description.
page_url
string
Full page URL. Default: /.
route
string
Route path. Default: /.
status
string
Task status. Default: OPEN.
priority
string
Task priority: LOW, MEDIUM, HIGH, or URGENT. Default: MEDIUM.
assigned_to
string
UUID of the user to assign the task to.
device_type
string
Device type: DESKTOP, MOBILE, or TABLET. Default: DESKTOP.
page_title
string
Optional page title.
category
string
Optional category: UI_FEEDBACK, BUG_REPORT, FEATURE_REQUEST, GENERAL, CONTENT, DESIGN, USABILITY, or PERFORMANCE.
tags
array
Optional array of string tags.
{
  "success": true,
  "message": "Task created successfully",
  "data": {
    "id": "...",
    "content": "Update hero section copy",
    "status": "OPEN",
    "priority": "HIGH"
  }
}