Skip to main content

Upload Site Logo

POST /v1/files/site/logo.png

Uploads or replaces the site logo via multipart/form-data (field name: "logo"). When successful, the API responds with plain text OK and HTTP status 200. If the upload fails (for example, if no file is provided), the API returns a JSON error object with details.

Headers

  • \~session - Custom header for ~session (Example: \{\{AUTH_TOKEN\}\})

Request Body

logo: @file(/Users/mariushabberstad/zaveit/image/logo.jpg)

Response Example — Success

200 OK

Response Example — Error

{
"message": "Unexpected end of form",
"error": {
"message": "Unexpected end of form",
"status": 500
}
}