# Opt out a contact

`POST https://hiremav.com/api/v3/contacts/{contact_id}/opt_out`

Opts the contact out, the same as the button on the contact’s page, and adds their phone number to your blocked numbers. Mav ends its open conversation with them and stops texting and calling. Mav sends no confirmation text, because the contact didn’t ask by text.

## Parameters

- `contact_id` (string, path, required): The contact’s `id`, from Find a contact.

## Request

```sh
curl -X POST https://hiremav.com/api/v3/contacts/nct_7Hq2xKpR9vLm3N/opt_out \
  -H "Authorization: Bearer $MAV_API_KEY"
```

## Response: 200 OK

```json
{
  "contact": {
    "id": "nct_7Hq2xKpR9vLm3N",
    "first_name": "Jordan",
    "last_name": "Rivera",
    "email": "jordan.rivera@example.com",
    "phone": "+13125550142",
    "opted_out": true,
    "created_at": "2026-10-06T16:42:18Z",
    "additional_info": {
      "current_carrier": "Example Mutual",
      "vehicles": [
        {
          "make": "Toyota"
        }
      ],
      "source": "API"
    },
    "referral": {}
  },
  "messages": [
    "Contact opted out.",
    "+13125550142 added to your blocked numbers."
  ]
}
```

> Safe to retry. `messages` says what Mav did. For a contact who already opted out it says `Contact was already opted out.`
