Skip to main content

Get User

Retrieves detailed information about a specific user by their User ID.

Endpoint

GET /v2/users/{id}

Path Parameters

ParameterTypeRequiredDescription
idintegerYesThe unique User ID to retrieve

Response

Returns a UserIDInfo object for the specified user.

{
"success": true,
"data": {
"userId": 1042,
"login": "jsmith",
"email": "jsmith@example.com",
"firstName": "John",
"lastName": "Smith",
"networkId": 1,
"mailboxId": 101,
"authLevel": "MailboxAdmin",
"status": "Active",
"created": "2024-03-15T10:22:00Z"
}
}

ENUMs

This endpoint uses the following ENUMs in its response. See Appendix: ENUMs for full value lists.

  • AuthLevel — permission level of the user (e.g., NetworkAdmin, MailboxAdmin, MailboxUser)
  • Status — lifecycle state of the user (e.g., Active, Suspended, Terminated)

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/users/$ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also