---
title: "Upload image"
method: POST
path: "/1/mail_hostings/{mail_hosting_id}/signatures/templates/upload"
tags: ["Service Mail > Signatures templates"]
---

# Upload image

`POST /1/mail_hostings/{mail_hosting_id}/signatures/templates/upload`

Upload an image to prepare for insertion in the template

## Path parameters

- `mail_hosting_id` string, required

## Request body

- object
  - `image` string, required — Base64 image content (png,jpg,jpeg,svg or gif MIME type)

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 93e74a89ImageURL
    - `image` string, required — The url where you can retrieve the stored image.

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/3143e9cbbf77/schema)
