Skip to main content
Node.js

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required
  • The unique identifier of the task
Example:

"task-elnizmojzrjsogdm"

Body

application/json
title
string
required
  • The title of the task (1–500 characters)
Example:

"Resolve customer escalation"

status
enum<string>
default:open
  • Status of the task
  • Possible values: open, inprogress, closed
  • Default open
Available options:
open,
inprogress,
closed
Example:

"closed"

priority
enum<number>
default:1
  • The priority of the task
  • Possible values: 1, 2, 3
  • Default 1
Available options:
1,
2,
3
Example:

3

assignee
string
  • Email of an org member. Validated against your org's member list
Example:

"ankit.singh@hashlabs.dev"

due_date
string
  • The due date of the task
  • Should be in ISO 8601 timestamp format
Example:

"2026-06-15T18:00:00+00:00"

notes
string
  • Free-form text attached to the task
Example:

"Customer escalated via email — coordinate with support"

remind_at
string
  • The remind date for the task to receive a reminder
  • Should be in ISO 8601 timestamp format
Example:

"2026-06-18T18:00:00+00:00"

last_updated_by
string
  • Email of an org member. Defaults to "api".
  • Used as completed_by when this update closes the task
Example:

"ankit.singh@hashlabs.dev"

Response

200 - application/json

200 OK

The response is a task object. Refer to the task object here