Info
This is a sample API reference document targeting developers.
Get User Details¶
The Get User transaction is used to retrieve user details from the system.
Request¶
Format the request as follows:
GET https://fake.system.com/users/user={user_email}
User email is required and must be formatted as a standard email address: {string}@{string}.{string}. For example:
dennis.dufrene@yahoo.com
Request Sample¶
GET https://fake.system.com/users/user=dennis.dufrene@yahoo.com
Response¶
The system returns the following fields:
| Field | Description |
|---|---|
user_email |
The user’s email address. |
user_name |
The user’s first and last name. |
user_phone |
The user’s contact phone number (cell or home). |
user_active |
Yes or no field indicating if the user has been active in the last 30 days. |
Response Sample¶
1 2 3 4 5 6 | |
Error Handling¶
The system returns the following errors:
| Error | Description |
|---|---|
|
The email address included in the request is not available in the system. |
|
The email address is blank, null, or incorrectly formatted. |
|
API calls exceeded the limit of 15 in 5 second(s). |
|
Internal server error resulting from failed API call. Review stacktrace for more details. |