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

# Create a contact

`POST /contacts`

## Request

- Base URL: `https://there-there.app/api`
- URL: `https://there-there.app/api/contacts`
- Auth: HTTP bearer

## Headers

- `X-Workspace-Id` integer

## Request body

- object
  - `email` string, email, required
  - `name` string, nullable
  - `notes` string, nullable

## Response `201`

Contact created

- object
  - `data` Contact
    - `id` integer
    - `ulid` string
    - `name` string, nullable
    - `email` string, email
    - `avatar_url` string, nullable
    - `company` ContactCompany
      - `ulid` string
      - `name` string
      - `domain` string, nullable
    - `ticket_count` integer, nullable
    - `last_activity_at` string, date-time, nullable
    - `notes` string, nullable

---

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