Search code examples
pythontrello

How to add a comment to Trello card via API calls?


I am testing Trello API via Postman and I have a problem adding a comment to a card.

I'm submitting a PUT request to https://api.trello.com/1/cards/card id/actions/commentCard/comments?&key=my_key&token=my_token&text=comment, but I receive an error:

invalid value for idAction

Could someone point out what I'm doing wrong?


Solution

  • According to Trello API you need POST /1/cards/[card id or shortlink]/actions/comments. Please see Trello API