---
title: "Upload new avatar image"
method: POST
path: "/me/avatars"
tags: ["avatars"]
---

# Upload new avatar image

`POST /me/avatars`

Uploads a new avatar image for the authenticated user.

## Query parameters

- `selected_email_hash` string
- `select_avatar` boolean, nullable

## Response `200`

Avatar uploaded successfully

- Avatar — An avatar that the user has already uploaded to their Gravatar account.
  - `image_id` string, required — Unique identifier for the image.
  - `image_url` string, uri, required — Image URL
  - `rating` 'G' | 'PG' | 'R' | 'X', required — Rating associated with the image.
  - `alt_text` string, required — Alternative text description of the image.
  - `selected` boolean — Whether the image is currently selected as the provided selected email's avatar.
  - `updated_date` string, date-time, required — Date and time when the image was last updated.

## Other responses

- `400` — Invalid request
- `401` — Not Authorized
- `403` — Insufficient Scope

---

[API](https://skmtc.net/automattic/apis/gravatar-public-api.md) · [All operations](https://skmtc.net/automattic/apis/gravatar-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automattic/gravatar-public-api/revisions/d01551ae9a37/schema)
