Theme

Introduction

Getting started

Overview

The Liveday API allows you to programmatically access transaction and analytics data for your organization. All requests use JSON and are authenticated with API keys.

Base URL

All API requests should be made to:

https://api.liveday.se

Quick start

1. Get your API key

Sign in to your Liveday dashboard and navigate to Settings > API Keys to generate a new API key. Keys start with sk_ and should be stored securely.

When creating a key, you'll assign scopes that determine which endpoints it can access:

ScopeAccess
orders:readRead transaction data
orders:writeModify orders
customers:readRead customer data
customers:writeModify customer data
integrations:readRead integration config
integrations:writeModify integrations
webhooks:readRead webhook config
*Full access

2. Make your first request

curl "https://api.liveday.se/analytics_search/api/transactions?size=5&sort=date&order=desc" \
  -H "Authorization: Bearer sk_your_api_key"

3. Check the response

{
  "data": {
    "total_count": 142,
    "orders": [
      {
        "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "email": "anna@example.com",
        "total_price": 59800,
        "payment_method": "card",
        "created_at": "2026-03-01T14:30:00Z",
        "cart": {
          "currency": "SEK",
          "items": [
            {
              "name": "General Admission",
              "quantity": 2,
              "price": 29900,
              "category": "ticket"
            }
          ]
        }
      }
    ]
  },
  "trace_id": "abc123def456"
}

You should know

All API responses are wrapped in a standard envelope with data for the payload and trace_id for request tracing. Prices are always in the smallest currency unit (e.g. öre for SEK, cents for EUR).