---
title: "Register a user"
method: POST
path: "/support/users"
tags: ["Registration Support"]
---

# Register a user

`POST /support/users`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/support/users`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Register a user with the given details

## Request body

- RegisterUserPostSchema: Details of the user to be registered
  - `email` string, email, required: Email of the customer
  - `first_name` string, required: First Name of the user to register
  - `last_name` string, required: Last Name of the user to register
  - `verified` boolean, required: Verified status of the user
  - `is_registration` boolean, nullable: Is post request from registration

## Response `200`

Successful patch

- RegisterResponseSchema
  - `user_id` integer, required: ID of the user
  - `verified` boolean, required: Verified status of the user

## Other responses

- `201`: Document created, URL follows
- `400`: Bad Request
- `401`: Authorization error

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
