---
title: "Verify a new user account"
method: POST
path: "/api/accounts/verify-registration/"
tags: ["accounts"]
---

# Verify a new user account

`POST /api/accounts/verify-registration/`

## Request

- Base URL: `https://docs.blindinsight.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.blindinsight.io/api/accounts/verify-registration/`
- Auth: one of:
  - API key in cookie `sessionid`
  - HTTP basic
  - HTTP bearer
  - none
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/accounts/verify-registration/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint verifies a new user with their user ID, a timestamp, and a signature. These values must come from the received verification email.

The response will be a detail message indicating if the verification was successful.

**On the command line:**

```bash
blind accounts verify-registration --data registration.json
```

## Request body

- VerifyRegistration
  - `user_id` string, required
  - `timestamp` integer, required
  - `signature` string, required

## Response `200`

- AccountVerified
  - `detail` string

## Other responses

- `400`

---

[API](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api.md) - [All operations](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/revisions/0ac902401cea?raw)
