> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recepta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Contacts

> Create, read, update, and delete contact records.

Base path: `https://api.recepta.ai/api/v1/api/contacts`

All endpoints require an [API key](https://docs.recepta.ai/api-reference/authentication.md) in `x-api-key`, and the permission noted on each.

## List contacts

**GET /api/v1/api/contacts** `contacts:read` *required*

| Query param | Type | Default | Notes |
| - | - | - | - |
| `page` | integer | `1` | Page number |
| `limit` | integer | `50` | Items per page |
| `search` | string | — | Matches name, email, or phone |
| `source` | enum | — | `MANUAL`, `FACEBOOK`, `CSV`, `API`, `CALL` |
| `status` | string | — | Filter by status |
| `tags` | string | — | Filter by tag |

```bash theme={null}
curl "https://api.recepta.ai/api/v1/api/contacts?source=FACEBOOK&limit=50" \
  -H "x-api-key: $RECEPTA_API_KEY"
```

## Get a contact

**GET /api/v1/api/contacts/\{clientId}** `contacts:read` *required*

Returns `404` if the contact isn't in your workspace.

## Create a contact

**POST /api/v1/api/contacts** `contacts:create` *required*

**firstName** `string`

**lastName** `string`

**fullName** `string`

Use instead of first and last name where you only have a single field.

**email** `string`

**phone** `string`

Normalized to E.164 automatically, so mixed input formats are accepted.

**source** `enum` (default: API)

One of `MANUAL`, `FACEBOOK`, `CSV`, `API`, `CALL`.

**tags** `string[]`

How you segment for [campaigns](https://docs.recepta.ai/outbound/campaigns.md). Tag on creation — retrofitting tags later is painful.

**status** `string`

**notes** `string`

**company\_name** `string`

**address** `string`

**city** `string`

**state** `string`

**zipCode** `string`

**country** `string`

**customFields** `object`

Anything specific to your business — equipment model, plan tier, gate code. Usable for personalization in [sequences](https://docs.recepta.ai/outbound/sequences.md).

```bash theme={null}
curl -X POST https://api.recepta.ai/api/v1/api/contacts \
  -H "x-api-key: $RECEPTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Dana",
    "lastName": "Reyes",
    "phone": "+14155551234",
    "email": "dana@example.com",
    "source": "API",
    "tags": ["quotes-q3"],
    "customFields": { "unitModel": "AO-50G" }
  }'
```

Returns `201` on success.

## Update a contact

**PUT /api/v1/api/contacts/\{clientId}** `contacts:update` *required*

Accepts the same fields as create.

```bash theme={null}
curl -X PUT https://api.recepta.ai/api/v1/api/contacts/CONTACT_ID \
  -H "x-api-key: $RECEPTA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "status": "booked", "tags": ["quotes-q3", "won"] }'
```

## Delete a contact

**DELETE /api/v1/api/contacts/\{clientId}** `contacts:delete` *required*

> [!WARNING]
>
> Deletion is permanent. Deleting a contact does **not** clear a suppression — someone who opted out of SMS or email stays suppressed, which is the intended behavior. Re-creating them will not re-enable messaging.

## Keeping systems in sync

Subscribe to `contact.created` and `contact.updated` rather than polling this endpoint. See [Webhooks](https://docs.recepta.ai/api-reference/webhooks.md).

> [!TIP]
>
> Before bulk-creating contacts, check whether [CSV import](https://docs.recepta.ai/outbound/contacts.md) or a native [CRM integration](https://docs.recepta.ai/integrations/overview.md) does the job. Both handle deduplication and mapping you'd otherwise write yourself.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.