Skip to content

Upload the tenant logo rendered on its PDFs (max 2MB)

PUT
/v1/partner/tenants/{id}/logo
curl --request PUT \
--url https://api.emite.cr/v1/partner/tenants/example/logo

Multipart, file in the logo field: PNG, JPEG, WebP, AVIF or SVG, up to 2 MB. The server re-encodes it to PNG (sRGB, at most 800×800 px) and replaces any previous logo; every PDF of the company rendered from then on carries it. 400 LOGO_FILE_REQUIRED without a file, LOGO_TOO_LARGE over 2 MB, LOGO_MIME_NOT_ALLOWED for any other type (and 400 for an image that cannot be decoded); 404 PARTNER_TENANT_NOT_FOUND for a company this partner does not manage.

id
required
string
x-partner-key
string

Partner app credential (ecp_*)

Media typeapplication/json
object
message
required

A fixed English confirmation — Credentials stored or Logo stored. The 200 status is what confirms it; nothing in the body needs parsing.

string
Example
{
"message": "Credentials stored"
}