v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Customers

List all customers

Returns the list of all customers.

get/msp/v3/customers

Query parameters

pageSizestring

Specify the number of records you wish to receive in API response. Example - 30. Note: Maximum allowed page size is 100. pageSize and pageToken are mutually exclusive options.

pageTokenstring
  • The token to access the next page of results. Use the token value received in the previous response's parameter 'nextPageToken'.
  • Keep this field blank in the first request.
includeFeaturesboolean

Specify whether customer features should be included in the response. includeFeatures and pageToken are mutually exclusive options.

Headers

Authorizationstring required

Specify the Bearer access token

Response

Ok

nextPageTokenstring

The token to access the next page of results. This is empty if there are no more results. Example - 'eyJwYWdlU2l6ZSI6IDEwMH0='

Example response

{
  "customers": [
    {
      "id": "bde7f8c2-d063-4a4a-9a8f-c2ea5aff42f3-198",
      "accountName": "Druva",
      "address": "213 Derrick Street Boston, MA 02130 USA",
      "phone": "12345678910",
      "customerName": "Druva",
      "features": [
        {
          "name": "Security Posture and Observability"
        }
      ],
      "tenantAdmins": [
        1,
        2,
        3
      ],
      "status": 1,
      "createdOn": "2022-10-25T00:00:00Z",
      "activeSince": "2022-10-25T00:00:00Z",
      "attributes": [
        {
          "name": "licenseManagementAllowed",
          "value": "1"
        }
      ],
      "cloud": 1
    }
  ],
  "nextPageToken": "eyJwYWdlU2l6ZSI6IDEwMH0="
}