https://app.lokam.si/api/*النطاق: 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.
روؤس الطلب
| الرأس | النوع | مطلوب | الوصف |
|---|---|---|---|
| Authorization | string | نعم | Bearer followed by your API key |
| Content-Type | string | لا | application/json for requests with a JSON body; multipart/form-data for file uploads |
مثال الطلب (curl)
curl https://app.lokam.si/api/flows/?published_only=true \ -H "Authorization: Bearer va_live_YOUR_KEY"
مثال الاستجابة
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
}