Fetch Workspaces

 

Purpose

​To fetch details of a workspace.

 

Request URL

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

 

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
workspace_id

(optional)

The unique id of the workspace which needs to 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/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"
  }
}