Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу reseller.manage; кључ без ње се одбија уз 403, а не 404.

Где се уноси ID ваше организације

Ова крајња тачка прихвата org_id као параметар упита. Изоставите га и позив ће обухватити цело подстабло вашег закупа; пошаљите га да бисте сузили позив на једну организацију.

Идентификатор ваше организације се налази на екрану са API кључевима на вашој контролној табли, поред самог кључа. То је исти идентификатор у сваком позиву који упутите.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X POST https://api.zinndigital.com/v1/branding/logo \
  -H "Authorization: Bearer zdk_live_…"

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Your logo, as an image file. Requires reseller.manage. ⚖️ Uploaded, never linked — owner ruling 2026-09-01. We store the image ourselves and serve it from GET /v1/branding/logo/{sha256}, and that is what makes it possible to print it on your invoices: an invoice is rendered offline from a frozen copy of the document and cannot fetch anything, so a link to your own web server could never appear on one. It would also mean a document that changes if your site goes down. Send the file as the logo part of a multipart/form-data request. PNG, JPEG, WebP and GIF, up to 256 KB and 4000 px on a side. ⛔ SVG is refused: it can carry scripts and remote references. ⛔ Changing your logo does not change invoices already issued. Each document keeps the logo it was issued with, because it is referenced by a digest of the exact image.

Параметри

НазивТипОбавезноШта је ово
org_id (query)UuidНеThe organization this call acts on. Optional for a caller with exactly one direct membership; required for anyone with more than one — which is every reseller and every agency…

Одговор

НазивТипОбавезноШта је ово
logo_urlstringДа—
sha256stringДа—
purposestring<panel, favicon, email>НеWhich mark was stored — echoed back so a caller can confirm.
content_typestringНе—
widthintegerНе—
heightintegerНе—
byte_sizeintegerНе—

Грешке које ова крајња тачка може вратити

401 · 403 · 422 · 429