> Markdown version of https://authpi.com/docs/reference/idp-api/api-keys/ — fetch the complete AuthPI docs index at https://authpi.com/llms.txt to discover all available pages.

# API Keys — AuthPI Identity Provider API

## GET /{issuer_id}/keyinfo

**Get API Key Info**

Get API key info using the key's credentials. This endpoint is used to verify the API key and get the key's metadata. It is a custom endpoint that is not part of the OpenID Connect specification.

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `issuer_id` | string | Required | Issuer ID |

### Responses

| Code | Description | Schema |
| --- | --- | --- |
| 400 | **Bad Request** - The request is malformed or missing required parameters. | `OAuthError` |
| 401 | **Unauthorized** - Authentication is required or has failed. | `OAuthError` |
| 403 | **Forbidden** - The authenticated client or user lacks permission for this operation. | `OAuthError` |
| 404 | **Not Found** - The requested resource does not exist. | `OAuthError` |
| 422 | **Unprocessable Entity** - The request syntax is correct but the data cannot be processed. | `OAuthError` |
| 429 | **Too Many Requests** - Rate limit exceeded. | `OAuthError` |
| 500 | **Internal Server Error** - An unexpected error occurred. | `OAuthError` |
