Get User Avatar

Prev Next
Get
/api/v1/users.getAvatar

View a user's avatar.

Changelog

Version Description
0.50.0 Added
Header parameters
X-User-Id
stringRequired

The authenticated user ID.

ExamplerbAXPnMktTFbNpwtJ
X-Auth-Token
stringRequired

The authenticated user token.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
Query parameters
userId
stringRequired

The user ID. Alternatively, you can enter the username parameter.

ExampleBsNr28znDkG8aeo7W
Responses
200

OK

string (binary)
400

Bad Request

Example 1
{
  "success": false,
  "error": "The required \"userId\" or \"username\" param was not provided [error-user-param-not-provided]",
  "errorType": "error-user-param-not-provided"
}
object
success
boolean
error
string
errorType
string