List Activities Query task-type activities visible to your integration.
Returns a paginated list of task-type activities visible to your integration's API key.
Authentication : Required — permission VIEW_ACTIVITIES
Header Value x-api-keyYOUR_API_KEY
Parameter Type Required Description pagenumber No Page number (default: 1) per_pagenumber No Results per page (default: 20, max: 100) statusstring No Filter by activity status (see Activity States ). Filterable values: READY, RETRYING, DISPATCHED, COMPLETED, CANCELED, FAILEDVer detalle result_statusstring No Filter by result status (see Activity States ). Filterable values: COMPLETED, NOT_EXECUTEDVer detalle channelstring No Filter by channel (SALESMAN, CALLCENTER, etc.) external_commerce_idstring No Filter by commerce external ID external_operator_idstring No Filter by operator external ID scheduled_fromstring No Minimum scheduled date (ISO 8601) scheduled_tostring No Maximum scheduled date (ISO 8601)
cURL TypeScript Python
curl -X GET "BASE_URL/api/integration/activities/tasks?page=1&per_page=10&status=READY" \
-H "x-api-key: YOUR_API_KEY" const params = new URLSearchParams ({
page: "1" ,
per_page: "10" ,
status: "READY" ,
});
const response = await fetch (
`${ BASE_URL }/api/integration/activities/tasks?${ params }` ,
{
headers: {
"x-api-key" : "YOUR_API_KEY" ,
},
}
);
const data = await response. json (); import requests
response = requests.get(
f " {BASE_URL} /api/integration/activities/tasks" ,
headers = {
"x-api-key" : "YOUR_API_KEY" ,
},
params = {
"page" : 1 ,
"per_page" : 10 ,
"status" : "READY" ,
},
)
data = response.json()
The following is an illustrative example of the response shape. Values for fields such as id, scheduledAt, status, lifecycleStatus, etc., vary depending on the actual state of each activity. For the complete catalog of possible status and lifecycleStatus values, see Activity States .
{
"data" : [
{
"id" : "a1b2c3d4-e5f6-7890-abcd-ef1234567890" ,
"activityOrigin" : "ACTIVITY" ,
"type" : "TASK" ,
"status" : "READY" ,
"score" : 85 ,
"channel" : "SALESMAN" ,
"scheduledAt" : "2026-12-01T09:00:00.000Z" ,
"occurredAt" : null ,
"createdAt" : "2026-04-10T14:30:00.000Z" ,
"lifecycleStatus" : "SCHEDULED" ,
"lifecycleStatusLabel" : "Programada" ,
"lifecycleStatusDetail" : null ,
"canForceRetryDispatch" : false ,
"commerceExternalId" : "COM-001" ,
"commerceName" : "Farmacia Central" ,
"reason" : {
"code" : "CHURN_RISK" ,
"label" : "Riesgo de fuga"
},
"userStatus" : null ,
"commerceAssignment" : {
"commerceExternalId" : "COM-001" ,
"assignmentReason" : "Asignación por ruta" ,
"commerce" : {
"externalId" : "COM-001" ,
"name" : "Farmacia Central"
}
},
"activityDetails" : {
"type" : "TASK" ,
"assignedRouteCode" : "RUTA-NORTE-01" ,
"assignedOperatorExternalId" : "OP-042" ,
"assignedRoute" : {
"code" : "RUTA-NORTE-01" ,
"name" : "Ruta Norte"
},
"assignedOperator" : {
"externalId" : "OP-042" ,
"name" : "Carlos Pérez" ,
"type" : "SALESMAN"
}
},
"activityResult" : null
}
],
"meta" : {
"page" : 1 ,
"per_page" : 10 ,
"total" : 47 ,
"totalPages" : 5
}
}
Field Type Description idstring Unique activity identifier activityOrigin"ACTIVITY" | "STANDALONE"Activity origin typestring | null Activity type (e.g., "TASK") statusstring | null Current activity status — see Activity States for the complete catalog scorenumber | null Activity priority score (set at creation) channelstring | null Activity channel (SALESMAN, CALLCENTER, etc.) scheduledAtstring | null Scheduled date (ISO 8601) occurredAtstring | null Date when the activity was handled (ISO 8601) createdAtstring | null Creation date (ISO 8601) lifecycleStatusstring | null Lifecycle status for display (read-only, computed) — see Activity States lifecycleStatusLabelstring | null Human-readable lifecycle status label lifecycleStatusDetailstring | null Additional status detail canForceRetryDispatchboolean Indicates whether a re-dispatch can be forced commerceExternalIdstring External ID of the associated commerce commerceNamestring Commerce name reasonobject | null Activity reason (code, label) userStatusobject | null Custom user status (code, label) commerceAssignmentobject | null Commerce assignment information activityDetailsobject | null Type-specific activity details activityResultobject | null Activity result (if exists)
Field Type Description type"TASK"Type discriminator assignedRouteCodestring | null Assigned route code assignedOperatorExternalIdstring | null Assigned operator external ID assignedRouteobject | null Assigned route (code, name) assignedOperatorobject | null Assigned operator (externalId, name, type)
Field Type Description idstring Result identifier resultStatusstring Result status — see Activity States §Related enums → ActivityResultStatusEnum sourcestring Result source originstring Origin channel channelstring | null Result channel occurredAtstring Date when it occurred (ISO 8601) createdAtstring Creation date (ISO 8601) resultDetailsobject | null Task result details
Status Description 401API key missing or invalid 403The key does not have the VIEW_ACTIVITIES permission