Forums/Community/Zendesk API

Answered

How to get the current end-user organization through API

Steve Rodgers
asked this on January 02, 2013 19:33

If I login as an end-user I can get my info with /api/v2/users/me.json.

I can get the organization_id from there, but I want to also get the organization name.

I can't seem to find any way to do this as an end-user.

I don't want to have to store agent login in the code I'm writing just to grab the org details - is there another way?

 

Comments

User photo
DeVaris Brown
Zendesk
Check Answer

We don't expose the name of the organization via that endpoint, but you can use the ID to query the organizations endpoint for the full payload.

October 10, 2013 14:00