---
title: "Confirm email verification"
description: "Confirm an email verification using the OOB code from the verification email.\n\nThe caller receives the OOB code via the deep-link URL in the verification\nemail sent by ``POST /send-verification`` (custom Resend template). This is\nthe server-side equivalent of the Firebase client SDK's ``applyActionCode`` —\nclients no longer talk to Firebase directly."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Auth API › Auth

`POST /auth/verify-email`

Confirm an email verification using the OOB code from the verification email.

The caller receives the OOB code via the deep-link URL in the verification
email sent by ``POST /send-verification`` (custom Resend template). This is
the server-side equivalent of the Firebase client SDK's ``applyActionCode`` —
clients no longer talk to Firebase directly.

## Request body

_Required._

- `oob_code` (`verify_email_auth_verify_email_post.oob_code`; string, required)
- `tenant_id` (`verify_email_auth_verify_email_post.tenant_id`; any of, optional)
  - any of: `string`, `null`

## Example request

```json
{
  "oob_code": "string",
  "tenant_id": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://truememory-auth.mvstg.com/auth/verify-email \
  --header 'Content-Type: application/json' \
  --data '
{
  "oob_code": "string",
  "tenant_id": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://truememory-auth.mvstg.com/auth/verify-email';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({oob_code: 'string', tenant_id: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-auth.mvstg.com/auth/verify-email"

payload = {
    "oob_code": "string",
    "tenant_id": "string"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "status": "ok"
}
```

- `status` (`verify_email_auth_verify_email_post.response.200.status`; string, optional)
  - default `"ok"`

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`verify_email_auth_verify_email_post.response.422.detail`; array<object>, optional)
  - `loc` (`verify_email_auth_verify_email_post.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`verify_email_auth_verify_email_post.response.422.detail.msg`; string, required)
  - `type` (`verify_email_auth_verify_email_post.response.422.detail.type`; string, required)
  - `input` (`verify_email_auth_verify_email_post.response.422.detail.input`; unknown, optional)
  - `ctx` (`verify_email_auth_verify_email_post.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/auth/verify-email/index.md
