Skip to main content
POST
Upload Banner
Upload a new banner. id must be @me or your own ID.

Behavior

  • Send one image as multipart/form-data in the file field. More than one file returns 400.
  • PNG, JPG, WebP or GIF, up to 30 MB. The type is detected from the file’s bytes.
  • The image keeps its aspect ratio; it is not cropped. GIFs stay animated.
  • Metadata is stripped.
  • The new banner replaces the old one, which is deleted.
  • A suspended account cannot upload a banner.
  • The response is your full account, with the new banner URL.
  • Shares a rate limit bucket with Remove Banner: 10 requests per minute.

Examples

Responses

Errors

Authorizations

relay-key
string
header
required

Your relay key from snipp.gg/settings/relay

Path Parameters

id
string
required

User ID, or @me for your own account.

Body

multipart/form-data
file
file
required

The image.

Response

Success

user
object
required

Returned for @me or your own ID.