URL: api/agent-info
Method: GET
Description : Fetches logged in agent/admin information
Success Response :
{ "success": true, "data": { "agent": [ { "id": 99, "first_name": "Krishna", "last_name": "Vishwakarma", "user_name": "krishna", "location": "bangalore", "role": "agent", "email": "krishna@faveo.com", "ext": "080", "country_code": 91, "mobile": "9853453453", "phone_number": "41536699", "active": 1, "agent_tzone": "1", "agent_sign": "Krishna V.", "permission": { "id": 21, "user_id": 99, "permision": { "create_ticket": "1" }, }, "type": [ { "id": 1, "name": "Question" } ], "departments": [ { "id": 1, "name": "Support" }, { "id": 2, "name": "Sales" } ], "teams": [ { "id": 1, "name": "Level 1 Support” }, { "id": 2, "name": "Level 2 Support” } ] } ] } }