---
title: "Create a new account"
method: POST
path: "/accounts"
---

# Create a new account

`POST /accounts`

Create a new contact with the provided details. Requires a valid Bearer token.

## Request body

- object
  - `companyName` string, required
  - `website` string
  - `industry` string
  - `noOfEmployees` number
  - `description` string
  - `headquarters` string
  - `groupId` string
  - `typeId` string
  - `priorityId` string
  - `labelIds` string[]
  - `dealIds` string[]

## Response `201`

Account created successfully

- object
  - `message` string
  - `accountId` string, uuid

## Other responses

- `401` — Unauthorized
- `500` — Error occurred while creating the account

---

[API](https://skmtc.net/supabase/apis/dalil-oauth-resource-api.md) · [All operations](https://skmtc.net/supabase/apis/dalil-oauth-resource-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/supabase/dalil-oauth-resource-api/revisions/40a7125e0355/schema)
