POST
/
v1
/
accounts
/
tasks
curl --request POST \
  --url https://platform.thena.ai/v1/accounts/tasks \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "accountId": "A123",
  "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"
  ],
  "metadata": {}
}'
{
  "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>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Enter your API key

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.