is there a way to get all the comments of a card through the Trello API? I can get the card, the list which it is in, the members assigned to it etc. but can't see a way to get the comments.
Thanks.
If you'd like to search for a specific keyword on a comment, you can go to the search bar in Trello and type comment:typekeywordhere. That will show you the card where the comment appears.
Trello provides a simple RESTful web API where each type of resource (e.g. a card, a board, or a member) has a URI that you can interact with. The Trello API documentation is available at https://developer.atlassian.com/cloud/trello.
You can get your API key by logging into Trello and visiting https://trello.com/app-key . Be sure to read and agree to Trello Developer Terms of Service. Your API key will be clearly labeled at the top of that page. Your API key should be a 32 character string comprised of random alphanumeric characters.
Trello Card History. View a Trello card's description, name, and points histories, which are not available through the standard Trello interface. The Trello Card History extension provides quick and easy access to vital historical information for a Trello story card's Description and Name.
Comments are a type of action ("commentCard"), so look into the /card/:id/actions
Try this API URL
Method: GET
https://api.trello.com/1/cards/{card_Id}/actions?filter=commentCard&key={trellokey}&token={trellotoken}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With