---
title: Generate Branded QR Code API
slug: generate-branded-qr-code
url: https://apyhub.com/dosvak/service/generate-branded-qr-code
provider: Dosvak LLC
categories: [Output Kit]
tags: [qr-code, barcode, image-generation, branding, marketing, logo-overlay]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 100
---

# Generate Branded QR Code API

Create QR code images from text or URLs with optional logo overlay and color controls. Returns binary output for branded print and digital use.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/dosvak/generate-branded-qr-code` | What it does Generates a branded QR code image from the provided content, with optional center logo… | 100 |

## Endpoint reference

### Generate a branded QR code with embedded logo and style controls

`POST https://api.eu.apyhub.com/dosvak/generate-branded-qr-code` · 100 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `logo` | body | string (binary) | no | Optional logo image for center overlay |
| `size` | body | integer | no | Default: `768`. |
| `content` | body | string | yes | URL or text to encode |
| `background` | body | string | no | Default: `#ffffff`. |
| `foreground` | body | string | no | Default: `#111111`. |

#### Quickstart

Upload a logo and the QR content to generate a branded QR code.

```bash
curl -X POST "https://api.eu.apyhub.com/dosvak/generate-branded-qr-code" \
  -H "apy-token: $APY_TOKEN" \
  -F "content=https://apyhub.com" \
  -F "logo=@/path/to/logo.png"
```

#### What you'll get back

Returns a binary file (`string` with `format: binary`) containing the generated QR code image.

```text
(binary file)
```

## About

## What it does
Branded QR Code Generator creates a QR code image from text or a URL, with optional logo overlay and basic color controls. Send the content you want encoded, and you get back a binary image suitable for download, embedding, or print workflows.

Use the `content` field for the URL or text to encode. If you want a custom look, include an optional `logo` image for the center overlay, choose the output `size` between 256 and 2048, and set `background` and `foreground` colors to match your brand. The defaults are a white background and dark foreground for strong scan contrast.

This is a good fit for product packaging, event badges, posters, restaurant menus, and marketing materials where a standard black-and-white QR code would look out of place. Because the output is binary image data, you can pipe it straight into storage, a file response, or an image-processing step without extra conversion.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/generate-branded-qr-code
