---
title: REST API Explorer
description: Access the REST API Explorer, a Swagger-based implementation of the OpenAPI Initiative Specification, to test and document PingIDM REST endpoints
component: pingidm
version: 7.5
page_id: pingidm:rest-api-reference:api-explorer
canonical_url: https://docs.pingidentity.com/pingidm/8.1/rest-api-reference/api-explorer.html
llms_txt: https://docs.pingidentity.com/pingidm/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
keywords: ["REST API", "Tools"]
superseded_by: https://docs.pingidentity.com/pingidm/8.1/rest-api-reference/api-explorer.html
section_ids:
  example: Example
---

# REST API Explorer

IDM includes an API Explorer, an implementation of the [OpenAPI Initiative Specification](https://swagger.io/solutions/getting-started-with-oas/), also known as Swagger.

The API Explorer covers most endpoints provided with a default IDM installation.

Each endpoint lists supported HTTP methods, such as POST and GET. When custom actions are available, the API Explorer lists them as:

```none
HTTP Method /path/to/endpoint?_action=something
```

## Example

To see the API Explorer in action, follow along with this procedure:

1. To access the API Explorer, log in to the admin UI, click the question mark button [icon: question-circle, set=fas]in the upper right corner, and select [icon: code, set=fas]API Explorer.

   |   |                                                                                                                                                                              |
   | - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
   |   | If the API Explorer does not display, you might need to enable it in your `resolver/boot.properties` file by setting the `openidm.apidescriptor.enabled` property to `true`. |

2. Expand the User v1.0 endpoint node, and click GET /openidm/managed/user1.0_query_id_query-all.

   ![API Explorer - User Node](_images/apiExpUserNode.png)

3. Click Try it out!, and then click Execute.

   The output includes:

   * The REST call, in the form of the `curl` command.

   * The request URL, which specifies the endpoint and associated parameters.

   * The response body, which contains the data that you requested.

   * The HTTP response code; if everything works, this should be `200`.

     |   |                                                                                                                                                    |
     | - | -------------------------------------------------------------------------------------------------------------------------------------------------- |
     |   | If you refer to a `401 Access Denied` code in the response body, your session may have timed out, and you'll have to log in to the admin UI again. |

   * Response headers.

   > **Collapse: Example Output**
   >
   > ![apiExpOutput](_images/apiExpOutput.png)

For details on common ForgeRock REST parameters, refer to [ForgeRock Common REST](../crest/about-crest.html).

You'll refer to examples of REST calls throughout this documentation set. You can try these calls with the API Explorer.

You can also generate an OpenAPI-compliant descriptor of the REST API to provide API reference documentation specific to your deployment. The following command saves the API descriptor of the managed/user endpoint to a file named `my-openidm-api.json`:

```
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Accept-API-Version: resource=1.0" \
--request GET \
--output "my-openidm-api.json" \
"http://localhost:8080/openidm/managed/user?_api"
```

For information about publishing reference documentation using the API descriptor, refer to [Publish OpenAPI Documentation](../crest/about-crest.html#use-openapi-descriptors).
