Must Trello Board be public to be accessible via api.trello?

I have been reviewing Trello api doc and in particular, the 3rd party, community projects looking for examples of retrieving boards for alternative display eventually into some digital signage. The board in question is private. The particular example is https://gist.github.com/jefftriplett/9d2470a97ab57d2cec6d, python code. When executing trello.get_board(board_id) I get trello.Exceptions.Unauthorized: invalid key at https://api.trello.com/.... If I copy the resolved url to a browser, I of course get the same error.

1 answer

1 accepted

Hi Robert,

 

No, you can use the API to pull information from non-Public boards, that's not a problem. Your API calls need to include your correct API Key as well as an Oauth token to grant access to the board data.

 

More information on how that works is here: https://developers.trello.com/v1.0/reference#api-key-tokens

 

If you still have questions about getting that working, feel free to reach out to us directly at https://trello.com/contact and our developer advocate team can take a look!

Michael, thank you. I am working to figure out how to use the API through the Python wrapper. Knowing that if I am passing data correctly access to a private board works, answers my question.

I will reach out to your suggested contact if I am unable to get something working.

Robert

Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Feb 02, 2018 in Trello

Atlassian User Groups: Trello edition

You’re invited to our first ever Trello User Groups   Good news for current and aspiring Trello enthusiasts! We’re launching Trello User Groups so that you can network, share ideas, solve ...

1,227 views 8 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot