# Create a contact

`POST https://hiremav.com/api/v3/contacts`

Sends a contact to an agent, the way a lead source does. Mav saves the contact and the agent starts texting or calling them. If your account already has a contact with that phone number, Mav uses that contact and answers **200 OK** instead.

## Parameters

- `agent_id` (string, required): The agent that works the contact, from List agents.
- `contact` (object, required): The contact’s fields. List contact fields names the ones this agent reads, like `first_name`, `email` or `vehicle_1_make`. A field Mav doesn’t use is kept in `additional_info` under its own name.
- `contact.phone` (string, required): The contact’s phone number, like `+13125550142` or `(312) 555-0142`.

## Request

```sh
curl -X POST https://hiremav.com/api/v3/contacts \
  -H "Authorization: Bearer $MAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent_id": "nag_5Jt7mNcX2bRd8Q",
    "contact": {
      "phone": "+13125550142",
      "first_name": "Jordan",
      "last_name": "Rivera",
      "email": "jordan.rivera@example.com",
      "vehicle_1_make": "Toyota"
    }
  }'
```

## Response: 201 Created

```json
{
  "contact": {
    "id": "nct_7Hq2xKpR9vLm3N",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "email": "jordan.rivera@example.com",
    "phone": "+13125550142",
    "opted_out": false,
    "created_at": "2026-10-06T16:42:18Z",
    "additional_info": {
      "current_carrier": "Example Mutual",
      "vehicles": [
        {
          "make": "Toyota"
        }
      ],
      "source": "API"
    },
    "referral": {}
  },
  "engagement": {
    "id": "neg_3Fv8kQz1WpLc6R",
    "agent_id": "nag_5Jt7mNcX2bRd8Q",
    "status": "pending_validation"
  }
}
```

## Response: 422 Unprocessable Content

```json
{
  "errors": [
    "Contact has opted out."
  ]
}
```

## Response: 422 Unprocessable Content

```json
{
  "errors": [
    "Phone is not a valid phone number."
  ]
}
```

> `engagement` is the conversation Mav started. Its `id` is the `activity.next_engagement_id` on every webhook about it. Mav checks a new conversation before the first text or call, so it starts as `pending_validation`.
