---
title: "Upload agency logo"
method: POST
path: "/subaccounts/logo"
tags: ["subaccounts"]
---

# Upload agency logo

`POST /subaccounts/logo`

## Request

- Base URL: `https://pro.api.serversmtp.com/api/v2`
- URL: `https://pro.api.serversmtp.com/api/v2/subaccounts/logo`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `consumerKey` and API key in header `consumerSecret`

Upload agency logo.

Logo must be a png or jpeg image.

## Request body `multipart/form-data`

- object
  - `file` string, binary

## Response `200`

Sucess

The Logo file was successfully submitted.

- CommonSuccessResponseBody
  - `message` 'success'

## Other responses

- `400`: Bad Request ###### Produces: * missing_upload_file * file_type_should_be_png_or_jpeg
- `401`: Unauthorized This API requires a valid API Key to be provided. (Use [/authentication/authorize](#/authentication/AuthenticationLogin) to obtain an API Key) Produces: * missing_authorization_key * invalid_authorization_key * account_is_inactive

---

[API](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis.md) - [All operations](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/serversmtp/apis/turbosmtp-public-apis/revisions/8503e099b215?raw)
