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 ?
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.