> ## 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 avatar del usuario

> Devuelve la URL de la foto de perfil de un número de teléfono.



## OpenAPI

````yaml openapi.evolution-go.es.json POST /user/avatar
openapi: 3.1.0
info:
  title: Evolution GO Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer: Evolution GO. URL base
    `https://pilotstatus.com.br/api/layer/evolution-go`. Autentícate con el
    header `apikey` (tu clave `ps_` de Pilot Status); `Authorization: Bearer` no
    se acepta. Los endpoints de instancia/sesión NO están disponibles a través
    del layer.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-go
security:
  - apiKey: []
tags:
  - name: Call (voice)
  - name: Chat
  - name: Community
  - name: Group
  - name: Label
  - name: Message
  - name: Newsletter / Channels
  - name: Send (load-balanced)
  - name: User / Contacts
paths:
  /user/avatar:
    post:
      tags:
        - User / Contacts
      summary: Obtener avatar del usuario
      description: Devuelve la URL de la foto de perfil de un número de teléfono.
      operationId: post__user_avatar
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                number:
                  type: string
                  description: Número de teléfono en formato internacional.
                  example: '5511999999999'
                preview:
                  type: boolean
                  description: >-
                    Cuando es true, devuelve la imagen de vista previa en baja
                    resolución en lugar de la foto en tamaño completo.
                  example: false
              required:
                - number
      responses:
        '200':
          description: 'Éxito: cuerpo de respuesta nativo del proveedor.'
          content:
            application/json:
              schema:
                type: object
                description: >-
                  ProfilePictureInfo de Whatsmeow envuelto en el sobre de
                  Evolution GO.
                properties:
                  message:
                    type: string
                    description: Mensaje de estado de la operación.
                  data:
                    type: object
                    description: Información de la foto de perfil del usuario consultado.
                    properties:
                      url:
                        type: string
                        description: >-
                          URL completa de la imagen de perfil, descargable con
                          una solicitud HTTP simple.
                      id:
                        type: string
                        description: ID de la imagen (igual que UserInfo.PictureID).
                      type:
                        type: string
                        description: >-
                          Tipo de imagen, p. ej. "image" (resolución completa) o
                          "preview" (miniatura).
                      direct_path:
                        type: string
                        description: Ruta directa a la imagen en la CDN de WhatsApp.
                      hash:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Hash de la imagen codificado en Base64 (puede ser null
                          o no existir).
              example:
                message: success
                data:
                  url: >-
                    https://pps.whatsapp.net/v/t61.24694-24/470123_9876543210_1122334455_n.jpg?ccb=11-4&oh=01_AbC&oe=66F1A2B3&_nc_cat=100
                  id: '1661427238'
                  type: image
                  direct_path: >-
                    /v/t61.24694-24/470123_9876543210_1122334455_n.jpg?ccb=11-4&oh=01_AbC&oe=66F1A2B3&_nc_cat=100
                  hash: kO0m0y0p6qP3n9c2Q1r8sw==
        default:
          description: Error — provider or layer error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
                  response:
                    type: object
              example:
                status: 400
                error: Bad Request
                message: Invalid payload
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: >-
        El token de la instancia, enviado en el header `apikey`: el token de la
        instancia de Evolution GO que migraste en el dashboard (Números →
        Conectar → Migrar), o el token propio de la instancia de Pilot Status.
        Una API key `ps_` de Pilot Status NO se acepta (404 `Instance not
        found`). Este es el único header que lee el layer de Evolution GO:
        `Authorization: Bearer` y `x-api-key` no se aceptan, y una solicitud sin
        `apikey` recibe 401.

````

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