The Tenant Branding API lets you read and update the corporate identity of your organization. Branding data — including the company logo, the legal representative’s name, and the representative’s digitized signature — is stored on theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Glemynart/SaaS/llms.txt
Use this file to discover all available pages before exploring further.
Tenant record and is strictly scoped to the authenticated tenant. Uploaded files are stored server-side (Cloudflare R2 compatible) and the resulting URL is saved back to the tenant record. All write endpoints require the ADMIN role.
Endpoints
Get current branding
Response
Internal short name for the organization.
Legal business name (razón social).
Colombian NIT (without check digit).
Public or storage-relative URL of the organization’s logo.
null if no logo has been uploaded yet.Full name of the legal representative. Used to populate the
{{REPRESENTANTE_LEGAL}} variable in generated documents.Storage URL of the representative’s digitized signature image.
null if no signature has been uploaded. Populates {{FIRMA_REPRESENTANTE}} in generated documents.Update branding fields
ADMIN
Request body
Full name of the legal representative. This value is injected into the
{{REPRESENTANTE_LEGAL}} placeholder in all future generated documents.Response
Returns the same fields asGET /tenant-branding reflecting the updated values.
Upload organization logo
multipart/form-data using the field name file. On success, the tenant’s logoUrl is updated and the new URL is returned.
Required role: ADMIN
Request
| Property | Value |
|---|---|
| Content-Type | multipart/form-data |
| Field name | file |
| Accepted MIME types | image/png, image/jpeg, image/jpg, image/webp, image/svg+xml |
| Maximum size | 5 MB |
Response
The storage-relative URL where the uploaded logo is now accessible (e.g.,
/uploads/logos/{tenantId}-logo-{timestamp}.png).Upload representative signature
multipart/form-data using the field name file. On success, the tenant’s firmaRepresentanteUrl is updated and the new URL is returned.
Required role: ADMIN
Request
| Property | Value |
|---|---|
| Content-Type | multipart/form-data |
| Field name | file |
| Accepted MIME types | image/png, image/jpeg, image/jpg, image/webp, image/svg+xml |
| Maximum size | 5 MB |
Response
The storage-relative URL where the uploaded signature is now accessible (e.g.,
/uploads/firmas/{tenantId}-firma-{timestamp}.png).Document template variables
The branding fields map directly to global placeholder variables available inDocumentTemplate and GeneratedDocument records:
| Branding field | Template variable |
|---|---|
logoUrl | {{LOGO_EMPRESA}} |
representanteLegal | {{REPRESENTANTE_LEGAL}} |
firmaRepresentanteUrl | {{FIRMA_REPRESENTANTE}} |
GeneratedDocument.contenidoFinal, so subsequent branding changes do not retroactively alter already-generated documents.