PUT
/
v1
/
accounts
/
activities
/
{activityId}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/activities/{activityId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "title": "Meeting with John Doe",
  "description": "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"
  ],
  "metadata": {}
}'
{
  "id": "<string>",
  "accountId": "<string>",
  "account": "<string>",
  "activityTimestamp": "<string>",
  "duration": 123,
  "location": "<string>",
  "title": "<string>",
  "description": "<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>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

activityId
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.