---
title: "Create an account"
method: POST
path: "/accounts"
tags: ["accounts"]
---

# Create an account

`POST /accounts`

## Request

- Base URL: `https://api.waymark.com/v1`
- URL: `https://api.waymark.com/v1/accounts`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `Authorization`

## Request body

- AccountCreationRequest
  - `email` string, email
  - `externalId` string
  - `firstName` string
  - `lastName` string
  - `companyName` string
  - `phone` string
  - `city` string
  - `state` string
  - `accountGroups` string[]

## Response `201`

Account created

- Account
  - `accountGuid` string, uuid, required
  - `email` string, required
  - `externalId` string
  - `firstName` string
  - `lastName` string
  - `status` 'ACTIVE' | 'INACTIVE' | 'PENDING_PASSWORD_SETUP', required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Bad request
- `409`: Duplicate request
- `500`: Internal server error

---

[API](https://skmtc.dev/waymark/apis/waymark-api-v1.md) - [All operations](https://skmtc.dev/waymark/apis/waymark-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/waymark/apis/waymark-api-v1/revisions/0b315115f107?raw)
