Skip to main content

Fetch Media File

GET 

https://{127.0.0.1:8083}/api/v2/instance/:instanceId/media/:mediaId/file

Authorization: Json Web Token

name: Json Web Tokentype: httpscheme: bearerbearerFormat: jwtdescription: It is an **HTTP** authentication scheme that involves security tokens called **bearer tokens**.

**BearerFormat:** JWTin: header

Retrieves the binary file of a previously prepared media. Supports multiple formats such as images, videos, audios, etc.

Request

Path Parameters

    mediaId Media IDrequired

    Id of the media that was prepared.

    instanceId stringrequired

    ID of the instance.

Responses

Binary file - Media preview.

Schema
  • string binary
curl -L -g -X GET 'https://{127.0.0.1:8083}/api/v2/instance/:instanceId/media/:mediaId/file' \
-H 'Accept: application/octet-stream' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://{127.0.0.1:8083}
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!