API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- GETGet all accounts
- POSTCreate an account
- POSTGet accounts by ids
- POSTGet accounts by primary domains
- POSTCreate accounts in bulk
- GETGet account details
- PUTUpdate an account
- DELDelete an account
- GETGet all account relationships
- POSTCreate an account relationship
- PUTUpdate an account relationship
- DELDelete an account relationship
- GETGet all account relationship types
- POSTCreate an account relationship type
- PUTUpdate an account relationship type
- DELDelete an account relationship type
- GETGet all account contacts
- POSTCreate an account contact
- POSTFilter customer contacts by ids
- GETSearch customer contacts
- POSTBulk create account contacts
- PUTUpdate a customer contact
- DELDelete a customer contact
- GETGet custom fields for an account
- GETGets all account attribute values
- POSTCreates an account attribute value
- PUTUpdates an account attribute value
- DELDeletes an account attribute value
- GETFetches all account activities
- POSTCreates an account activity
- PUTUpdates an account activity
- DELDeletes an account activity
- DELRemoves an attachment from an account activity
- GETFetches all account notes by account ID or by note ID
- POSTCreates an account note
- PUTUpdates an account note
- DELDeletes an account note
- DELRemoves an attachment from an account note
- GETFetches all account tasks by account ID or by task ID
- POSTCreates an account task
- PUTUpdates an account task
- DELDeletes an account task
- DELRemoves an attachment from an account task
- POSTIngest users
- GET
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Accounts
Updates an account activity
PUT
/
v1
/
accounts
/
activities
/
{activityId}
Copy
Ask AI
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": {}
}'
Copy
Ask AI
{
"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
Enter your API key
Path Parameters
Body
application/json
Response
200
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
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": {}
}'
Copy
Ask AI
{
"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": {}
}
Assistant
Responses are generated using AI and may contain mistakes.