Company News

How to get a Trello Member ID

October 21, 2017

I couldn’t find this information anywhere useful or in a clear manner, so I’m sharing what I found.

What

I was creating a Microsoft Flow where I wanted the results from a Microsoft Forms submission to be turned into a Trello card. That part was simple, the hard part was assigning the Member ID (i.e. I wanted the card to be assigned to a person).

So What

There was nothing in Flow to indicate what it was looking for and the error output wasn’t helpful at all. I tried the UPN/Email address the member used, I tried the member name but none of that worked. It was clear it was looking for an “ID” but I couldn’t find such a thing anywhere.

Now What

I found a way in the Trello API to get it to spit out the members details and sure enough the first part it spat out was a unique ID, and sure enough this is indeed what it was looking for. Pretty simple when I found it, but it wasn’t obvious at all, at first.

You will want to go to this URL and replace the last part with the Membername of the user: https://api.trello.com/1/members/JoeBlow

This will spit out something similar to the following, and the highlighted bit is the Member ID you are looking for.

{“id”:”59d24c2f99e4a9a9bb7c6280“,”avatarHash”:”2c1e2ee17511e74e59d687a26c742044″,
“bio”:””,”bioData”:null,”confirmed”:true,”fullName”:”Joe Blow”,”idPremOrgsAdmin”:null,”initials”:
“JB”,”memberType”:”normal”,”products[],”status”:”disconnected”,”url”:”https://trello.com/joeblow”,
“username”:”joeblow”,”avatarSource”:null,”email”:null,”gravatarHash”:null,”idBoards”:[],
“idEnterprise”:null,”idOrganizations”:[],”idEnterprisesAdmin”:[],”limits”:{“boards”:{“totalPerMember”:
{“status”:”ok”,”disableAt”:950,”warnAt”:900}},”orgs”:{“totalPerMember{“status”:”ok”,”disableAt”:95,”warnAt”:90}}},
“loginTypes”:null,”oneTimeMessagesDismissed”:null,”messagesDismissed”:null,”prefs”:null,”trophies”:[],
“uploadedAvatarHash”:null,”premiumFeatures”:[],”idBoardsPinned”:null}

 

Leave a Reply

Sean Wallbridge

Sean Wallbridge-square-150x150

Beer Me!

Subscribe via Email

Categories

Powered by...

itgroove Corporate Profile
Connect With Us