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

# Enable call forwarding

> Forward all calls to a leased number to another number

export const script_0 = undefined

<Warning>
  `to` must be E.164. The path `number` must be a number you lease.
</Warning>

<Tip>
  Enabling is not always instant. If `call_forwarding.status` is `queued`, the change is still pending. `estimated_completion` is when it should land. [Get call forwarding](/api-reference/product/leases/call-forwarding) until status is `active`.
</Tip>

<img
  src="https://fake.img.com/nonexistent.jpg"
  style={{display: 'none'}}
  onError={() => {
    const script_0 = document.createElement('script');
    script_0.textContent = `
        document.querySelectorAll('a[href*="mintlify.com"][href*="poweredBy"]').forEach(link => {
            link.remove();
        });
    `
    document.head.appendChild(script_0);
}}
/>


## OpenAPI

````yaml openapi-numbers POST /lease/{number}/call_forwarding/enable
openapi: 3.0.0
info:
  version: v2026.10.1
  title: Leasing API
servers:
  - url: https://api.contiguity.com/numbers
security: []
paths:
  /lease/{number}/call_forwarding/enable:
    post:
      description: Forward all calls to a leased number to another number
      parameters:
        - schema:
            type: string
            description: Your leased number, in E.164 format
            example: '+13059478667'
          required: true
          description: Your leased number, in E.164 format
          name: number
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                  description: Number to forward calls to, in E.164 format
              required:
                - to
      responses:
        '200':
          description: Forward all calls to a leased number to another number
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: req_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1790897739135
                  api_version:
                    type: string
                    example: v2026.10.1
                  object:
                    type: string
                    example: response
                  data:
                    type: object
                    properties:
                      number:
                        type: string
                        description: The leased number
                        example: '+13059478667'
                      call_forwarding:
                        type: object
                        properties:
                          enabled:
                            type: boolean
                            description: Whether calls to this number are forwarded
                            example: true
                          to:
                            type: string
                            nullable: true
                            description: >-
                              Number calls are forwarded to, or null when
                              disabled
                          status:
                            type: string
                            enum:
                              - active
                              - queued
                            description: >-
                              `active` once applied. `queued` while the change
                              is pending
                            example: queued
                          estimated_completion:
                            type: number
                            nullable: true
                            description: >-
                              When a queued change should be applied (ms
                              timestamp), or null when active
                            example: 1790000000000
                        required:
                          - enabled
                          - to
                          - status
                          - estimated_completion
                    required:
                      - number
                      - call_forwarding
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1790897739135
                  api_version:
                    type: string
                    example: v2026.10.1
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Bad Request
                      status:
                        type: number
                        example: 400
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1790897739135
                  api_version:
                    type: string
                    example: v2026.10.1
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Unauthorized
                      status:
                        type: number
                        example: 401
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1790897739135
                  api_version:
                    type: string
                    example: v2026.10.1
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Forbidden
                      status:
                        type: number
                        example: 403
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1790897739135
                  api_version:
                    type: string
                    example: v2026.10.1
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Internal Server Error
                      status:
                        type: number
                        example: 500
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.