Media
Upload files and refresh short-lived library view URLs.
Upload files to the workspace library before attaching them to posts.
Plan requirement: API access requires Team or Agency. See pricing.
Base URL: https://api.styrar.com/v1
Routes
| Method | Path | Scope |
|---|---|---|
| POST | /v1/media/upload | media:write |
| POST | /v1/media/upload/presign | media:write |
| POST | /v1/media/upload/complete | media:write |
| POST | /v1/media/upload-from-url | media:write |
| GET | /v1/media/library | media:write |
| GET | /v1/media/library/:id/view | media:write |
View URLs
List responses include short-lived viewUrl values. Refresh with GET …/view when URLs expire. Use returned media file ids as mediaFileIds when creating posts.
Related
- Endpoints - route catalog by resource
- Posts - attach library files
- Authentication - scopes and API keys