Get details of a specific user Fetches profile and scope details for the specified user.
Request URL https://{server-hostname}:8383/emsapi/users/{userId}
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Path Parameters userId string Mandatory
Unique user identifier. To get user id click here. Get User Id
Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
--url https://appdomain/emsapi/users/{userId} \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52'import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import java.net.http.HttpTimeoutException;
public class Main {
public static void main(String[] args) {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://appdomain/emsapi/users/{userId}"))
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
headers = { 'Authorization': " d92d4xxxxxxxxxxxxx15f52" }
conn.request("GET", "/emsapi/users/{userId}", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Accept", "application/json");
response = invokeUrl
[
url: "https://appDomain/emsapi/users/{userId}"
type: GET
headers: headersMap
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/emsapi/users/{userId}' -Method GET -Headers $headers▼ Show full
Response Parameters - HTTP code 200 Response Body - application/json JSON object
Hide Sub-Attributes computerScopeType integer
Computer scope type assigned to the user.
phoneNumber string
Phone number of the user.
roleID string
Role identifier assigned to the user.
roleName string
Name of the role assigned to the user.
deviceScopeType integer
Device scope type for MDM access control.
mailID string
Email address of the user.
language string
Locale or language configured for the user account.
userName string
Username for the user account.
authType string
Authentication type used by the user (e.g., 'localAuthentication' or 'adAuthentication').
Possible Response Codes Sample Response: HTTP 200 Fetch user profile details with role and scope information.
Copied!
{
"computerScopeType": 0,
"phoneNumber": "22222676",
"roleID": "4",
"roleName": "Security Auditor",
"deviceScopeType": 0,
"mailID": "alex.morgan@example.com",
"language": "en_US",
"userName": "alex.morgan",
"authType": "localAuthentication"
}
▼ Show full
Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes
Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.