# Host a media file so a network can fetch it

`POST /connectors/media` · Rivier · connectors

Host a media file so a network can fetch it.

- Scope: connectors:write
- Sdk: connectors.media.upload
- Cli: connectors media upload

## Request body

`application/octet-stream`

```json
{
  "type": "string",
  "format": "binary"
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/connectors/media' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/octet-stream'
```
