Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trello API get card comments

Tags:

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.

like image 334
hyp Avatar asked Apr 20 '12 08:04

hyp


People also ask

How do you search comments in Trello?

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.

Does Trello provide API?

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.

How do I access Trello API?

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.

Can you see the history of a Trello card?

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.


2 Answers

Comments are a type of action ("commentCard"), so look into the /card/:id/actions

like image 89
Daniel LeCheminant Avatar answered Dec 07 '22 23:12

Daniel LeCheminant


Try this API URL

Method: GET

https://api.trello.com/1/cards/{card_Id}/actions?filter=commentCard&key={trellokey}&token={trellotoken}

like image 37
Vikram Avatar answered Dec 07 '22 23:12

Vikram