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

# Contact Opt-Out

Opt a contact out of receiving messages.

<ParamField path="contact_id" type="string" required>
  Contact ID
</ParamField>

<ParamField body="reason" type="string">
  Reason for opting out
</ParamField>

## Request Example

<RequestExample>
  ```json theme={null}
  {
    "reason": "No longer interested"
  }
  ```
</RequestExample>

## Success Response (200)

<ResponseField name="success" type="boolean">
  Operation success status
</ResponseField>

<ResponseField name="message" type="string">
  Success message
</ResponseField>

<ResponseField name="opt_out_at" type="string">
  Timestamp of opt-out
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "Contact opted out successfully",
    "opt_out_at": "2025-11-27T10:30:00Z"
  }
  ```
</ResponseExample>
