---
title: "Create contact"
method: POST
path: "/contacts"
tags: ["Contacts"]
---

# Create contact

`POST /contacts`

## Request

- Base URL: `https://app.buildworkpro.com/api/v1`
- URL: `https://app.buildworkpro.com/api/v1/contacts`
- Auth: HTTP bearer

Creates a new contact.

## Headers

- `Idempotency-Key` string, uuid

## Request body

- CreateContact
  - `firstName` string
  - `lastName` string
  - `companyName` string
  - `position` string, nullable
  - `parentContactId` integer, nullable
  - `email` string, email, nullable
  - `phone` string, nullable
  - `mobile` string, nullable
  - `website` string, nullable
  - `notes` string, nullable
  - `type` 'customer' | 'general_contractor' | 'architect' | 'city' | 'hoa' | 'vendor' | 'subcontractor' | 'supplier' | 'employee' | 'partner' | 'other', required

## Response `201`

Created

- object
  - `data` Contact, required
    - `id` integer, required
    - `firstName` string, nullable, required
    - `lastName` string, nullable, required
    - `companyName` string, nullable, required
    - `email` string, email, nullable, required
    - `phone` string, nullable, required
    - `type` string, required
    - `createdAt` union, required
      - string, date-time
      - string
    - `updatedAt` union, required
      - string, date-time
      - string
  - `meta` ResponseMeta, required
    - `request_id` string: Server-generated request identifier
    - `pagination` PaginationMeta
      - `cursor` string, nullable, required: Opaque cursor for the next page; null when no more results
      - `has_more` boolean, required: Whether more pages are available after this one
      - `count` integer, required: Items in this page

## Other responses

- `422`: Validation failed

---

[API](https://skmtc.dev/buildworkpro/apis/buildworkpro-api.md) · [All operations](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/buildworkpro/apis/buildworkpro-api/revisions/441cf40012f7?raw)
