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_idstringRequired

A unique ID to specify the entity.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-monite-versionstringRequired

Request

This endpoint expects a multipart form containing a file.
filefileRequired

Response

Successful Response

idstringformat: "uuid"

A unique ID of this file.

created_atdatetime

UTC date and time when this file was uploaded to Monite. Timestamps follow the ISO 8601 format.

file_typestring

The type of the business object associated with this file.

md5string

The MD5 hash of the file.

mimetypestring

The file’s media type.

namestring<=512 characters

The original file name (if available).

regionstring

Geographical region of the data center where the file is stored.

sizeinteger>=0

The file size in bytes.

urlstring

The URL to download the file.

pageslist of objectsOptional

If the file is a PDF document, this property contains individual pages extracted from the file. Otherwise, an empty array.

previewslist of objectsOptional

Preview images generated for this file. There can be multiple images with different sizes.

Errors