Question!How to get Folder Id with orchestator API?

Hi,
There is a question about how to get Folder Id with orchestator?
Is using the method of Get Robot Service - Get Robot Mappings ?
if yes , what is the license key? orchestrator’s license key or robot’s license key?
the endpoint of GetRobotMapping:
{{url}}/api/RobotsService/GetRobotMappings?licenseKey=86753095683&machineName=TESTLAPTOP