Retrieve List of All Applications and API in a Tenant

Overview

This article explains whether it is possible to retrieve a list of all Applications and API in the tenant using the Management API.

Applies To

  • Management API
  • Reports
  • Applications

Solution

The list of clients (applications and SSO integrations) in a tenant can be retrieved using the GET /api/v2/clients Management API endpoint.

  • For this API endpoint, it is possible to provide filters for the list of applications you would like to retrieve, and a list of fields to include or exclude may also be specified.
    GET: https://{your_domain}.auth0.com/api/v2/clients?fields=name,client_id,client_secret,callbacks,global,app_type,callbacks,web_origins,allowed_logout_urls

To retrieve details of all APIs associated with a tenant, the GET /api/v2/resource-servers Management API endpoint can be used.
GET: [https://{](https://{/)your_domain}.[au.auth0.com/api/v2/resource-servers](http://au.auth0.com/api/v2/resource-servers)

To call the Auth0 Management API v2 endpoints, authentication with an access token called the Auth0 Management API token is required. These tokens are JSON Web Tokens (JWTs), which contain specific grant permissions known as scopes.