I am struggling about how can I create a new card inside a board in Trello. The documentation simple says
curl --request POST \ --url 'https://api.trello.com/1/cards?idList=5abbe4b7ddc1b351ef961414'
But I can't understand where I define in which board I want to create the new card, in which list? Also, where I enter the token, key values?
So you provided a doc :)
To create a new card, you'll want to make a POST request to: https://api.trello.com/1/cards?key=[APPKEY]&token=[TOKEN]. This endpoint is documented here: https://developers.trello.com/advanced-reference/card#post-1-cards.
As the documentation mentions, you'll want to make sure that your request's body contains an idList. This should be the ID of the list in which you want to create your new card. Additionally, you should have write permissions for the board that you are trying to add a card to. The easiest way to test this quickly (assuming you are using a token for your personal account) is to see whether you can add a card on the board via the web client.
Hello Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events