---
title: "Validate an access code before registration"
method: POST
path: "/api/access-codes/validate"
tags: ["Access Codes"]
---

# Validate an access code before registration

`POST /api/access-codes/validate`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/access-codes/validate`
- Auth: none declared

## Request body

- ValidateCodeDto
  - `code` string, required

## Response `200`

- unknown

## Other responses

- `400`: Invalid or expired code

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
