Is there any API available to get check trello user account is "General" or "Trello Gold"? Edited

I am using trello attachments API to attach files to Trello card. There are limitations on file sizes. 

There is a 10 MB file upload limit per attachment. However, Business Class and Trello Gold members have a 250 MB file upload limit per attachment.

I need to do below validations, before attaching file to Trello card.

1.If account type is general, check file size is <=10 MB.

2.If account type is not general, check file size is <=250MB. 


To perform these validations, I need to get the account details of trello user.  I'd appreciate any suggestions.

1 answer

1 accepted

1 vote
Accepted answer
Dan Lew Atlassian Team Sep 18, 2017

If you make a request to (or replace "me" with a user ID) then it returns an object that includes a "premiumFeatures" array. If it includes the "largeAttachments" feature then you're good to go.

(You can also get all sorts of good info on the user with this API call, see more here:

Thanks @Dan Lew. I got below response when I make a request to

AP Response.PNG

I would like to know what does mean by memberType in above response. Can I use this property to validate attachment file size. If yes, could you please list down the all possible values of memberType property?

Dan Lew Atlassian Team Sep 19, 2017

I wouldn't use "memberType" to determine attachment size. Checking the "premiumFeatures" array is best because it accounts for all the ways that a user could acquire the ability to upload large attachments.

Currently, there are two ways the user can gain the ability to upload large attachments - either the user has Trello Gold, or they're a member of a Business Class team. Checking both of those states is much more tedious than just checking the "premiumFeatures" array. It'll also work better in the long run, in case we ever added more ways to enable large attachment uploads.

Thanks for your quick response. I got your point.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

206 views 6 7
Join discussion

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