β
Fetch Staff
Table of Contents
Purpose
βTo fetch all the staff.
Request URL
https://www.zohoapis.com/bookings/v1/json/staffs
Headers
Parameter Name | Description |
---|---|
Authorization | Zoho-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 Name | Description |
---|---|
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/Edition | Number of API calls/day |
Free | 250/per user |
Basic | 1000/per user |
Premium | 3000/per user |
Zoho One | 3000/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"
}
}