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

# Status do pareamento remoto

> Sincroniza e retorna o estado de conexão do número do token (faz polling até OPEN). Quando conectado, o token de uso único é limpo. Endpoint público por token; não exige API key.



## OpenAPI

````yaml openapi.pt.json GET /v1/remote-pairing/{token}/status
openapi: 3.1.0
info:
  title: API Pilot Status
  version: 1.0.0
  license:
    name: Pilot Status Terms of Service
    url: https://pilotstatus.com.br/terms
  description: >-
    API REST pública do Pilot Status. Autentique com o header `x-api-key:
    ps_...` (ou `x-api-key-id`). Base URL: https://pilotstatus.com.br
servers:
  - url: https://pilotstatus.com.br
security:
  - apiKey: []
  - apiKeyId: []
paths:
  /v1/remote-pairing/{token}/status:
    get:
      tags:
        - Remote Pairing
      summary: Status do pareamento remoto
      description: >-
        Sincroniza e retorna o estado de conexão do número do token (faz polling
        até OPEN). Quando conectado, o token de uso único é limpo. Endpoint
        público por token; não exige API key.
      operationId: get_remote-pairing_token_status
      parameters:
        - name: token
          in: path
          required: true
          description: Token de pareamento remoto.
          schema:
            type: string
          example: rp_01HZX...
      responses:
        '200':
          description: Status do token
          content:
            application/json:
              example:
                state: OPEN
                isFullyConnected: true
        '400':
          description: Payload ou parâmetros inválidos
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Validation error
        '401':
          description: Header `x-api-key` / `x-api-key-id` ausente ou inválido
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Unauthorized
        '429':
          description: Limite de taxa excedido
          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: Sua chave de API ps_
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: Id da chave de API (alternativa ao x-api-key)

````