---
title: "Set avatar for the hashed email"
method: POST
path: "/me/avatars/{imageId}/email"
tags: ["avatars"]
---

# Set avatar for the hashed email

`POST /me/avatars/{imageId}/email`

Sets the avatar for the provided email hash.

## Path parameters

- `imageId` string, required

## Request body

- object
  - `email_hash` string, required — The email SHA256 hash to set the avatar for.

## Response `200`

Avatar successfully set

## Other responses

- `401` — Not Authorized
- `403` — Insufficient Scope

---

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