---
title: "POST /getUserProfilePhotos"
method: POST
path: "/getUserProfilePhotos"
---

# POST /getUserProfilePhotos

`POST /getUserProfilePhotos`

Use this method to get a list of profile pictures for a user. Returns a [UserProfilePhotos](https://core.telegram.org/bots/api/#userprofilephotos) object.

## Request body

- object
  - `user_id` integer, required — Unique identifier of the target user
  - `offset` integer — Sequential number of the first photo to be returned. By default, all photos are returned.
  - `limit` integer — Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.

## Response `200`

- object
  - `ok` boolean, required
  - `result` UserProfilePhotos, required — This object represent a user's profile pictures.
    - `total_count` integer, required — Total number of profile pictures the target user has
    - `photos` array[], required — Requested profile pictures (in up to 4 sizes each)
      - PhotoSize[]
        - `file_id` string, required — Identifier for this file, which can be used to download or reuse the file
        - `file_unique_id` string, required — Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
        - `width` integer, required — Photo width
        - `height` integer, required — Photo height
        - `file_size` integer — *Optional*. File size

## Other responses

- `default`

---

[API](https://skmtc.net/stoplight/apis/telegram-bot-api.md) · [All operations](https://skmtc.net/stoplight/apis/telegram-bot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stoplight/telegram-bot-api/versions/be4bbb34b64a/schema)
