---
title: "Create a new contact"
method: POST
path: "/contacts"
---

# Create a new contact

`POST /contacts`

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

## Request body

- object
  - `firstName` string, required — The first name of the contact
  - `lastName` string — The last name of the contact
  - `accountId` string — The account Id of the contact
  - `email` string, email — Email address of the contact
  - `phone` string — Phone number of the contact
  - `title` string — Job title of the contact
  - `comments` string — Comment about the contact
  - `groupId` string
  - `typeId` string
  - `priorityId` string
  - `dealIds` string[]

## Response `201`

Contact created successfully

- object
  - `message` string
  - `contactId` string, uuid

## Other responses

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

---

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