Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,327
Community Members
 
Community Events
168
Community Groups

How to get Trello Board ID

I am wondering how to get your trello board ID.

2 answers

1 accepted

7 votes
Answer accepted

Hi @Chris topher

Should be able to get it via JSON - this is how I did it:

  1. Go to your Trello Board
  2. Add ".json" to end of the URL
  3. Format the JSON so it's readable (you can find a JSON viewer online)
  4. Search for idBoard - this will list your full Board ID

URL should look like this:

https://trello.com/b/BaDyGlxp/<name of board>.json

You'll also find the list IDs in there under idList

Ste

I dropped ".json" at the end of address in firefox and a pretty nice looking json display was rendered and the first item was "id", which worked for me.

I filtered "idBoard" and the only result was a "idBoardSouce" which was null. Maybe the "idBoard" has since changed to "id".

id and idboard look to match for me.

Although I still see both on Chrome. Perhaps the JSON view differs between browsers? :)

Ste

Never realized you could just add .json like that!

But can you explain what adding .json to the end of the board does?

How can I use this in other APIs?

Thx !

I’m no expert Zeeshawn but finding this recently opened up some fun things you can do with 3rd party automation apps like Zapier.

By getting the direct API IDs from the .json view (for the board itself, plus its lists, cards and more), you can store those IDs somewhere and use look-up fields to feed them directly into Zapier/Integromat to automate tasks - rather than manually select which board and list you want to perform an action with.

For example, new enquiries generate a new Trello card which needs distributing to the right member of our team. I have a database (I use Airtable) of the board and list IDs for each team member. When an enquiry comes in and is allocated to a team member based on their location, Zapier triggers an automation that looks up the board and list ID for that person and sends the enquiry card there, without me having to set up multiple automations for each of them.

The key is being able to look-up the ID and insert directly into a 3rd party app rather than manually selecting which one to use. Hope that helps!

Got it. That makes sense. I'll keep that in mind when I'm thinking about projects in the future. 

 

Thanks 👍🏽

0 votes
Iain Dooley Community Leader Apr 14, 2020

@Chris topher boards have 2 types of ID, the short ID which is in the URL as shown here:

2020-04-14 at 9.36 pm.png

and the long ID which you need to get using the API. You can actually get it using the API explorer and the short ID:

... oh wait, no you can't. @bentley the developers.atlassian site doesn't have the ability to try API commands in the browser, that's pretty lame any ETA on adding it?

Anyway here's the end point, you can pass the short ID into the API endpoint and get the long ID in return:

https://developer.atlassian.com/cloud/trello/rest/#api-boards-id-get

Hey guys, do you know if it's possible to use the above board and list IDs to run automations through Zapier? End goal is

Trigger: a record updates in our CRM

Action:

1. Find card using card URL (no problems)

2. Find board and list ID stored in the updated CRM record

3. Move card to said board and list

P.s. I'm not a dev! Many thanks :D

Suggest an answer

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

A Trello template to help you clean up your Confluence Space

Calling all Trello + Confluence users! We're celebrating all things Work and Wellness in our Confluence collection, where our team has been sharing activities to create more mindfulness around the ...

928 views 4 13
Read article

Atlassian Community Events