---
title: /oauth2/tokeninfo (Legacy)
description: Advanced Identity Cloud exposes the legacy /oauth2/tokeninfo endpoint.
component: pingoneaic
page_id: pingoneaic:am-oauth2:legacy-oauth2-endpoints
canonical_url: https://docs.pingidentity.com/pingoneaic/am-oauth2/legacy-oauth2-endpoints.html
keywords: ["OAuth 2.0", "Endpoints", "Administration"]
page_aliases: ["oauth2-guide:legacy-oauth2-endpoints.adoc"]
---

# /oauth2/tokeninfo (Legacy)

Advanced Identity Cloud exposes the legacy `/oauth2/tokeninfo` endpoint.

|   |                                                                                                                        |
| - | ---------------------------------------------------------------------------------------------------------------------- |
|   | Use this endpoint only when you can't use the standard [/oauth2/introspect](oauth2-introspect-endpoint.html) endpoint. |

Use this endpoint to validate tokens and retrieve token metadata to determine how to respond to requests for protected resources.

To inspect the contents of the token, send an HTTP GET request to:

```none
https://<tenant-env-fqdn>/am/oauth2/realms/root/realms/realm/tokeninfo
```

Use the token as a bearer token in an authorization header; for example, `Authorization: Bearer <access-token>`.
