PUT
/
v1
/
accounts
/
activities
/
{activityId}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/activities/{activityId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "title": "Meeting with John Doe",
  "activityTimestamp": "2024-01-01T00:00:00Z",
  "duration": 60,
  "location": "New York, NY",
  "type": "T123",
  "status": "S123",
  "participants": [
    "U123",
    "U124"
  ],
  "attachmentUrls": [
    "https://example.com/attachment1.jpg",
    "https://example.com/attachment2.jpg"
  ]
}'
{
  "id": "<string>",
  "accountId": "<string>",
  "account": "<string>",
  "activityTimestamp": "<string>",
  "duration": 123,
  "location": "<string>",
  "title": "<string>",
  "type": "<string>",
  "typeId": "<string>",
  "typeConfiguration": {},
  "status": "<string>",
  "statusId": "<string>",
  "statusConfiguration": {},
  "participants": [
    "<string>"
  ],
  "creator": "<string>",
  "creatorId": "<string>",
  "creatorEmail": "<string>",
  "attachments": [
    "<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

activityId
string
required

Body

application/json
title
string

The title of the activity

Example:

"Meeting with John Doe"

activityTimestamp
string

The timestamp of the activity

Example:

"2024-01-01T00:00:00Z"

duration
number

The duration of the activity in minutes

Example:

60

location
string

The location of the activity

Example:

"New York, NY"

type
string

The identifier / value of the Type attribute of the activity

Example:

"T123"

status
string

The identifier / value of the Status attribute of the activity

Example:

"S123"

participants
string[]

The identifiers of the participants of the activity

Example:
["U123", "U124"]
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 activity

accountId
string
required

The identifier of the account

account
string
required

The name of the account

activityTimestamp
string
required

The timestamp of the activity

duration
number
required

The duration of the activity in minutes

location
string
required

The location of the activity

title
string
required

The title of the activity

type
string
required

The type of the activity

typeId
string
required

The identifier of the type attribute

typeConfiguration
object
required

The configuration of the type attribute

status
string
required

The status of the activity

statusId
string
required

The identifier of the status attribute

statusConfiguration
object
required

The configuration of the status attribute

participants
string[]
required

The participants of the activity

creator
string
required

The creator of the activity

creatorId
string
required

The identifier of the creator

creatorEmail
string
required

The email of the creator

attachments
string[]
required

The attachments of the activity

createdAt
string
required

The creation date of the activity

updatedAt
string
required

The update date of the activity