/v1/audit-dogadjaji
Audit log
Retencija po planu (Osnovni: pretpostavka 30 dana).
Authentication and scopes
- Session (HttpOnly cookie)
- OAuth2:
audit: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). |
limit | query | no | integer | |
kursor | query | no | string | Opaque cursor from sledeci_kursor |
akter | query | no | string | |
akcija | query | no | string | |
od | query | no | string (date-time) | |
do | query | no | string (date-time) |
Responses
200 Success
{
"objekat": "lista",
"podaci": [
{
"id": "0192e4a1-7c3b-7d4e-9a10-3f5b2c8d9e01",
"objekat": "audit_dogadjaj",
"tip_aktera": "korisnik",
"akcija": "profaktura.otkazana",
"kreirano": "2026-11-01T08:00:00Z"
}
],
"ima_jos": true,
"sledeci_kursor": "eyJpZCI6IjAxOTJlNGExIn0"
}400 Bad request
401 Missing or invalid token/key
403 Nedovoljna prava: zabranjeno, nedovoljan_opseg, funkcija_nije_u_planu, organization
429 Too many requests
default Unexpected error
Example (curl)
curl -sS -X GET "https://api.uplaceno.rs/api/v1/audit-dogadjaji" \
-H "Authorization: Bearer upl_live_VAS_KLJUC" \
-H "Content-Type: application/json"