---
title: "Verify email and password"
method: POST
path: "/api/auth/verify-credentials"
tags: ["Auth - End User"]
---

# Verify email and password

`POST /api/auth/verify-credentials`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/auth/verify-credentials`
- Auth: none declared

Checks end-user credentials without creating a session. Used by SDK auth runtimes before session issuance.

## Request body

- VerifyCredentialsRequest
  - `publicKey` string, required: Environment public key for the project the user belongs to.
  - `email` string, email, required: User email address.
  - `password` string, required: Plain-text password to verify.

## Response `200`

Successful Response

- ApiResponse
  - `data` unknown
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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