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

# Telefones por CPF

> Retorna todos os telefones associados ao CPF.



## OpenAPI

````yaml /openapi/pessoas.json get /telefones/cpf/{cpf}
openapi: 3.0.0
info:
  title: Sherlocker Pessoas API
  description: >-
    Perfil completo de uma pessoa: identidade, localizacao, contatos, rede
    familiar, beneficios, dividas, patrimonio, processos e historico
    profissional. Ponto de entrada principal para investigacoes a partir de CPF
    ou telefone.
  version: '2.0'
servers:
  - url: https://221b-api.sherlocker.com.br/api/v1
security:
  - tokenAuth: []
paths:
  /telefones/cpf/{cpf}:
    get:
      tags:
        - Telefones
      summary: Telefones por CPF
      description: Retorna todos os telefones associados ao CPF.
      operationId: getTelefonesByCpf
      parameters:
        - name: cpf
          in: path
          required: true
          description: CPF (11 digitos)
          schema:
            type: string
            example: '12345678901'
        - name: limit
          in: query
          required: false
          description: Maximo de registros retornados (max 200, padrao 50)
          schema:
            type: integer
            default: 50
            maximum: 200
            example: 50
        - name: offset
          in: query
          required: false
          description: Numero de registros a pular (padrao 0)
          schema:
            type: integer
            default: 0
            example: 0
      responses:
        '200':
          description: Lista de telefones
          content:
            application/json:
              schema:
                type: object
                properties:
                  documento:
                    type: string
                    description: CPF formatado
                    example: 123.456.789-01
                  tipo_documento:
                    type: string
                    enum:
                      - CPF
                    example: CPF
                  telefones:
                    type: array
                    items:
                      type: object
                      properties:
                        ddi:
                          type: string
                          example: '55'
                        ddd:
                          type: string
                          example: '11'
                        numero:
                          type: string
                          example: '999998888'
                        numero_completo:
                          type: string
                          example: '5511999998888'
                        estado:
                          type: string
                          example: São Paulo
                        operadora:
                          type: string
                          example: Vivo
                        data:
                          type: string
                          nullable: true
                          description: Data de referencia (YYYY-MM-DD) ou null
                          example: null
              example:
                documento: 123.456.789-01
                tipo_documento: CPF
                telefones:
                  - ddi: '55'
                    ddd: '11'
                    numero: '999998888'
                    numero_completo: '5511999998888'
                    estado: São Paulo
                    operadora: Vivo
                    data: null
        '400':
          description: Parametro invalido
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Token ausente ou invalido
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        erro:
          type: object
          properties:
            codigo:
              type: string
              description: 'Codigo do erro (ex: VALIDATION_ERROR, NOT_FOUND, UNAUTHORIZED)'
              example: VALIDATION_ERROR
            mensagem:
              type: string
              description: Mensagem descritiva do erro
              example: CPF invalido
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: query
      name: token

````