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

# Detalhar cliente

> Inclui tags, endereços e aliases de contato.



## OpenAPI

````yaml /api-reference/openapi.yaml get /client/{id}
openapi: 3.0.3
info:
  title: Nupapia API — Integração
  version: '1.0'
  description: >
    Referência da API pública da Nupapia para integração de sistemas terceiros:
    conversas de chat e CRM (clientes). Gere um token de integração em
    **Configurações → Integrações** dentro da Nupapia e use-o como Bearer token
    em todas as chamadas abaixo.
servers:
  - url: https://api.nupapia.com.br/api
    description: Produção
security:
  - integrationToken: []
paths:
  /client/{id}:
    get:
      tags:
        - Clientes
      summary: Detalhar cliente
      description: Inclui tags, endereços e aliases de contato.
      parameters:
        - $ref: '#/components/parameters/ClientId'
      responses:
        '200':
          description: Cliente
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    $ref: '#/components/schemas/Client'
components:
  parameters:
    ClientId:
      name: id
      in: path
      required: true
      schema:
        type: integer
  schemas:
    Client:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        lastname:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phone:
          type: string
          nullable: true
        image:
          type: string
          nullable: true
        avatar_url:
          type: string
          nullable: true
        client_type:
          type: string
          enum:
            - pf
            - pj
          nullable: true
        assigned_to:
          type: integer
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    integrationToken:
      type: http
      scheme: bearer
      bearerFormat: Token de integração (gerado em Configurações → Integrações)

````