Upload a public file
Upload one image or PDF (Base64, max 8 MB decoded) to the public files bucket. Returns the permanent public URL — embed it in email HTML (signature images, campaign bodies, linked PDFs). The URL contains an unguessable id, is never listed, and is served with no search indexing.
Authorizations
Org-scoped Norbelys API key. Create one in Settings → API keys and send it as Authorization: Bearer ak_….
Headers
Opt-in idempotency for a safely retried write: reuse the same key to replay the original result for 24h instead of re-executing. Recommended on every POST.
255Body
Base64-encoded file content (max 8 MB decoded). Example: iVBORw0KGgoAAAANSUhEUgAA…
1MIME type — an image/* type or application/pdf. Example: image/png
^(?:image\/[\w.+-]+|application\/pdf)$"image/png"
Original file name — kept (sanitized) as the URL's last segment. Example: logo.png
1 - 200"logo.png"
Response
OK
MIME type. Example: image/png
"image/png"
The sanitized file name. Example: logo.png
"logo.png"
The file id.
"fil_y3rgwmhkbgxxa2qzmfyrdj0e"
Always "file".
Decoded size in bytes. Example: 24680
x >= 024680
The permanent public URL.
"https://files.norbelys.com/files/org_x/fil_y/logo.png"