cURL
curl --request GET \ --url https://media.postflow.app/api/v1/status/{mediaId} \ --header 'Authorization: Bearer <token>'
{ "media_id": "<string>", "status": "processing", "data": { "id": "<string>", "organization_id": "<string>", "user_id": "<string>", "media_folder_id": "<string>", "is_media_library": true, "type": 1, "url": "<string>", "client_name": "<string>", "file_name": "<string>", "mime_type": "<string>", "extension": "<string>", "size": 123, "thumbnail": "<string>", "preview": "<string>", "width": 123, "height": 123, "aspect_ratio": 123, "duration": 123, "fps": 123, "video_thumbnail_frame": "<string>", "video_thumbnail_custom": "<string>", "video_thumbnail_time": 123, "page_count": 123, "page_previews": [ "<string>" ], "conversions": [ "<string>" ], "alt_text": "<string>", "pivot_alt_text": [ "<string>" ], "note": "<string>", "origin": 1, "is_processing": true, "is_converted": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "error": "<string>" }
https://media.postflow.app/api/v1
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The media ID returned from the async upload endpoint.
Upload status
Current processing status.
processing
completed
failed
MediaData object when status is completed, otherwise null.
Show child attributes
Error message when status is failed.