---
title: "Create a user"
method: POST
path: "/users"
tags: ["Users"]
---

# Create a user

`POST /users`

## Request

- Base URL: `https://api.livestorm.co/v1`
- URL: `https://api.livestorm.co/v1/users`
- Auth: one of:
  - API key in header `Authorization`
  - OAuth 2
    - Authorization code: `https://app.livestorm.co/oauth/authorize`
    - Token URL: `https://app.livestorm.co/oauth/token`

Create a new team member user.

## Request body

- object
  - `data` object
    - `type` string
    - `attributes` object
      - `email` string
      - `role` 'host' | 'moderator'

## Response `201`

Created

- object
  - `data` object, required: Data
    - `id` string: ID
    - `type` string: Type
    - `attributes` object: Attributes
      - `role` string
      - `created_at` integer
      - `updated_at` integer
      - `timezone` string
      - `first_name` string
      - `last_name` string
      - `email` string
      - `avatar_link` string
      - `locale` string
      - `pending_invite` boolean
      - `website_link` string
      - `linkedin_link` string
      - `facebook_link` string
      - `twitter_handle` string

## Other responses

- `400`: Bad request, role is required
- `401`: Authentication failed
- `403`: Workspace blocked
- `422`: Unprocessable entity, max limit reached
- `429`: Too Many Requests

---

[API](https://skmtc.dev/livestorm/apis/livestorm-public-api.md) - [All operations](https://skmtc.dev/livestorm/apis/livestorm-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/livestorm/apis/livestorm-public-api/revisions/9292f597e878?raw)
