---
title: "Upload binary content"
method: POST
path: "/mms/1/content"
tags: ["channels", "mms", "send-mms"]
---

# Upload binary content

`POST /mms/1/content`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/mms/1/content`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

This method allows you to upload binary content that you can reference when sending MMS messages.

## Headers

- `X-Content-Id` string, required
- `X-Media-Type` string, required
- `X-Validity-Period-Minutes` integer

## Request body `application/octet-stream`

- string, binary

## Response `200`

OK

- Faad2f34157fead7bc36bdf18ea6d8be6674c0ceb93de05135894a2bf0f2aa1bUploadBinaryResult
  - `uploadedContentId` string: The ID that uniquely identifies the uploaded content.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
