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

# Set forwarding

> Update call forwarding for a number.

This endpoint lets you enable or update call forwarding for one of your Sendo numbers. All inbound phone calls will be forwarded to the phone number that you specify. [Click here](/knowledge-base/voice) for more details.

### Parameters

<ParamField path="number" type="string" required>
  Phone number to update (with country code) e.g. `14157271367`
</ParamField>

### Body

<ParamField body="forwardNumber" type="string" required>
  The number for call forwarding or `null` to disable.
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Whether the number was updated successfully.
</ResponseField>

<ResponseField name="phoneNumber" type="string">
  The Sendo phone number in E.164 format.
</ResponseField>

<ResponseField name="forwardNumber" type="string">
  The number for call forwarding in E.164 format.
</ResponseField>

<ResponseField name="forwardEnabled" type="boolean">
  Whether call forwarding is enabled.
</ResponseField>

<ResponseExample>
  ```json Success theme={null}
  {
    "success": true,
    "phoneNumber": "+14157271367",
    "forwardNumber": "+12345678901",
    "forwardEnabled": true
  }
  ```

  ```json Error theme={null}
  {
    "success": false,
    "error": "Invalid number format"
  }
  ```
</ResponseExample>
