Search code examples
trelloapireporting

Trello API: determine when a card changed lists?


I'm considering the feasibility of doing simple reporting on Trello data. My quick review of the API documentation has left me with a question.

Can I use the Trello API to determine when a given card (part of a given board) changed lists?


Solution

  • If you get the actions list for a card, and filter it to only include updates to the idList, something like this:

    GET /1/cards/4f429d592aa6beb467155e9a/actions?filter=updateCard:idList
                 ^ replace with card id ^ 
    

    ... then you can examine the date field on the returned actions to determine when the card changed lists.