Outbound HTTPS events to your endpoint. Field names stay Serbian ASCII; amounts are decimal strings; timestamps are RFC 3339 with offset.
GET/v1/webhookovi
Lista webhook URL-ova
Privremeno (1.4.1), ceka potvrdu. Minimalni CRUD: najvise 1 URL po organization i okruzenju, prima sve dogadjaje. Korak webhook i dalje moze da se preskoci.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
Privremeno (1.4.1), ceka potvrdu. Minimalni CRUD: najvise 1 URL po organization i okruzenju, prima sve dogadjaje. Korak webhook i dalje moze da se preskoci. Vec postoji URL: 409 konflikt (prvo DELETE). Odgovor jednom vraca tajna_za_potpis.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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/*.
Request body
Field
Type
Required
Description
url
string (uri)
yes
Samo HTTPS (u sandboxu dozvoljen i http://localhost)
Privremeno (1.4.1), ceka potvrdu. Minimalni CRUD: najvise 1 URL po organization i okruzenju, prima sve dogadjaje. Korak webhook i dalje moze da se preskoci. Brisanje ne vraca korak webhook iz zavrseno.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
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).
Privremeno (1.4.2), ceka potvrdu. Generise novu tajna_za_potpis (vraca se samo u ovom odgovoru). Tokom stara_vazi_sekundiX-Uplaceno-Potpis nosi dva v1= potpisa.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
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/*.
Request body
Field
Type
Required
Description
stara_vazi_sekundi
integer
no
Koliko dugo i stara tajna vazi (potpis nosi oba v1)
Sinhrono salje primer payload-a izabranog dogadjaj (podrazumevano faktura.placena) na URL endpointa, sa pravim potpisom i X-Uplaceno-Okruzenje: sandbox; timeout 10 s, bez ponovnih pokusaja. Odgovor nosi ishod delivery (i kod neuspeha je HTTP 200). Uspesan test zavrsava korak webhook. Rate limit 10/min po endpointu.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
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/*.
Request body
Field
Type
Required
Description
dogadjaj
TipDogadjaja
no
Svi tipovi webhook dogadjaja (ASCII srpski, tackasta notacija)
Beta. One id_dogadjaja with body and delivery state.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
Beta. Manually resends the same id_dogadjaja. Rate limit 10/min per endpoint.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).
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/*.
Beta. List delivery attempts; pagination limit/kursor. Manual event resend allowed for 30 days after the last failure.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: webhookovi: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).