Public developer documentation

Control BraSigns through the API

The versioned REST API lets third-party systems manage content through the same backend that powers the CMS. Android players continue using their existing authenticated pull, cache, and synchronisation contract.

Authentication

Create an integration in BraSigns Settings. Keys are organisation-scoped, appear once, are stored hashed, and begin read-only. Send the key with every request.

Authorization: Bearer bra_live_...

Endpoints

Every request is limited to 120 per minute for each active API key.

MethodPathPurposePermission
GET/api/v1/screensList screens and device statusscreens:read
PATCH/api/v1/screens/{id}Update permitted screen settingsscreens:write
GET/api/v1/mediaList media assetsmedia:read
GET/api/v1/media/{id}Retrieve one media assetmedia:read
POST/api/v1/media/uploadUpload supported mediamedia:write
DELETE/api/v1/media/{id}Soft-delete unused mediamedia:delete
GET/api/v1/playlistsList organisation playlistsplaylists:read
POST/api/v1/playlistsCreate a playlistplaylists:write
PUT/api/v1/playlists/{id}Replace playlist itemsplaylists:write
DELETE/api/v1/playlists/{id}Delete a playlistplaylists:delete
GET/api/v1/layoutsRetrieve zone layoutslayouts:read
PATCH/api/v1/layouts/{id}/zones/{zone}Change a zone assignmentlayouts:write
GET/api/v1/schedulesList schedulesschedules:read
POST/api/v1/schedulesCreate a scheduleschedules:write
PATCH/api/v1/schedules/{id}Update a scheduleschedules:write
DELETE/api/v1/schedules/{id}Delete a scheduleschedules:delete
GET/api/v1/groupsList screen groupsgroups:read
POST/api/v1/groupsCreate a screen groupgroups:write
PATCH/api/v1/groups/{id}Update a screen groupgroups:write
DELETE/api/v1/groups/{id}Delete a screen groupgroups:delete
GET/api/v1/web-appsSupported and configured applicationsapps:read
POST/api/v1/web-appsCreate a web app configurationapps:write
PATCH/api/v1/web-apps/{id}Update a web app configurationapps:write
POST/api/v1/webhooksCreate a signed webhookwebhooks:write
GET/api/v1/webhooks/{id}/logsRead webhook delivery logswebhooks:read
POST/api/v1/webhooks/{id}/testQueue a test deliverywebhooks:write
DELETE/api/v1/webhooks/{id}Disable a webhookwebhooks:delete
GET/api/v1/devices/statusList device statusscreens:read

Media upload

Use multipart form data with a file field. JPEG, PNG, WebP, MP4 and WebM are supported. Uploaded assets use the existing BraSigns storage provider and remain available to the player cache workflow.

Playlists and screen assignments

Create or replace playlists with organisation-owned media and web-app IDs. Playlist revisions update normally, so the Android player detects the new configuration on its existing sync cycle.

Zones and layouts

Read layouts, then patch a named zone with an organisation-owned media asset or web app. Geometry and player-only credentials are never exposed by this API.

Schedules

Schedules keep the current screen, playlist, layout, day, start, and expiry semantics. API calls cannot assign another organisation’s content or screen.

Screen groups

Manage groups with the same membership and playlist model used by the CMS.

Web applications

List supported marketplace applications and create organisation-owned configurations. Provider credentials remain server-side and are never returned to the API consumer.

Webhooks

Webhook endpoints must be public HTTPS URLs. Events are signed with HMAC-SHA256 in X-BraSigns-Signature using the timestamp plus raw JSON body. Store the signing secret when it is created; BraSigns does not reveal it again.

const signed = crypto.createHmac("sha256", secret)
  .update(timestamp + "." + rawBody).digest("hex");

Errors and limits

  • 401 missing, invalid, or revoked API key.
  • 403 key does not include the required permission.
  • 404 resource is not in the key’s organisation.
  • 422 malformed or invalid request.
  • 429 more than 120 requests in one minute; observe Retry-After.

Webhook delivery cadence

BraSigns queues deliveries and the platform dispatcher runs every 15 minutes. A failed delivery makes one initial attempt and up to three retries, so final failure can take up to about 45 minutes after the first attempt. Every request includes X-BraSigns-Timestamp, X-BraSigns-Event-Id, X-BraSigns-Attempt, and X-BraSigns-Signature: v1=<hmac>. Verify the signature against the timestamp followed by a period and the exact raw JSON body.