Skip to main content

API Guide

Explanations and examples for the most-used Analytics & Reporting APIs. Every endpoint, with full schemas, is in the API Reference.


Base URL and Authentication​

https://appsvc.svc.eluv.io/casa/main

All operations take a tenant admin bearer token (a content admin token also works for the Sessions API):

Authorization: Bearer <token>

APIs​

OperationEndpoint
List sessionsPOST /:tid/sessions
Enriched sessionsPOST /:tid/sessions_enriched
List subscriptionsPOST /authd/tnt/:tid/subscriptions

Sessions​

Lists playout sessions with filters, ordering and paging; JSON or CSV.

Enriched Sessions​

The same sessions, each with the viewer's ID with your identity provider, the NFTs that authorized it and, when the tenant has a title catalog, the billing_id of the offer each was sold under -- for example, to attribute subscription views to titles.

Subscriptions​

Lists subscriptions with their status, paid-through dates and NFTs, with filters, search and paging; JSON or CSV. Also one subscription with its payments.