> ## 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.

# Get call permission

> Probes whether the business may call ?to=<phone>: permission status (no_permission | temporary | permanent, with expiration_time) plus per-action limits (send_call_permission_request / start_call). Required before a BIC.

**Requires a number-scoped key.**



## OpenAPI

````yaml openapi.json GET /v1/calls/permissions
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/permissions:
    get:
      tags:
        - Calls
      summary: Get call permission
      description: >-
        Probes whether the business may call ?to=<phone>: permission status
        (no_permission | temporary | permanent, with expiration_time) plus
        per-action limits (send_call_permission_request / start_call). Required
        before a BIC.


        **Requires a number-scoped key.**
      operationId: get_calls_permissions
      parameters:
        - name: to
          in: query
          required: true
          description: User phone to probe.
          schema:
            type: string
            description: (string (E.164))
          example: '+5511999999999'
      responses:
        '200':
          description: Probe permission
          content:
            application/json:
              example:
                permission:
                  status: temporary
                  expiration_time: 1768550400
                actions:
                  - action_name: start_call
                    can_perform_action: true
                    limits:
                      - time_period: PT24H
                        max_allowed: 1
                        current_usage: 0
        '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)

````