cURL
curl --request GET \ --url https://chat.zoko.io/v2/agent/{id} \ --header 'apikey: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "firstName": "<string>", "lastName": "<string>", "email": "<string>", "role": "owner", "active": true, "available": true }
Retrieve agent details
Authentication is done via apikey provided for your account
apikey
Include the following in your request header
apikey: "your_apikey_here"
ID or email of the agent
should the response include teams where the agent is a member
Agent Details
Agent response model
agent id
first name of agent
last name of agent
email of agent
role of the agent
owner
admin
salesman
is the agent active?