Overview
Anthias exposes a REST API so you can manage a player without touching the web interface: script asset uploads, rotate playlists, trigger backups, or wire the device into your own tooling. Everything the dashboard does is available over HTTP, which makes Anthias straightforward to automate across a fleet of screens.
The API runs directly on each device, so the base URL is simply the player’s own
address on your network, under /api/:
http://<device-ip>/api/
That is port 80 on a normal install; a development environment serves the same
API on port 8000. If you have enabled SSL on the device, use https:// with the
hostname on the certificate instead. Requests and responses are JSON, except for
asset uploads, which use multipart/form-data.
Versioning
The API is versioned in the path, and several versions are served side by side so existing integrations keep working as new ones are added:
- v2 (
/api/v2/…): the current version. Use this for new integrations. It exposes the full asset model, including the scheduling fields (play_order, duration, and the active date window). - v1, v1.1, v1.2 (
/api/v1/…,/api/v1.1/…,/api/v1.2/…): retained for backwards compatibility. Their request and response shapes stay stable, but the older versions do not expose the newer scheduling fields.
Pin your integration to a specific version so a future release cannot change the shape of the responses you depend on.
Authentication
The API is designed for use on a trusted local network and does not require an API token. Because there is no authentication layer in front of it, do not expose a device’s HTTP port directly to the public internet. Keep it behind your LAN, a VPN, or a reverse proxy that adds its own access control.
Responses and errors
Successful requests return a 2xx status with a JSON body. Client mistakes (a
missing field, a malformed asset) return 4xx with a JSON error describing what
went wrong; unexpected server-side failures return 5xx. Each endpoint below
lists the response codes it can return and the schema of the body that comes with
them. Expand a response to see the full field list.
Endpoints
The complete endpoint reference follows, grouped by tag. Each entry shows the method, path, parameters, request body, and every response it can return.