# List contact fields

`GET https://hiremav.com/api/v3/agents/{agent_id}/contact_fields`

Returns the fields this agent reads on a new contact, so you can build the right form. A home insurance agent takes home fields, like `roof_type`. Every other agent takes auto fields, like `vehicle_1_make`. `phone` is the only one required. The example shows four of them.

## Parameters

- `agent_id` (string, path, required): The agent’s `id`, like `nag_5Jt7mNcX2bRd8Q`.

## Request

```sh
curl https://hiremav.com/api/v3/agents/nag_5Jt7mNcX2bRd8Q/contact_fields \
  -H "Authorization: Bearer $MAV_API_KEY"
```

## Response: 200 OK

```json
{
  "contact_fields": [
    {
      "name": "phone",
      "label": "Phone",
      "description": "The lead's phone number",
      "group": "Personal",
      "type": "string",
      "required": true
    },
    {
      "name": "first_name",
      "label": "First Name",
      "description": "The lead's given name",
      "group": "Personal",
      "type": "string",
      "required": false
    },
    {
      "name": "vehicle_1_make",
      "label": "Vehicle 1 Make",
      "description": "Make of the lead's first vehicle",
      "group": "Vehicle 1",
      "type": "string",
      "required": false
    },
    {
      "name": "sms_consent",
      "label": "SMS Consent",
      "description": "Whether the lead agreed to be texted. Defaults to true when the field is absent",
      "group": "TCPA",
      "type": "boolean",
      "required": false
    }
  ]
}
```
