---
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
  - `authType` 'api_key' | 'oauth' | 'session'
  - `scope` string, nullable — Granted OAuth scopes, space-separated. Null for API keys.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
