API Keys

Verify credential

Changed on

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.

get/v1/auth/verify

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/auth/verify
  • Auth: HTTP bearer

Response

Credential is valid

validboolean
userIdstring
namestring nullable

Display name of the credential's owner.

emailstring nullable

Email of the credential's owner.

authType'api_key' | 'oauth' | 'session'
scopestring nullable

Granted OAuth scopes, space-separated. Null for API keys.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status