---
title: "List All Protected Cloud Apps"
method: GET
path: "/insync/cadevice/v1/devices"
tags: ["Restore OneDrive/Exchange Online data"]
---

# List All Protected Cloud Apps

`GET /insync/cadevice/v1/devices`

Retrieve the list of all protected SaaS apps.

## Query parameters

- `appName` string
- `sortByColumn` string
- `sortOrder` string
- `searchTerm` string
- `userID` number[]
- `profileID` number[]
- `pageSize` string
- `nextPageToken` string
- `workload` string[], required
- `lastBackupStatus` string
- `lastBackupTime` integer

## Response `200`

OK

- 200DeviceList
  - `totalResults` number, required — The total number of devices listed in the result pages.
  - `nextPageToken` string, required — The token to access next page of results. This parameter will be empty for the last page of results.
  - `devices` object[], required
    - `id` number, required — The unique id of the device in inSync. Example - 12345
    - `appName` string, required — The device app name in inSync. Example - OneDrive
    - `userId` number — A unique id of the user in inSync. Example - 1234
    - `workload` string, required — Name of cloud platform. Example - Office 365 OneDrive, Office 365 Exchange Online, G Suite Gmail, G Suite Google Drive.
    - `createdOn` string, required — The date and time on which the device was added to inSync. Example - 2019-10-25T00:00:00Z
    - `profileID` number, required — A unique id of the profile in inSync.
    - `customerID` number, required — A unique id of the administrator in inSync.
    - `lastBackupStatus` number, required — Shows last backup status. Example - Backed Up Successfully
    - `lastBackupJob` string, required — Date string indicating latest time of the backup job run.
    - `lastSuccessfulBackup` string, required — Date string indicating latest time of the backup job run that was successful.

## Other responses

- `400` — Bad Request
- `401` — The request did not include an authentication token or an expired authentication token was supplied.
- `403` — Access denied: Insufficient permissions. User requires specific access rights and minimum permissions. Details: https://help.druva.com/en/articles/15069296
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error on server.
- `501` — Requested HTTP method is not implemented.

---

[API](https://skmtc.net/druva/apis/authentication.md) · [All operations](https://skmtc.net/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
