Create QR Code

Add a new studio QR code

Info

Required scope: studio.write

Warning

This method requires authentication

Create a studio QR code owned by the authenticated user.

curl -X POST \
     -H "Authorization: Bearer [access token]" \
     -H "Content-Type: application/json" \
     -d '{"brandId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "title": "My Website", "link": "https://example.com", "shouldShowTitle": true}' \
     https://api.restream.io/v2/user/studio/qr-codes

Request Body

FieldTypeDescription
brandIdstringBrand ID associated with the QR code (required)
titlestringQR code title (required)
linkstringURL to encode in the QR code (required)
shouldShowTitlebooleanWhether to display the title on screen (optional)
{
  "brandId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "title": "My Website",
  "link": "https://example.com",
  "shouldShowTitle": true
}

Response

Success
Error (Unauthorized)
{
  "id": "e5f6a7b8-c9d0-1234-ef56-789012345678",
  "brandId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "title": "My Website",
  "link": "https://example.com",
  "shouldShowTitle": true
}