Trello API: vote on a card

466 Views Asked by At

Is it possible to vote on a public card with Trello's REST API?

The documentation is not very helpful:

https://trello.com/docs/api/card/index.html

https://trello.com/docs/api/action/index.html

Thanks!

1

There are 1 best solutions below

0
On

The route you're looking for is POST /1/cards/(card id or shortlink)/membersVoted. The only valid value for value is your own member id.

In general, the best way to figure out things like this is to do the action in the web app, and watch the Network tab in your browser's dev tools to see what request it makes.