# API: Get Staff Member
# getStaffMember
Get Staff Member details by id
# Required parameters
Parameter | Description |
---|---|
id | Staff Id |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getStaffMember&id=ID
# PHP Samples
# Response
{
"success": true,
"admin": {
"id": "2",
"firstname": "John",
"lastname": "Doe",
"email": "[email protected]",
"signature": "",
"ui_config": {
"clienttabs_visible": {
"Contacts": 1,
"Contracts": 1,
"Orders": 1,
"Services": 1,
"Domains": 1,
"Invoices": 1,
"Estimates": 1,
"Recurring Invoices": 1,
"Transactions": 1,
"Tickets": 1,
"Logs": 1,
"Access List": 1,
"Grouped Services": 1
},
"search_on": {
"Clients": 1,
"Contacts": 1,
"Orders": 1,
"Accounts": 1,
"Domains": 1,
"DNS": 1,
"Invoices": 1,
"Estimates": 1,
"Transactions": 1,
"Tickets": 1,
"Products": 1
},
"format": 1
},
"username": "John Doe",
"status": "Active",
"access": [
""
],
"emails": [],
"mfamodule": "",
"teamAccess": {
"": [
"Team A",
"Team C",
""
]
},
"teams": [
"1",
"4",
"10"
],
"mobilephone": "",
"fields": {
"mobilephone": {
"name": "Mobile phone number",
"id": "1",
"type": "input",
"default": ""
}
}
},
"call": "getStaffMember",
"server_time": 1718954403
}