Skip to main content
PUT
/
api
/
v1
/
tasks
/
{uuid}
Update a task
curl --request PUT \
  --url https://{subdomain}.mindhunters.ai/api/v1/tasks/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "scheduled_at": "2023-11-07T05:31:56Z",
  "priority": 5,
  "status": "pending",
  "assigned_to_user_id": 123,
  "task_data": {},
  "metadata": {},
  "auto_queue": true
}
'

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Task UUID

Body

application/json
title
string
description
string
scheduled_at
string<date-time>
priority
integer
Required range: 1 <= x <= 10
status
enum<string>
Available options:
pending,
scheduled,
queued,
cancelled,
on_hold
assigned_to_user_id
integer

User ID to assign task to

task_data
object
metadata
object
auto_queue
boolean

Re-queue task if scheduling changes

Response

Task updated successfully