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

# Get Contact Profile Picture Image

> Return a contact profile picture suitable for embedding in UIs.

The image is fetched on demand from WhatsApp and is not persisted.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/contacts/{contact_id}/profile-picture/image
openapi: 3.1.0
info:
  title: wazzapi Public API
  description: >-
    Public API surface for external API-key clients. Only stable /api/v1
    endpoints are included.


    ## Webhook deliveries

    This reference also includes the webhook requests Wazzapi sends to your
    endpoint for incoming messages, message status updates, and device status
    changes. See the `Incoming webhooks` section in the sidebar for headers,
    payload fields, and concrete examples.
  version: 1.0.0
servers: []
security: []
tags:
  - name: Incoming webhooks
    description: >-
      POST deliveries that Wazzapi sends to your webhook endpoint after you
      subscribe to supported events. Verify the signature against the raw body
      and return a 2xx response quickly.
paths:
  /api/v1/contacts/{contact_id}/profile-picture/image:
    get:
      tags:
        - contacts
      summary: Get Contact Profile Picture Image
      description: |-
        Return a contact profile picture suitable for embedding in UIs.

        The image is fetched on demand from WhatsApp and is not persisted.
      operationId: >-
        get_contact_profile_picture_image_api_v1_contacts__contact_id__profile_picture_image_get
      parameters:
        - name: contact_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Contact Id
        - name: whatsapp_account_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            description: Connected WhatsApp account to use for the lookup.
            title: Whatsapp Account Id
          description: Connected WhatsApp account to use for the lookup.
        - name: preview
          in: query
          required: false
          schema:
            type: boolean
            description: Return thumbnail preview when true.
            default: true
            title: Preview
          description: Return thumbnail preview when true.
        - name: proxy
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              When true, stream the image bytes through Wazzapi instead of
              redirecting.
            default: false
            title: Proxy
          description: >-
            When true, stream the image bytes through Wazzapi instead of
            redirecting.
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
            image/*: {}
        '302':
          description: Redirect to the ephemeral WhatsApp CDN URL
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````