Skip to content

Get a tracked QR code

GET
/api/v1/automations/qr-codes/{id}
curl --request GET \
--url https://digize.com/api/v1/automations/qr-codes/example \
--header 'x-api-key: <x-api-key>'

One QR code a workflow made, with its links and scans.

Needs the automations:read permission.

id
required
string
>= 1 characters <= 64 characters

Done

Media typeapplication/json
object
id
required
string
code
required
string
name
required
string
url
required

The scan link the code holds, on the workspace’s link host: /_q/.

string
imageUrl
required

The code’s picture as a PNG.

string
svgUrl
required

The code’s picture as an SVG.

string
destination
required

Where a scan goes on to, with its UTM tags on.

string
contactId
required
string | null
contactName
required
string | null
workflowId
required
string | null
workflowName
required
string
runId
required
string | null
size
required

The PNG’s width and height, in pixels.

number
scans
required
number
firstScannedAt
required
Any of:
string format: date-time
lastScannedAt
required
Any of:
string format: date-time
createdAt
required
string format: date-time

Example generated

{
"id": "example",
"code": "example",
"name": "example",
"url": "example",
"imageUrl": "example",
"svgUrl": "example",
"destination": "example",
"contactId": "example",
"contactName": "example",
"workflowId": "example",
"workflowName": "example",
"runId": "example",
"size": 1,
"scans": 1,
"firstScannedAt": "2026-04-15T12:00:00Z",
"lastScannedAt": "2026-04-15T12:00:00Z",
"createdAt": "2026-04-15T12:00:00Z"
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}