Yesterday (09/17/2011) I could go to my stackexchange site's profile page and grab UUID from the url:

enter image description here

I could use this UUID to fetch user's associations with stack exchange network. Now said URL redirects to another page where the actual ID is (presumably) auto incremental integer which used in latter URL returns no associations. Is that UUID is being forbidden public access? What id should I use to get user's associations?

  • 2
    According to this page, the entire network is switching from association GUIDs to something called an account ID. This is likely causing the problem. Sep 19, 2011 at 20:27
  • Indeed. I reread the 2.0 draft and it seems to be the case.
    – Eimantas
    Sep 20, 2011 at 4:18

1 Answer 1


You can get the user's association id through the /users/{ids} route



(see association_id)

  • This is no good as it's just one extra, site-dependent(!!!) step to fetch needed association_id. Won't there be any other place where I can fetch all user's associations without asking what's their id on specific site?
    – Eimantas
    Sep 18, 2011 at 14:37
  • What are you trying to do then? Get every single user's association Id?
    – Jonathan.
    Sep 18, 2011 at 14:58
  • I'm trying to fetch all associations (which return site's name too) by knowing association_id instantly.
    – Eimantas
    Sep 18, 2011 at 14:59
  • 1
    So where are you planning on getting the association_id from in the first place? You're meant to get the association_id from the route in my post, put that in the stackauth route and get all the associations.
    – Jonathan.
    Sep 18, 2011 at 15:04
  • Previously association_id was in the stack exchange user's profile url (as shown in the screenshot).
    – Eimantas
    Sep 18, 2011 at 16:46
  • Well getting the association Id from anywhere but the API is a bit of a fluke. In 2.0 the association id will become numerical like it is on stack exchange. On normal site you can use JavaScript to get the association I'd of the currently logged in user but it doesnt seem to work on stackexchange.com
    – Jonathan.
    Sep 18, 2011 at 22:33
  • If you say exactly what you're trying to do it may be possible to help you more.
    – Jonathan.
    Sep 18, 2011 at 22:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .