cURL
curl --request POST \ --url https://media.postflow.app/api/v1/upload/url \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "file_url": "<string>" } '
{ "media_id": "<string>", "status_url": "<string>" }
https://media.postflow.app/api/v1
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
URL of the file to download and upload.
Optional webhook URL. When processing is done, POST request is sent to this URL with a JSON body:
POST
media_id
status
completed
failed
error
Upload accepted and queued for processing
The ID of the media being processed.
URL to poll for upload status.