PUT
/
v1
/
accounts
/
tasks
/
{taskId}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/tasks/{taskId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "title": "Task 1",
  "assigneeId": "U123",
  "activityId": "A123",
  "description": "This is a task",
  "type": "T123",
  "status": "S123",
  "priority": "P123",
  "attachmentUrls": [
    "https://example.com/attachment1.jpg",
    "https://example.com/attachment2.jpg"
  ]
}'
{
  "id": "<string>",
  "accountId": "<string>",
  "account": "<string>",
  "activityId": "<string>",
  "title": "<string>",
  "description": "<string>",
  "assigneeId": "<string>",
  "type": "<string>",
  "typeId": "<string>",
  "typeConfiguration": {},
  "status": "<string>",
  "statusId": "<string>",
  "statusConfiguration": {},
  "priority": "<string>",
  "priorityId": "<string>",
  "priorityConfiguration": {},
  "attachments": [
    "<string>"
  ],
  "isActive": true,
  "creator": "<string>",
  "creatorId": "<string>",
  "creatorEmail": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Path Parameters

taskId
string
required

Body

application/json
title
string

The title of the task

Example:

"Task 1"

assigneeId
string

The identifier of the assignee

Example:

"U123"

activityId
string

Change the activity associated with the task

Example:

"A123"

description
string

The description of the task

Example:

"This is a task"

type
string

The identifier / value of the type attribute of the task

Example:

"T123"

status
string

The identifier / value of the status attribute of the task

Example:

"S123"

priority
string

The identifier / value of the priority attribute of the task

Example:

"P123"

attachmentUrls
string[]

The URLs of the attachments to attach to the note

Example:
[
  "https://example.com/attachment1.jpg",
  "https://example.com/attachment2.jpg"
]

Response

200
application/json
Operation successful
id
string
required

The identifier of the task

accountId
string
required

The identifier of the account

account
string
required

The name of the account

activityId
string
required

The identifier of the activity

title
string
required

The title of the task

description
string
required

The description of the task

assigneeId
string
required

The identifier of the assignee

type
string
required

The type of the task

typeId
string
required

The identifier of the type

typeConfiguration
object
required

The configuration of the type

status
string
required

The status of the task

statusId
string
required

The identifier of the status

statusConfiguration
object
required

The configuration of the status

priority
string
required

The priority of the task

priorityId
string
required

The identifier of the priority

priorityConfiguration
object
required

The configuration of the priority

attachments
string[]
required

The attachments of the task

isActive
boolean
required

Whether the task is active

creator
string
required

The creator of the task

creatorId
string
required

The identifier of the creator

creatorEmail
string
required

The email of the creator

createdAt
string
required

The creation date of the task

updatedAt
string
required

The update date of the task