Where to find directoryId for EX/Employee Directory | XM Community
Solved

Where to find directoryId for EX/Employee Directory

  • 9 December 2020
  • 2 replies
  • 35 views

Userlevel 7
Badge +26
  • QPN Level 4 ●●●●
  • 216 replies

Hi,
I'm trying to call the API for getting all participants from the employee directory.
For that, I need the directoryId.
I know where to find the directory id for the XM Directory from CX, but can't seem to find it for EX...
I tried using the POOL_ directory id from the default directory of CX, and also the ID that is in the url when I navigate to the Employee Directory (so https://tenant.eu.qualtrics.com/EX/GlobalDirectory/GlobalDirectory?#someIdHere)
Both of those calls return a 403 unauthorized (while I am brand admin).
Can anyone help?

icon

Best answer by ElieD 11 December 2020, 16:35

View original

2 replies

Userlevel 6
Badge +37

Hi JoycaV,

I got the same result, trying with any of my directories ID.
Also tried to get all my directories IDS with Directory list request : https://api.qualtrics.com/api-reference/reference/directories.json/paths/~1directories/get
But this don't return any EX directory...

The EX API reference says it is not yet available, so this could explain why we got a forbidden response.
The API request for each requests list a directoryId in the parameters, but as there is only one directory in EX, I think this parameter should be optionnal.

Please let us know if you call the support team and get a response.


Userlevel 7
Badge +26

Hi ElieD ,
I did indeed meanwhile contact Support,
and indeed, even though it's in big red letters, I seemed to have overlooked the message on the API documentation that this is in early access mode still :D
So that's why there's an "unauthorized" reply.

Leave a Reply