Fetch Activities
Fetch Activities
POST
https://ext-v2.smarttask.io/v{api-version}/record-activity/activities/{organization_id}/{record_id}?list_size={list_size}
Path Parameters
Name
Type
Description
api-version
string
API Version - 1.0
organization_id
number
OrganizationId of SmartTask organization
record_id
string (uuid)
Contact Id or Task Id
Query Params
Name
Type
Description
list_size
number
Size of the list to return (Max 100)
before_id
[Optional] string (uuid)
Activity Id
after_id
[Optional] string (uuid)
Activity Id
Headers
Name
Type
Description
Authorization
string
Authorization Bearer token
Request Body
Array of ActivityTypeEnum
Eg:
["comment", "call", "file" ]
Response
{
"list": [
{
"activity_id": "b0069a84-d564-45bf-a690-fd29596730f4",
"record_id": "a6e0e94e-c49c-4117-b72f-2a98f253eeb0",
"created_by_user": {
"user_id": 55,
"full_name": "Elma Rogers",
"email": "[email protected]",
"avatar_url": "https://smartstorage1.blob.core.windows.net/photos/UserPics/4e93314b-cab6-44d4-911d-b03247cccac8.png",
"timezone_in_mins": 330
},
"type": "comment",
"access_type": "default",
"contact_id": null,
"contact": null,
"task_id": null,
"task": null,
"text": "<p>Was unable to connect with the client </p>",
"from_text": null,
"to_text": null,
"reaction_summaries": [],
"created_at": "2024-11-21T10:59:56.633",
"modified_at": "2024-11-21T10:59:56.633"
}
],
"limit_reached": true
}
Last updated