Fetch Workspaces
Table of Contents
Purpose
To fetch details of a workspace.
Request URL
https://www.zohoapis.com/bookings/v1/json/workspaces
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 |
---|---|
workspace_id (optional) | The unique id of the workspace which needs to 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/workspaces?workspace_id= 3848021000000027004' \
--header 'Authorization: Zoho-oauthtoken 1000.7b3610d1XXXXXXXXXXXXXXXX087cc3.6282226f615637c467bee7209ce1c0a1' \
Sample Response
Copied{
"response": {
"returnvalue": {
"data": [
{
"name": "Chennai",
"id": "3848021000000027004"
},
{
"name": "Tenkasi",
"id": "3848021000000027005"
}
]
},
"status": "success"
}
}