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

# Update calling settings

> PARTIAL update of the calling object: status, call_icon_visibility, callback_permission_status, call_hours, and voicemail (sip is rejected). Note: call_hours REPLACES the stored object entirely (Meta semantics). Numbers with a messaging tier < 2,000/day cannot enable it (Meta 138015).

**Requires a number-scoped key.**



## OpenAPI

````yaml openapi.json PUT /v1/calls/settings
openapi: 3.1.0
info:
  title: Pilot Status API
  version: 1.0.0
  license:
    name: Pilot Status Terms of Service
    url: https://pilotstatus.com.br/terms
  description: >-
    Public REST API for Pilot Status. Authenticate with the `x-api-key: ps_...`
    header (or `x-api-key-id`). Base URL: https://pilotstatus.com.br
servers:
  - url: https://pilotstatus.com.br
security:
  - apiKey: []
  - apiKeyId: []
paths:
  /v1/calls/settings:
    put:
      tags:
        - Calls
      summary: Update calling settings
      description: >-
        PARTIAL update of the calling object: status, call_icon_visibility,
        callback_permission_status, call_hours, and voicemail (sip is rejected).
        Note: call_hours REPLACES the stored object entirely (Meta semantics).
        Numbers with a messaging tier < 2,000/day cannot enable it (Meta
        138015).


        **Requires a number-scoped key.**
      operationId: put_calls_settings
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  description: Enable/disable calling on the number.
                  example: ENABLED
                call_icon_visibility:
                  type: string
                  description: Visibility of the call icon in the user's WhatsApp.
                  example: DEFAULT
                callback_permission_status:
                  type: string
                  description: Lets the user ask the business to call back.
                  example: ENABLED
                call_hours:
                  type: object
                  description: Calling hours window (REPLACES the whole object).
            example:
              status: ENABLED
      responses:
        '200':
          description: Enable calling
          content:
            application/json:
              example:
                success: true
        '400':
          description: Invalid payload or parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Validation error
        '401':
          description: Missing or invalid `x-api-key` / `x-api-key-id` header
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Unauthorized
        '403':
          description: Tenant-scoped key used on a number-scoped endpoint
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Tenant-scoped keys cannot call number endpoints
                code: TENANT_SCOPE_NOT_ALLOWED
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Too many requests
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your ps_ API key
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: API key id (alternative to x-api-key)

````