Actions
Get card actions
Retrieves a list of actions (activity history) for a specific card, with pagination support.
get/cards/{cardId}/actions
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/cards/{cardId}/actions
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Path parameters
cardIdstring required
Example:1357158568008091264
ID of the card to get actions for
Query parameters
beforeIdstring
Example:1357158568008091265
ID to get actions before (for pagination)
Response
Card actions retrieved successfully
Example response
{
"items": [
{
"id": "1357158568008091264",
"boardId": "1357158568008091265",
"cardId": "1357158568008091266",
"userId": "1357158568008091267",
"type": "moveCard",
"data": {
"card": {
"name": "Implement user authentication"
},
"toList": {
"id": "1357158568008091268",
"name": "To Do",
"type": "active"
},
"fromList": {
"id": "1357158568008091269",
"name": "Done",
"type": "closed"
}
},
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
],
"included": {
"users": [
{
"id": "1357158568008091264",
"email": "john.doe@example.com",
"role": "admin",
"name": "John Doe",
"username": "john_doe",
"avatar": {
"url": "https://storage.example.com/user-avatars/1357158568008091264/original.jpg",
"thumbnailUrls": {
"cover180": "https://storage.example.com/user-avatars/1357158568008091264/cover-180.jpg"
}
},
"gravatarUrl": "https://www.gravatar.com/avatar/abc123",
"phone": "+1234567890",
"organization": "Acme Corporation",
"language": "en-US",
"apiKeyPrefix": "D89VszVs",
"subscribeToCardWhenCommenting": true,
"enableFavoritesByDefault": true,
"defaultEditorMode": "wysiwyg",
"defaultHomeView": "groupedProjects",
"defaultProjectsOrder": "byDefault",
"lockedFieldNames": [
"email",
"password",
"name"
],
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.