Get My Information

GET {{baseUrl}}/api/v1/myinfo

This API fetches details of the currently logged in agent.

OAuth Scope

  • Desk.settings.READ
  • Desk.basic.READ

Request Params

KeyDatatypeRequiredDescription
includestringSecondary information related to the agent. Values allowed are profile, role, associatedDepartments, and associatedChatDepartments. You can pass multiple values by separating them with commas in the query param

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"associatedChatDepartments":[{"sanitizedName":"Developement","name":"Developement","id":"1892000000006907"}],"lastName":"Emard","extn":"","role":{"name":"CEO","id":"1892000000056099"},"langCode":"fr_FR","emailId":"emardtorrey@zylker.com","photoURL":null,"countryCode":"en_US","isConfirmed":true,"id":"1892000000056007","roleId":"1892000000056099","profile":{"name":"Administrator","id":"1892000000056091"},"mobile":"","timeZone":"Pacific/Majuro","associatedChatDepartmentIds":["1892000000006907"],"zuid":"10687231","associatedDepartmentIds":["1892000000006907","1892000000082069"],"associatedDepartments":[{"sanitizedName":"Developement","name":"Developement","id":"1892000000006907"},{"sanitizedName":"r-d","name":"R \u0026 D","id":"1892000000082069"}],"firstName":"Torrey","phone":"","profileId":"1892000000056091","channelExpert":["Facebook","Chat","Phone","Twitter","Web","Email","Forums"],"name":"Torrey Emard","rolePermissionType":"Admin","aboutInfo":"Expert in handling tickets and Automations","status":"ACTIVE"}