---
title: "A link to upload a file from another device (a phone), valid 24 hours"
method: POST
path: "/api/media/upload-link"
---

# A link to upload a file from another device (a phone), valid 24 hours

`POST /api/media/upload-link`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/media/upload-link`
- Auth: HTTP bearer

For an assistant or a flow that cannot send the file itself: open the url on the device that has the video, upload, and GET /api/media/uploads/{upload_id} (or the dashboard) returns its media_url. 30 links an hour.

## Response `200`

{ url, upload_id, expires_in: 86400, max_bytes, accepts[] }

---

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