---
title: "Uploads an attachment to be linked to a brand. The attachment will be automatically assigned to the new Brand Orders when needed."
method: POST
path: "/v1/projects/{projectId}/us/brands/{brandId}/attachments"
tags: ["brands"]
---

# Uploads an attachment to be linked to a brand. The attachment will be automatically assigned to the new Brand Orders when needed.

`POST /v1/projects/{projectId}/us/brands/{brandId}/attachments`

## Request

- Base URL: `https://compliance.api.sinch.com`
- URL: `https://compliance.api.sinch.com/v1/projects/{projectId}/us/brands/{brandId}/attachments`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.sinch.com/oauth2/token` scopes: `write`

Upload an attachment to be linked to a brand.

## Path parameters

- `projectId` string, required
- `brandId` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: File content body
  - `attachmentType` 'COMPANY_BANNER' | 'COMPANY_LOGO', required: Attachment type

## Response `201`

Attachment uploaded successfully.

- Attachment: Attachment file linked to the brand. It can be added by url or using the specified endpoint. Only the latest version of each attachment type is kept per Brand.
  - `attachmentId` string: Unique identifier of the attachment.
  - `fileName` string: Human readable name of the attachment.
  - `attachmentType` 'COMPANY_BANNER' | 'COMPANY_LOGO': Attachment type
  - `mimeType` string: MIME type of the attachment file.
  - `uploadStatus` 'COMPLETED' | 'WAITING' | 'FAILED': Status of the file uploaded
  - `createTime` string, date-time: Create time of the request. ISO date time format in UTC.
  - `updateTime` string, date-time: Update time of the request. ISO date time format in UTC.

## Other responses

- `401`: UNAUTHENTICATED: Missing or invalid authentication credentials.
- `403`: PERMISSION_DENIED: The authenticated user does not have permission to perform this operation.
- `404`: NOT_FOUND: Brand ID not found
- `429`: RESOURCE_EXHAUSTED: Too many requests. The client has exceeded the rate limit.
- `500`: INTERNAL: Internal server error. Typically, a server bug.

---

[API](https://skmtc.dev/sinch/apis/sinch-compliance-api-brands.md) - [All operations](https://skmtc.dev/sinch/apis/sinch-compliance-api-brands/llms.txt) - [OpenAPI document](https://skmtc.dev/sinch/apis/sinch-compliance-api-brands/revisions/294f2db8a2ab?raw)
