​

Fetch Staff

 

Purpose

​To fetch all the staff.

 

Request URL

https://www.zohoapis.com/bookings/v1/json/staffs

 

Headers

Parameter NameDescription
AuthorizationZoho-oauthtoken {{accesstoken}}

Note: The access token can be generated from the developer console.

 

Request Method

GET

 

Parameters

Parameters to be passed in the request body as form-data along with the request URL are,

Parameter NameDescription

staff_id

(optional)

The unique id of the staff which must be fetched.

service_id

(optional)

The unique id if the service which must be fetched.
​  

Response Type

JSON

​

API Limits

Zoho Bookings Plan/EditionNumber of API calls/day
Free250/per user
Basic1000/per user
Premium3000/per user
Zoho One3000/per user
Note: The API limits are excluding the authorization requests. API counts are calculated between 00:00 and 23:59 hours in the respective time zones.

Related Links

Sample Request

Copiedcurl --location --request GET 'https://www.zohoapis.com/bookings/v1/json/staffs?staff_id={{staff_id}}&service_id={{service_id}}' \
--header 'Authorization: Zoho-oauthtoken 1000.7b3610d1XXXXXXXXXXXXXXXX087cc3.6282226f615637c467bee7209ce1c0a1' \

Sample Response

Copied{
  "response": {
    "returnvalue": {
      "data": [
        {
          "name": "Staff 1",
          "id": "3848021000000027052"
        },
        {
          "name": "Staff 2",
          "id": "3848021000000027053"
        }
      ]
    },
    "status": "success"
  }
}