---
title: "Verify credential"
method: GET
path: "/v1/auth/verify"
tags: ["API Keys"]
---

# Verify credential

`GET /v1/auth/verify`

Checks whether the bearer credential on this request is valid, without reading any data. Accepts an API key or an OAuth access token. Intended for clients that must validate a credential before use (for example an MCP server verifying an incoming token) so they do not have to call a data endpoint to do it.

## Response `200`

Credential is valid

- object
  - `valid` boolean
  - `userId` string
  - `name` string, nullable — Display name of the credential's owner.
  - `email` string, nullable — Email of the credential's owner.
  - `authType` 'api_key' | 'oauth' | 'session'
  - `scope` string, nullable — Granted OAuth scopes, space-separated. Null for API keys.

## Other responses

- `401` — Unauthorized

## Changes

- **2026-09-18** `eded32b62823` — 2 info
  - added the optional property `email` to the response with the `200` status
  - added the optional property `name` to the response with the `200` status

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/auth/verify/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/eded32b62823?raw)
