It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Accessing private board data

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 Community Leader Jun 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.

Rookie mistake, thanks!!

Suggest an answer

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

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,499 views 12 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you