Upload an entity logo
Entity logo can be PNG, JPG, or GIF, up to 10 MB in size. The logo is used, for example, in PDF documents created by this entity.
Path parameters
entity_id
A unique ID to specify the entity.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-version
Request
This endpoint expects a multipart form containing a file.
file
Response
Successful Response
id
A unique ID of this file.
created_at
UTC date and time when this file was uploaded to Monite. Timestamps follow the ISO 8601 format.
file_type
The type of the business object associated with this file.
md5
The MD5 hash of the file.
mimetype
The file’s media type.
name
The original file name (if available).
region
Geographical region of the data center where the file is stored.
size
The file size in bytes.
url
The URL to download the file.
pages
If the file is a PDF document, this property contains individual pages extracted from the file. Otherwise, an empty array.
previews
Preview images generated for this file. There can be multiple images with different sizes.