Skip to content

Download a file

GET
/media/{id}/file
curl --request GET \
--url 'https://postflow.biz.id/api/v1/media/example/file?thumb=1' \
--header 'Authorization: Bearer <token>'

The file itself, with its type. Supports Range. ?thumb=1 returns a video’s thumbnail.

id
required
string

Media id

thumb
string
Allowed values: 1

The file.

Media typeapplication/octet-stream
string format: binary

Missing, invalid, expired or deleted key or token.

Not found in this workspace.