Returns: List API keys. Allowed roles: per role/scope; scope: api_kljucevi:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: api_kljucevi:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Creates or triggers: Create API key. Allowed roles: per role/scope; scope: api_kljucevi:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: api_kljucevi:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Idempotency-Key
header
yes
string
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.
Deletes or revokes: Revoke API key. Allowed roles: per role/scope; scope: api_kljucevi:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: api_kljucevi:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Returns: Get API key. Allowed roles: per role/scope; scope: api_kljucevi:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: api_kljucevi:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
id
path
yes
string (uuid)
UUID v7
Idempotency-Key
header
yes
string
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.