Get Details of a Lead Owner
Retrieves a lead owner’s details. Specify the lead by passing the “LeadIdentifier” and “value” in the API URL.
For example, “LeadIdentifier”: “EmailAddress” and “value”: “john@example.com”.
API URL
URL Parameters
| Parameter | Description |
|---|---|
| Lead Identifier | The name of the lead field you want to identify the lead by. E.g., EmailAddress, LeadId, etc. |
| value | The value of the lead field you passed. E.g., "john@example.com" if the "leadField" you passed was EmailAddress. |
Response
[
{
"UserId":"1a50c565-8525-11ea-a93b-0aa4c559f4ca",
"FirstName":"Yogesh",
"EmailAddress":"sri.sudhan@leadsquared.com",
"AssociatedPhoneNumbers":"+91-9000000000",
"DateFormat":"mm\/dd\/yy",
"CreatedBy":"3b1041fb-8374-11e7-8758-0a106ee76b21",
"CreatedOn":"2020-04-23 05:41:39",
"ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca",
"ModifiedOn":"2022-05-31 12:00:21",
"TimeZone":"Asia\/Kolkata",
"IsAdministrator":true,
"Role":"Administrator",
"IsPhoneCallAgent":false,
"UserType":0,
"StatusCode":0,
"Country":"India",
"ZipCode":"560001",
"ManagerName":"",
"CreatedByName":"Vir Singh",
"ModifiedByName":"Yogesh",
"AutoUserId":18,
"IsCheckinEnabled":true,
"IsCheckedIn":true,
"LastCheckedOn":"2022-05-12 09:55:53",
"LastCheckedIpAddress":"49.207.197.147",
"AvailabilityStatus":"online",
"OfficeLocationName":"Bangalore",
"Skills":"Telecommunications",
"mx_Custom_1":"Unmarried",
"mx_Custom_2":"Male",
"mx_Custom_7":"Test",
"TeamId":"920045de-67d7-11e8-8455-020714094d7e",
"TeamName":"Chennai"
}
]
HTTP Response Codes
| Code | Description |
|---|---|
| 200 OK | This is the status code for successful API call. |
| 401 Unauthorized | The API call was made with invalid access credentials. Check your AccessKey and SecretKey. |
| 400 Bad Request | The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure. |
| 404 Not Found | The API could not be found. Please check the API signature. |
| 429 Too Many Requests | API calls exceeded the limit of 25 in 5 second(s) |
| 500 Internal Server Error | The API called failed. There could be many reasons for it. Check the exception message to get more details. |

