Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing private board data

cesar-dux
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2019

I am working on a personal application which requires me to retrieve the lists of a specific board I have chosen so that I can later perform operations on those lists. However I am unable to GET the list data from private boards.

To access public boards in the past I have been able to get away with not using my API Key and Token. However, if I do this with private boards I am told I do not have authorisation to access this data.

When using the following GET request: https://api.trello.com/1/boards/xxx/lists/&key=xxx&token=xxx I receive the following error: 

Cannot GET /1/boards/xxx/lists/&key=xxx&token=xxx

Any help would be greatly appreciated!

1 answer

1 accepted

0 votes
Answer accepted
marc -Collabello--Phase Locked-
Community Champion
June 17, 2019

@cesar-dux 

When looking at your GET request, I think the format is no ok.  Try this:

https://api.trello.com/1/boards/5be7fcd2be9bb287dc953a92/lists?key=283a076d40d84005babd71d983469e5e&token=cb763fbda41db415682bc83ffa24e50491d275bb80aeab5be7fe87c8e1acf7d7

So, no slash after lists, but a ? before the first parameter.  You can also check the docs here:

https://developers.trello.com/reference#boardsboardidlists

and look at the cURL code example.

cesar-dux
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2019

Rookie mistake, thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events