Get Account User
Returns detailed information about a specific user in your account.
Endpoint
GET
v5/accountuser/{user_id}
Requires authentication. Accessible to Account Administrator users only.
Path Parameters
The user to retrieve.
user_id
string
required
The ID of the account user to retrieve.
Query Parameters
None
Response
Returns a single account user object.
result_ok
boolean
Whether the request succeeded.
data
object
The account user object.
child attributes
id
string
The unique ID of the user.
username
string
The user's display name.
email
string
The user's email address.
admin
integer
Whether the user has account administrator privileges.
1 = admin, 0 = standard user.phone_support
integer
Whether the user has phone support access.
1 = enabled, 0 = disabled.userdata
array
Array of custom user data fields defined for the account. Empty array if none are set.
child attributes
id
string
The ID of the custom data field.
name
string
The name of the custom data field (e.g.
Department, Course).description
string
A description of the custom data field.
value
string
The value stored in this field for the user. Empty string if not set.
license
string
The user's license type (e.g.
Full Access, Collaborator). Empty string if no license is assigned.defaultteam
string | boolean
The ID of the user's default team, or
false if none is set.status
string
The user's account status. Possible values:
Active, Disabled.last_login
string | null
Timestamp of the user's most recent login, or
null if they have never logged in.api_key
string | null
The user's API token, or
null if not generated.api_secret
string | null
The user's API token secret, or
null if not generated.Examples
Note GET requests are cached for 60 seconds. Repeated identical requests within that window will return cached results.
Request (cURL)
curl -X GET "https://api.alchemer.com/v5/accountuser/YOUR_USER_ID?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
"result_ok": true,
"data": {
"id": "YOUR_USER_ID",
"username": "test",
"email": "user@example.com",
"admin": 0,
"phone_support": 0,
"userdata": [],
"license": "",
"defaultteam": false,
"status": "Active",
"last_login": null,
"api_key": null,
"api_secret": null
}
}