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

# Create a contact

`POST /contacts`

## Request

- Base URL: `https://www.sagaris.ai/api/v1`
- URL: `https://www.sagaris.ai/api/v1/contacts`
- Auth: HTTP bearer

Create a contact in the key's workspace. At least one of email, first_name, or last_name is required. The row is stamped source=public_api. Requires the contacts.write scope.

## Headers

- `Idempotency-Key` string

## Request body

- object: At least one of email, first_name, or last_name is required.
  - `email` string, nullable
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `company` string, nullable
  - `job_title` string, nullable
  - `phone` string, nullable
  - `linkedin_url` string, nullable
  - `website` string, nullable

## Response `201`

The created contact.

- ContactEnvelope
  - `data` Contact, required: The public contact projection returned by list and create.
    - `id` string
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `company` string, nullable
    - `job_title` string, nullable
    - `phone` string, nullable
    - `linkedin_url` string, nullable
    - `website` string, nullable
    - `lifecycle` string, nullable
    - `source` string, nullable
    - `tags` string[], nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `error` unknown, required

## Other responses

- `400`: Invalid JSON body or field validation failure.
- `401`: Missing, malformed, invalid, revoked, or expired API key.
- `403`: The key does not hold the required scope for this operation.
- `429`: Per-key write rate limit exceeded (60 requests / 60s).
- `500`: Insert failure.
- `503`: The database / API-keys table is not provisioned.

---

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