API reference

Every endpoint in the /v1 contract. 23 of the 65 are available during early access, and the others are marked. New to the API? Start with the quickstart.

Base URLs

EnvironmentBase URL
Productionhttps://api.vojo-media.com
Developmenthttps://dev.api.vojo-media.com

Account

The signed-in user, organisations and entitlements.

Screens

Physical displays and their links to sites and devices.

Sites

Physical locations that contain screens.

Harvesters

Vojo's optical sensors, fitted to screens.

Clients

Advertisers the organisation works for (read-only).

Campaigns

Campaigns (read-only in v1).

Advertisements

Creatives: upload, register, update, archive.

Wrappers

Wrap a creative in a Vojo Passport.

Plays

Plays, with their score, band and phase, and the evidence events matched into each one.

Webhooks

Register the endpoints Vojo delivers events to, roll their signing secrets and inspect deliveries. See Receive webhooks and the event reference.

Stats

Aggregate reads. Every play count is a count of plays, the same unit GET /v1/plays lists, so totals reconcile with the play list.

Dashboards

Saved dashboards (user-owned; OAuth only).

Scopes

A secret key or OAuth token only reaches the endpoints its scopes allow. A missing scope returns insufficient_scope.

ScopeAllows
account:readRead the signed-in user, accessible organisations and entitlements.
account:writeCreate organisations and set the default organisation.
screens:readRead screens and screen size ranges.
screens:writeCreate, update and delete screens; assign sites and harvesters; calibrate.
sites:readRead sites.
sites:writeCreate, update and delete sites.
harvesters:readRead harvesters.
harvesters:writeActivate harvesters.
campaigns:readRead campaigns.
advertisements:readRead advertisements.
advertisements:writeUpload, register, update and archive advertisements.
clients:readRead clients.
stats:readRead aggregate statistics and issues.
plays:readRead plays and their evidence events.
webhooks:readRead webhook endpoints and their deliveries.
webhooks:writeCreate, change, delete webhook endpoints, roll their secrets and retry deliveries.
wrappers:writeWrap creatives in a Vojo Passport.
dashboards:readRead saved dashboards.
dashboards:writeCreate, update and delete the user's dashboards.