Stream the tenant logo binary
GET
/v1/tenants/{id}/logo/raw
const url = 'https://api.emite.cr/v1/tenants/example/logo/raw';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.emite.cr/v1/tenants/example/logo/raw \ --header 'Authorization: Bearer <token>'The image of the logo the PDFs carry — the one PUT /tenants/:id/logo stored, always a PNG (only a logo stored before uploads were re-encoded can be a JPEG). Cache-Control: private, max-age=60. 404 when the company has no logo. A person may read the logo of every company they belong to (the company switcher shows them all); an API key, only its own company's.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The logo image.
string format: binary
string format: binary
No logo configured.