A card activity represents an action or event associated with a specific Voice card. Activities track updates made to cards, including comments, workflow changes, labels, attachments, due dates, and team member assignments.
Request
GET {LENS_URL}/api/v2/card-activities
Headers
Include your PAT in the Authorization header of your request.
Header | Description |
| Your Personal Access Token |
Query Parameters
Parameter | Description | Required |
| Comma-separated list of entity group names. | No |
| Include activities associated with archived Voice cards in response data. | No |
| Filter response data to activities from Voice cards created within the specified number of days prior to the current date. Accepted values range from | No |
Response
Field | Description | Required |
| The activity’s unique ID. | Yes |
| Date and time the activity occurred. | Yes |
| Type of activity performed on the card, options include: | Yes |
| Associated user | No |
| Associated workflow state | No |
| Date and time the workflow state was applied. | No |
| Associated label | No |
| Associated comment | No |
| Associated card | Yes |
Example Request
GET https://example.safeandreliable.care/api/v2/cardActivities?groupNames=west-er
Example Response
{
"data": [
{
"_id": "p2QKrCudjA6PzBEjs",
"createdAt": "2026-05-01T15:22:11.000Z",
"activityType": "createCard",
"userId": "Swd3cQRNpZCF4LzuX",
"workflowStateId": null,
"workflowStateTimestamp": null,
"labelId": null,
"commentId": null,
"cardId": "iNmE12kKNa8iY9KRw"
},
{
"_id": "Tt8qQKyg32txRNe9v",
"createdAt": "2026-05-02T09:45:30.000Z",
"activityType": "addComment",
"userId": "DbDdNvwitg7vvNHR3",
"workflowStateId": null,
"workflowStateTimestamp": null,
"labelId": null,
"commentId": "Ag40vD4r69YzkhYpc9",
"cardId": "iNmE12kKNa8iY9KRw"
},
{
"_id": "9AwKsygFLCDFiKrDd",
"createdAt": "2026-05-03T11:10:05.000Z",
"activityType": "setCardWorkflowState",
"userId": "DbDdNvwitg7vvNHR3",
"workflowStateId": "601c293d25cad9abc2076123",
"workflowStateTimestamp": "2026-05-03T11:10:05.000Z",
"labelId": null,
"commentId": null,
"cardId": "iNmE12kKNa8iY9KRw"
}
],
"metadata": {
"endpoint": "cardActivities",
"count": 3,
"filters": {
"groupNames": [
"west-er"
]
}
}
}
Looking for more support?
We’re here to help — email us at LENSsupport@safeandreliablecare.com or click the Help button on your LENS board.
