GET - Get All Projects in a Group

Purpose

This API is used to retrieve all the projects created under a specific group.

OAuth Scope

Use the scope

ZohoMail.tasks.ALL (or) ZohoMail.tasks.READ

to generate the Authtoken.

ALL - Full access to tasks.

READ - Retrieve all the projects in a group.

Request URL

Method: GET

https://mail.zoho.com/api/tasks/groups/{zgid}/projects

Path Parameters

  • zgidlong
    • Specifies the unique identifier used for groups in an organization.
    • This parameter can be retrieved from the Get all groups API.

 

* - Mandatory parameter

Response Codes

Refer here for the response codes and their meaning.

Sample Request

Copiedcurl "https://mail.zoho.com/api/tasks/groups/5365*****/projects" \
-X GET \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *****" 

Sample Response

Copied{
  "status": {
    "code": 200,
    "description": "success"
  },
  "data": {
    "projects": [
      {
        "name": "General",
        "id": "17461000000006001"
      },
      {
        "name": "Marketing",
        "id": "17461000000006006"
      },
      {
        "name": "Blogging",
        "id": "17461000000008001"
      },
      {
        "name": "Sales",
        "id": "17461000000008003"
      }
    ]
  }
}