avatars

Set avatar for the hashed email

Sets the avatar for the provided email hash.

post/me/avatars/{imageId}/email

Request

  • Base URL: https://api.gravatar.com/v3
  • URL: https://api.gravatar.com/v3/me/avatars/{imageId}/email
  • Auth: OAuth 2 (implicit, authorization URL https://public-api.wordpress.com/oauth2/authorize)

Path parameters

imageIdstring required

Image ID of the avatar to set as the provided hashed email avatar.

Request body

email_hashstring required

The email SHA256 hash to set the avatar for.

Example request

{
  "email_hash": "31c5543c1734d25c7206f5fd591525d0295bec6fe84ff82f946a34fe970a1e66"
}

Response

Avatar successfully set

Changes

No recorded changes to this operation across all 2 revisions of this API.