---
title: "Re-host a media URL on Breakreach storage"
method: POST
path: "/v1/media"
---

# Re-host a media URL on Breakreach storage

`POST /v1/media`

## Request

- Base URL: `https://api.breakreach.com`
- URL: `https://api.breakreach.com/v1/media`
- Auth: HTTP bearer

Downloads an image or video from a public URL and hosts it permanently, so it stays available for scheduled posts. Returns the hosted URL to use in POST /v1/posts.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `url` string, uri, required

## Response `200`

OK

- object
  - `url` string, uri, required

## Other responses

- `400`: Missing or non-http(s) URL, or the media could not be downloaded
- `401`: Missing, invalid or expired API key
- `402`: No active Breakreach subscription or trial
- `409`: A request with this Idempotency-Key is still running: retry after Retry-After seconds to get its response
- `422`: This Idempotency-Key was already used with a different request in the last 24 hours

---

[API](https://skmtc.dev/breakreach/apis/breakreach-api.md) · [All operations](https://skmtc.dev/breakreach/apis/breakreach-api/llms.txt) · [OpenAPI document](https://skmtc.dev/breakreach/apis/breakreach-api/revisions/290d285f8d73?raw)
