v1/user/avatar

Search Users

POST https://api.brickverse.co/v1/user/avatar

This endpoint allows you to get avtar URL of an user, this doesn't generate a render.

Request Body

NameTypeDescription

id*

Int

Player User ID

type

String

Render Type

{
    "status": "success",
    "avatar": "https://cdn.brickverse.co/avatars/example.png"
}

Errors

ErrorFix

no player id specified

Must include "id" in body of your request

invalid player id

We couldnt validate ID was a intval.

invalid render type

Valid types are "player_head" and "player_body"

Type is optional and will default to player_head.

Last updated