Skip to main content
POST
/
streams
/
{stream_key}
/
preview
Upload stream preview image
curl --request POST \
  --url https://api.fluxer.app/v1/streams/{stream_key}/preview \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": "<string>",
  "thumbnail": "<string>",
  "content_type": "<string>"
}
'
{
  "code": "ACCESS_DENIED",
  "message": "<string>",
  "errors": [
    {
      "path": "<string>",
      "message": "<string>",
      "code": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

User session token from login: Authorization: <token> (no prefix). Prefer a bot account over user tokens where possible.

Path Parameters

stream_key
string
required

The stream key

Body

application/json
channel_id
string<snowflake>
required
thumbnail
string
required

Base64-encoded thumbnail image data

content_type
string

MIME type of the thumbnail image

Response

No Content