GET/discord/user/[id]/bannerGet the banner of a Discord user by their ID.
GET/discord/user/[id]/banneridstringThe ID of the Discord user.
sizenumberOptional (default: 512)The size of the avatar image by powers of 2.
200Successful response.
fileA file is returned as the body.Content-TypestringThe content type of the image.
Cache-ControlstringThe cache control header.
400ErrorAn invalid size was provided.
object{
"data": null,
"error": "Invalid size"
}400ErrorAn invalid Discord ID was provided. This may be because it was not found.
object{
"data": null,
"error": "No Discord ID provided"
}