Skip to main content
GET
/
status
/
{mediaId}
Check upload status
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>"
}
This endpoint uses a different base URL:https://media.postflow.app/api/v1

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mediaId
string
required

The media ID returned from the async upload endpoint.

Response

Upload status

media_id
string
required
status
enum<string>
required

Current processing status.

Available options:
processing,
completed,
failed
data
MediaData · object

MediaData object when status is completed, otherwise null.

error
string | null

Error message when status is failed.