Interactions API

Interactions endpoints in the Brix REST API for digital signage: 2 operations (GET). Each lists its path, auth, required permission and a curl example.

View as Markdown

Base URL https://api.brixsignage.com. Send Authorization: Bearer $BRIX_API_KEY unless an operation says No auth. The permission chip names what the key must hold. See Authentication and scopes, Errors and rate limits and Pagination.

GET/v1/interactions

Bearer token playback-log.view

List engagement events from your screens, such as on-screen taps, QR code scans, presenter joins, and form submissions. **Notes.** - Newest first, at most 1000, from screens at locations the caller can see.

ParameterInTypeRequiredDescription
fromquerystringnoISO-8601 start (default: 7 days ago).
toquerystringnoISO-8601 end (default: now).
screenIdquerystringno
curl "https://api.brixsignage.com/v1/interactions" \
  -H "Authorization: Bearer $BRIX_API_KEY"

Response 200 Success.

FieldTypeDescription
dataarray of object
data[].idstring
data[].screenIdstring
data[].screenNamestringThe screen id when the screen no longer exists.
data[].atstringISO-8601 timestamp (UTC).
data[].kind"touch" | "qr-scan" | "screenshare-join" | "form-submit"
data[].detailstringA short human-readable summary.
data[].boxIdstring | nullA counted button tap only: the box that was tapped.
data[].creativeIdstring | nullA counted button tap only: the design the box is on.
data[].actionstring | nullA counted button tap only: the tap action kind (for example `open-url`).

Response 401 Missing, expired or revoked bearer token.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 403 The token lacks the permission this operation needs (see `x-brix-permission`).

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 5XX Server error. The body carries a `requestId` to quote to support.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

GET/v1/interactions/taps

Bearer token playback-log.view

Returns the number of taps on each button of a design in a date range, with the design and box names. Only tap actions saved with count: true are counted. The busiest buttons come first, and at most 20,000 taps are read, from screens at the locations you can see. Counted taps per button (a box on a design) in the window. Only tap actions saved with count: true are counted. **Notes.** - Most taps first. Reads at most 20,000 taps, from screens at locations the caller can see.

ParameterInTypeRequiredDescription
fromquerystringnoISO-8601 start (default: 7 days ago).
toquerystringnoISO-8601 end (default: now).
screenIdquerystringno
curl "https://api.brixsignage.com/v1/interactions/taps" \
  -H "Authorization: Bearer $BRIX_API_KEY"

Response 200 Success.

FieldTypeDescription
dataarray of object
data[].creativeIdstring | null
data[].creativeNamestring | nullNull when the design is gone.
data[].boxIdstring
data[].boxNamestring | nullThe layer name, else its text. Null when the box is gone.
data[].actionstring | nullThe tap action kind of the newest tap.
data[].countinteger
data[].lastAtstringISO-8601 timestamp (UTC).

Response 401 Missing, expired or revoked bearer token.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 403 The token lacks the permission this operation needs (see `x-brix-permission`).

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 5XX Server error. The body carries a `requestId` to quote to support.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.