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

> ## Agent Instructions
> Integrating Pilot Status end to end? Follow https://docs.pilotstatus.com.br/guides/integrate-with-ai.md (pt-BR: https://docs.pilotstatus.com.br/pt-BR/guides/integrate-with-ai.md). No step requires contacting support: every credential is shown in the dashboard or in an API response, and a lost one is regenerated, not recovered.
> Webhook signing secret: shown ONCE in the Signing secret window right after creating the webhook on /webhooks, and in the `secret` field of the POST /v1/webhooks response (MCP: webhooks_create). Lost it: Edit Webhook → Generate a new secret, POST /v1/webhooks/{id}/rotate-secret, or webhooks_rotate_secret (the old one stops working at once). Verify `x-pilot-status-signature` = hex HMAC-SHA256 of the raw request body keyed with that secret.
> Meta verify token (number connected with the user's own Meta app credentials): Meta Number Created! window after connecting, then the number's card on Numbers (workspace Owner), or webhook.verifyToken in the POST /v1/numbers/meta response. It is not the webhook signing secret.
> REST auth: `x-api-key: ps_...` header, never Authorization: Bearer. MCP: https://mcp.pilotstatus.com.br/mcp (148 tools, OAuth 2.1 or x-api-key); Code Mode: https://mcp.pilotstatus.com.br/code. Destructive MCP tools return a preview and a confirm_token: show the preview and call again only after the user's explicit yes. Over OAuth, revealing or creating ps_ API keys is workspace Owner only.

# Obtener tarifas de mensajes

> Tarifa por mensaje publicada de Meta / WhatsApp Business Platform para un solo mercado + moneda + categoría. Datos de referencia globales, NO la facturación real del tenant. Llama sin parámetros para obtener metadatos (mercados, monedas y categorías disponibles). Indica market + currency + category para el precio fijo; agrega tiers=true para los niveles por volumen. `market`/`currency`/`category` no distinguen mayúsculas de minúsculas.

Desde el 2026-10-01, `service` tiene el precio de la tarifa de utility del mercado (nunca 0); un mercado sin tarifa de utility responde 404 `PRICE_NOT_FOUND` para `service`. Cada precio trae `fetchedAt` (cuándo se leyó por última vez la tabla publicada, no una fecha de vigencia) y `source` (`whatsappbusiness.com`, o `developers.facebook.com` para la tabla del 2026-10-01 hasta que la sincronización semanal actualice ese mercado/moneda).

Cualquier credencial válida sirve (clave de número, de workspace o de cuenta, o token OAuth); no se requiere header de número ni rol en el workspace.



## OpenAPI

````yaml openapi.es.json GET /v1/meta/pricing
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: >-
    API REST pública de Pilot Status. Autentícate con el encabezado `x-api-key:
    ps_...` (o `x-api-key-id`). URL base: https://pilotstatus.com.br
servers:
  - url: https://pilotstatus.com.br
security:
  - apiKey: []
  - apiKeyId: []
paths:
  /v1/meta/pricing:
    get:
      tags:
        - Pricing
      summary: Tarifa por mensaje
      description: >-
        Tarifa por mensaje publicada de Meta / WhatsApp Business Platform para
        un solo mercado + moneda + categoría. Datos de referencia globales, NO
        la facturación real del tenant. Llama sin parámetros para obtener
        metadatos (mercados, monedas y categorías disponibles). Indica market +
        currency + category para el precio fijo; agrega tiers=true para los
        niveles por volumen. `market`/`currency`/`category` no distinguen
        mayúsculas de minúsculas.


        Desde el 2026-10-01, `service` tiene el precio de la tarifa de utility
        del mercado (nunca 0); un mercado sin tarifa de utility responde 404
        `PRICE_NOT_FOUND` para `service`. Cada precio trae `fetchedAt` (cuándo
        se leyó por última vez la tabla publicada, no una fecha de vigencia) y
        `source` (`whatsappbusiness.com`, o `developers.facebook.com` para la
        tabla del 2026-10-01 hasta que la sincronización semanal actualice ese
        mercado/moneda).


        Cualquier credencial válida sirve (clave de número, de workspace o de
        cuenta, o token OAuth); no se requiere header de número ni rol en el
        workspace.
      operationId: get_meta_pricing
      parameters:
        - name: market
          in: query
          required: false
          description: >-
            Código de mercado. Códigos: AR Argentina, BR Brasil, CL Chile, CO
            Colombia, EG Egipto, FR Francia, DE Alemania, HK Hong Kong, HU
            Hungría, IN India, ID Indonesia, IL Israel, IT Italia, MY Malasia,
            MX México, NL Países Bajos, NG Nigeria, NAM Norteamérica, PK
            Pakistán, PE Perú, PL Polonia, QA Catar, RO Rumania, RU Rusia, SA
            Arabia Saudita, SG Singapur, ZA Sudáfrica, ES España, TR Turquía, AE
            Emiratos Árabes Unidos, GB Reino Unido, GLO Otros, AFR Resto de
            África, APAC Resto de Asia-Pacífico, CEEU Resto de Europa Central y
            Oriental, LATAM Resto de América Latina, MDE Resto de Medio Oriente,
            WEU Resto de Europa Occidental, BD Bangladés, IQ Irak, KZ
            Kazajistán, KW Kuwait, MA Marruecos, NP Nepal, OM Omán, LK Sri
            Lanka, UA Ucrania.
          schema:
            type: string
            enum:
              - AR
              - BR
              - CL
              - CO
              - EG
              - FR
              - DE
              - HK
              - HU
              - IN
              - ID
              - IL
              - IT
              - MY
              - MX
              - NL
              - NG
              - NAM
              - PK
              - PE
              - PL
              - QA
              - RO
              - RU
              - SA
              - SG
              - ZA
              - ES
              - TR
              - AE
              - GB
              - GLO
              - AFR
              - APAC
              - CEEU
              - LATAM
              - MDE
              - WEU
              - BD
              - IQ
              - KZ
              - KW
              - MA
              - NP
              - OM
              - LK
              - UA
          example: BR
        - name: currency
          in: query
          required: false
          description: Moneda ISO 4217.
          schema:
            type: string
            enum:
              - USD
              - AED
              - ARS
              - AUD
              - BRL
              - CLP
              - COP
              - EUR
              - GBP
              - IDR
              - INR
              - MXN
              - MYR
              - PEN
              - SAR
              - SGD
          example: BRL
        - name: category
          in: query
          required: false
          description: Categoría del mensaje (obligatoria junto con market + currency).
          schema:
            type: string
            enum:
              - marketing
              - utility
              - authentication
              - service
              - authentication_international
          example: authentication
        - name: tiers
          in: query
          required: false
          description: >-
            Incluye en la respuesta los niveles por volumen (precio más bajo con
            mayor volumen mensual). Acepta `true`, `1` o `yes`.
          schema:
            type: boolean
          example: true
      responses:
        '200':
          description: >-
            El precio fijo para market+currency+category, o los metadatos cuando
            se llama sin parámetros.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    title: Precio
                    properties:
                      market:
                        type: string
                      marketName:
                        type: string
                      currency:
                        type: string
                      category:
                        type: string
                        enum:
                          - marketing
                          - utility
                          - authentication
                          - service
                          - authentication_international
                      pricePerMessage:
                        type: number
                        description: >-
                          Precio de lista por mensaje entregado en la moneda
                          solicitada. 0 = gratis (Service).
                      volumeTiers:
                        type: array
                        description: >-
                          Solo presente con tiers=true. Precio más bajo con
                          mayor volumen mensual.
                        items:
                          type: object
                          properties:
                            from:
                              type: integer
                            to:
                              type:
                                - integer
                                - 'null'
                              description: null = nivel superior sin límite
                            pricePerMessage:
                              type: number
                  - type: object
                    title: Metadatos
                    properties:
                      markets:
                        type: array
                        items:
                          type: object
                          properties:
                            code:
                              type: string
                            name:
                              type: string
                      currencies:
                        type: array
                        items:
                          type: string
                      categories:
                        type: array
                        items:
                          type: string
                      source:
                        type: string
              examples:
                price:
                  summary: Flat price
                  value:
                    market: BR
                    marketName: Brazil
                    currency: BRL
                    category: authentication
                    pricePerMessage: 0.035
                price_with_tiers:
                  summary: With ?tiers=1
                  value:
                    market: BR
                    marketName: Brazil
                    currency: BRL
                    category: authentication
                    pricePerMessage: 0.035
                    volumeTiers:
                      - from: 0
                        to: 500000
                        pricePerMessage: 0.035
                      - from: 500001
                        to: null
                        pricePerMessage: 0.0263
                metadata:
                  summary: Metadata (no params)
                  value:
                    markets:
                      - code: BR
                        name: Brazil
                      - code: NAM
                        name: North America
                    currencies:
                      - USD
                      - AED
                      - ARS
                      - AUD
                      - BRL
                      - CLP
                      - COP
                      - EUR
                      - GBP
                      - IDR
                      - INR
                      - MXN
                      - MYR
                      - PEN
                      - SAR
                      - SGD
                    categories:
                      - marketing
                      - utility
                      - authentication
                      - service
                      - authentication_international
                    source: whatsappbusiness.com
        '400':
          description: >-
            MARKET_CURRENCY_CATEGORY_REQUIRED (parámetros parciales),
            INVALID_CATEGORY o WORKSPACE_ID_REQUIRED (clave de cuenta sin
            x-workspace-id).
        '401':
          description: Credencial ausente o inválida.
        '404':
          description: >-
            PRICE_NOT_FOUND: no hay tarifa publicada para ese
            market+currency+category (incluido service en un mercado sin tarifa
            utility).
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Tu API key ps_
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: Id de la API key (alternativa a x-api-key)

````

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