curl --request POST \
--url https://platform.thena.ai/v1/accounts/activities \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"accountId": "A123",
"activityTimestamp": "2024-01-01T00:00:00Z",
"title": "Meeting with John Doe",
"description": "Meeting with John Doe",
"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": {}
}
curl --request POST \
--url https://platform.thena.ai/v1/accounts/activities \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"accountId": "A123",
"activityTimestamp": "2024-01-01T00:00:00Z",
"title": "Meeting with John Doe",
"description": "Meeting with John Doe",
"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": {}
}
Enter your API key
Operation successful
The response is of type object
.