---
title: "Signup"
method: POST
path: "/api/v1/signup"
tags: ["Chat"]
---

# Signup

`POST /api/v1/signup`

## Request

- Base URL: `https://backend.caspr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.caspr.ai/api/v1/signup`
- Auth: none declared

User signup endpoint

## Query parameters

- `chat_id` string, nullable

## Request body

- SignupRequest
  - `name` string, required
  - `email` string, email, required
  - `phone_country_code` string, required
  - `phone` string, required
  - `password` string, required
  - `referral_code` string, nullable: Referral code (optional)

## Response `200`

Successful Response

- SignupResponse
  - `success` boolean
  - `message` string

## Other responses

- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/caspr/apis/casper-api.md) - [All operations](https://skmtc.dev/caspr/apis/casper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caspr/apis/casper-api/revisions/f9765e3aa00c?raw)
