Start a conversation

REST - Staff

Overview

This article provides details about the REST - Staff API call that Kayako Classic uses, including its field types, arguments, and responses.

 

Information

GET /Base/Staff

Retrieve a list of all staff users in the help desk.

 

Response

<staffusers>
<staff>
<id>1</id>
<staffgroupid>1</staffgroupid>
<firstname>John</firstname>
<lastname>Doe</lastname>
<fullname>John Doe</fullname>
<username>admin</username>
<email>john.doe@kayako.com</email>
<designation>CEO</designation>
<greeting>Hello, How may I help you?</greeting>
<mobilenumber>123456</mobilenumber>
<isenabled>1</isenabled>
<timezone>GMT</timezone>
<enabledst>1</enabledst>
<signature>John Doe (+1 909 23232344)</signature>
</staff>
</staffusers>

 

GET /Base/Staff/$id$

Retrieve a staff identified by $id$.

 

Arguments

Red = required

Name Description
$id$ The numeric identifier of the staff

 

Response

<staffusers>
<staff>
<id>1</id>
<staffgroupid>1</staffgroupid>
<firstname>John</firstname>
<lastname>Doe</lastname>
<fullname>John Doe</fullname>
<username>admin</username>
<email>john.doe@kayako.com</email>
<designation>CEO</designation>
<greeting>Hello, How may I help you?</greeting>
<mobilenumber>123456</mobilenumber>
<isenabled>1</isenabled>
<timezone>GMT</timezone>
<enabledst>1</enabledst>
<signature>John Doe (+1 909 23232344)</signature>
</staff>
</staffusers>

 

PUT /Base/Staff/$id$

Update the staff account identified by $id$.

 

Arguments

Red = required

Name Description
firstname The first name
lastname The last name
username The login username
password Will only be updated if it is specified with the request
staffgroupid The staff group ID
email The staff email address
designation The Designation/Title of Staff
mobilenumber The mobile number of Staff user
staffsignature The Signature to append to each reply made by staff
isenabled Toggle the enabled/disabled property using this flag
greeting The default greeting message when the staff accepts a live chat request
timezone The default time zone for Staff
enabledst Toggle the enabling/disabling of automatic DST calculation

 

Response

<staffusers>
<staff>
<id>1</id>
<staffgroupid>1</staffgroupid>
<firstname>John</firstname>
<lastname>Doe</lastname>
<fullname>John Doe</fullname>
<username>admin</username>
<email>john.doe@kayako.com</email>
<designation>CEO</designation>
<greeting>Hello, How may I help you?</greeting>
<mobilenumber>123456</mobilenumber>
<isenabled>1</isenabled>
<timezone>GMT</timezone>
<enabledst>1</enabledst>
<signature>John Doe (+1 909 23232344)</signature>
</staff>
</staffusers>

 

POST /Base/Staff

Create a new Staff account.

 

Arguments

Red = required

Name Description
firstname The first name
lastname The last name
username The login username
password The staff password
staffgroupid The staff group ID
email The staff email address
designation The Designation/Title of Staff
mobilenumber The mobile number of Staff user
staffsignature The Signature to append to each reply made by staff
isenabled Toggle the enabled/disabled property using this flag
greeting The default greeting message when the staff accepts a live chat request
timezone The default time zone for Staff
enabledst Toggle the enabling/disabling of automatic DST calculation

 

Response

<staffusers>
<staff>
<id>1</id>
<staffgroupid>1</staffgroupid>
<firstname>John</firstname>
<lastname>Doe</lastname>
<fullname>John Doe</fullname>
<username>admin</username>
<email>john.doe@kayako.com</email>
<designation>CEO</designation>
<greeting>Hello, How may I help you?</greeting>
<mobilenumber>123456</mobilenumber>
<isenabled>1</isenabled>
<timezone>GMT</timezone>
<enabledst>1</enabledst>
<signature>John Doe (+1 909 23232344)</signature>
</staff>
</staffusers>

 

DELETE /Base/Staff/$id$

Delete the staff identified by $id$.

Red = required

 

Arguments

Name Description
$id$ The numeric identifier of the staff
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments