Skip to main content
PATCH
/
v1
/
tasks
/
{id}
Update task
curl --request PATCH \
  --url https://api.stardex.ai/v1/tasks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content_text": "<string>",
  "task_type": "text",
  "due_date": "<string>",
  "is_completed": true
}
'
{
  "success": true,
  "data": {
    "message": "Task updated successfully"
  }
}

Authorizations

Authorization
string
header
required

Authenticate with a Bearer token: API key, OAuth token, or session token.

Path Parameters

id
string
required

Task ID

Body

application/json
content_text
string

Plain text content of the task.

Minimum string length: 1
task_type
enum<string>

Task type.

Available options:
text,
linkedin_message,
linkedin_connection,
call,
other
due_date
string | null

ISO 8601 due date, or null to clear.

is_completed
boolean

Whether the task is completed.

Response

Task updated

success
enum<boolean>
required
Available options:
true
data
object
required