https://app.lokam.si/api/*Escopo: See each endpoint

Authentication & Scopes

Every request is authenticated with a workspace API key created in Settings → API Keys and sent as a Bearer token. The key is shown once, starts with va_live_, and is bound to one workspace. Each endpoint below lists the scope it needs; wildcards such as calls:* and implied scopes (for example customers:manage includes customers:read and customers:write) are honoured. A key can never hold more access than the person who created it.

Cabeçalhos da Requisição

CabeçalhoTipoObrigatórioDescrição
AuthorizationstringSimBearer followed by your API key
Content-TypestringNãoapplication/json for requests with a JSON body; multipart/form-data for file uploads

Exemplo de Requisição (curl)

curl https://app.lokam.si/api/flows/?published_only=true \
  -H "Authorization: Bearer va_live_YOUR_KEY"

Exemplo de Resposta

200 OK
{
  "agent_flows": [
    { "id": "6650f0c2a1b2c3d4e5f60718", "name": "Appointment Reminders", "is_voice_enabled": true, "published_version": 4 }
  ],
  "flows": [ "…same items…" ],
  "total": 1,
  "page": 1,
  "limit": 1
}