Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trello API - Update Cards on Multiple Boards - What is the Key and Token?

Hi, 

I have a program to update cards on multiple boards using the Trello API. I have tested and it works on a couple of boards that I have access on (using my developer API Key and Token). I now need to update the cards on Boards that I directly do not have access on (private boards in my Organization). How do I generate the Key / Token to be able to do this ?

1 answer

0 votes
Iain Dooley Community Leader May 16, 2020

@mydeqtechteam are you doing this from a power up? If so you just need to get the user to authenticate:

https://developer.atlassian.com/cloud/trello/guides/power-ups/authentication/#using-t-authenticate

Permissions in the API are governed by the token  you pass in, and each API key can have multiple tokens authenticated against it.

Thanks for the response @Iain Dooley Is it possible to generate a token per board ? This will enable my Developer Key to only update certain boards. How would I be able to do that? The above API is not for a Power-up but integrating Trello with an external system.

Iain Dooley Community Leader May 18, 2020

@Udai Inuganti not that I'm aware of, you can only use read or write in the scope parameter, and you can't specify that a given token has access only to a subset of boards within the authorising account.

That's my experience and I can't find any documentation to the contrary, but you might also like to ask in the developer community:

https://community.developer.atlassian.com/c/trello?_ga=2.172649891.1445675984.1584322869-299049771.1576052240

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

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...

780 views 13 30
Read article

Community Events

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

Events near you