Accessing private board data

cesar-dux 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 June 17, 2019

Rookie mistake, thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events