Authentication

Use a Reporting API key on every request:

Authorization: Bearer <api-key>

Get your API key

Open Reporting Access in the Skylar app.

The New Secret shown there is your Reporting API key. Use that value as the bearer token in every request.

Base URL

Production base URL:

https://europe-west2-firebase-frontend-v01.cloudfunctions.net/reportingApi

All endpoints in these guides are relative to that base URL.

Copy-paste quick test

REPORTING_API_BASE_URL="https://europe-west2-firebase-frontend-v01.cloudfunctions.net/reportingApi"
SKYLAR_REPORTING_API_KEY="<secret from Reporting Access>"
curl --request GET \
  --url "$REPORTING_API_BASE_URL/v1/users" \
  --header "Authorization: Bearer $SKYLAR_REPORTING_API_KEY"

Unauthorized response

If the bearer token is missing or malformed, the API returns:

{
  "error": {
    "code": "unauthorized",
    "message": "Authorization header must include a Bearer token."
  }
}

Next steps