POST /media → upload → PATCH /media/:mediaId flow. Use this endpoint when the file is already hosted at a publicly accessible URL.status will initially be PROCESSING. Poll GET /media/:mediaId until it becomes SUCCESS before using the media in posts.path, preview, type, and specs will be null while processing is in progress.destinationType determines how the media can be used: POST_MEDIA for regular post content, POST_LINK for link preview customization.curl --location 'https://api.swonkie.dev/v2/media/from-url' \
--header 'X-API-ID: ' \
--header 'X-API-KEY: ' \
--header 'Content-Type: application/json' \
--data '{
"name": "product-video.mp4",
"destinationType": "POST_MEDIA",
"fileUrl": "https://example.com/videos/product-launch.mp4"
}'{
"id": "TWVkaWFJZDk4NzY1NDMyMQ",
"name": "product-video.mp4",
"path": null,
"preview": null,
"type": null,
"status": "PROCESSING",
"specs": null,
"createdAt": "2026-06-19T10:30:00.000Z"
}