How to find out List IDs? The JSON trick isn't working anymore
Asked by Stamina Overlook:

When adding .json to the end of the URL, I just get the 404 page. How do I find out the list IDs?


Answers:
author: milynnus
body: [@Stamina Overlook](/t5/user/viewprofilepage/user-id/4712683)

It can happen when you do not have access to the card/board.

**Update :**self correction - you get a 401 instead.

comments: author: milynnus
body: [@Stamina Overlook](/t5/user/viewprofilepage/user-id/4712683) No issue get the board. Looks like it is a Public board

You are correct that with the full url and a .json it gets a 404

![Screen Shot 2022-01-19 at 12.56.20 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/178418i1EF16E816333B4DF/image-size/large?v=v2&px=999 "Screen Shot 2022-01-19 at 12.56.20 PM.jpg")


author: Stamina Overlook
body: Ahhhh, so I needed to take the name of the board out of the URL! Now it's all working, thank you so much :)


author: David Bakkers
body: An easier way, if you have generated a key and token for using the REST API, is to query the [Get Lists on a Board](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-lists-get) endpoint:

```
https://api.trello.com/1/boards/{board_id}/lists?key={your_key}&token={your_token}
```

Example JSON response:
> \[  
> {  
> "id": "602786e91c69d30e45a9ccdb",  
> "name": "Backlog",  
> "closed": false,  
> "pos": 512,  
> "softLimit": null,  
> "idBoard": "602786e91c69d30e45a9ccd8",  
> "subscribed": false  
> },  
> {  
> "id": "60541af09b1c4353c8a3b29b",  
> "name": "Due in 4 days",  
> "closed": false,  
> "pos": 1024,  
> "softLimit": null,  
> "idBoard": "602786e91c69d30e45a9ccd8",  
> "subscribed": false  
> }  
> \]


author: Laura Holton _ACE Rotterdam_
body: Hi [@Stamina Overlook](/t5/user/viewprofilepage/user-id/4712683) ?

Welcome to the Community! You should be able to get it via JSON:

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.

**Option 2:**
> 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".

I hope this helps but if you have any other questions just ask away ?

All the best,

Laura

comments: author: Stamina Overlook
body: Hello! Yes, I tried these methods, but like I said, adding .json to the end of the URL just sends me to the error 404 page. There's no JSON there - and nothing in the source, either. The source of the resulting page is just the source of the 404 page, with no hidden list IDs or anything.


author: Stamina Overlook
body: Here, a screenshot that proves it:![image_2022-01-18_133945.png](https://community.atlassian.com/t5/image/serverpage/image-id/178238iBE834B8D4AC6D7CA/image-size/large?v=v2&px=999 "image_2022-01-18_133945.png")