Chat handoff to a particular agent

[quote=“salman, post:1, topic:449, full:true”]
Hi Team,

Need clarification on the following two questions:

  1. Can we identify agent id from agent email address ? Is there any API to fetch Agent ID from Agent email address ?
  2. Can we transfer the chat to a preferred live agent ? Like if customer -1 wants always to chat with Agent-4 .
    Basically the use case is like, There will be customer to agent mapping already defined and the chats must be allocated only to the specified agents