---
title: "Upload avatar"
method: POST
path: "/me/avatar"
tags: ["User Profile"]
---

# Upload avatar

`POST /me/avatar`

## Request

- Base URL: `https://getdynamicqr.com/api/v1`
- URL: `https://getdynamicqr.com/api/v1/me/avatar`
- Auth: API key in header `X-Client-ID` and HTTP bearer

Uploads a new avatar image. The previous avatar is deleted automatically.
Accepted formats: JPEG, PNG, GIF, WebP. Max size: 2 MB.

## Request body

- object
  - `avatar` string, binary, required: Image file.

## Response `200`

OK

## Other responses

- `401`: No credentials, or credentials that are not valid.
- `403`: The account is inactive, or the plan does not carry this feature.
- `429`: Rate limit exceeded. See `Retry-After`.

---

[API](https://skmtc.dev/getdynamicqr/apis/d-qr-rest-api.md) · [All operations](https://skmtc.dev/getdynamicqr/apis/d-qr-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getdynamicqr/apis/d-qr-rest-api/revisions/4467aeca30ce?raw)
