---
title: "Register User"
method: POST
path: "/v1/auth/register"
tags: ["Authentication & API Keys"]
---

# Register User

`POST /v1/auth/register`

## Request

- Base URL: `https://api.vectelos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vectelos.com/v1/auth/register`
- Auth: none declared

## Request body

- RegisterRequest
  - `email` string, email, required
  - `password` string, required: User password (min 12 characters)
  - `attribution` Attribution: Where a sign-up came from. Sent by the portal, forwarded from the landing page's `.vectelos.com` cookie / URL params. The API treats every field as opaque analytics input — it is never used for authorisation. See `GTM_plan.md` §4.3.
    - `utm_source` string, nullable
    - `utm_medium` string, nullable
    - `utm_campaign` string, nullable
    - `utm_content` string, nullable
    - `utm_term` string, nullable
    - `gclid` string, nullable
    - `landing_path` string, nullable
    - `consent` string, nullable

## Response `201`

Successful Response

- AuthResponse
  - `user_id` string, required
  - `email` string, required
  - `plan` string, required
  - `credits` integer, required
  - `access_token` string, required
  - `token_type` string

## Other responses

- `422`: Validation Error

---

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