Download a received file
curl --request GET \
--url https://api.getreply.in/v1/media/{id}/fileconst options = {method: 'GET'};
fetch('https://api.getreply.in/v1/media/{id}/file', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getreply.in/v1/media/{id}/file",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://api.getreply.in/v1/media/{id}/file"
response = requests.get(url)
print(response.text)"<string>"{
"error": {
"code": "not_found",
"message": "Not found."
}
}Messages
Download a received file
No key needed. The signed link stops working after a short time.
GET
/
v1
/
media
/
{id}
/
file
Download a received file
curl --request GET \
--url https://api.getreply.in/v1/media/{id}/fileconst options = {method: 'GET'};
fetch('https://api.getreply.in/v1/media/{id}/file', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getreply.in/v1/media/{id}/file",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://api.getreply.in/v1/media/{id}/file"
response = requests.get(url)
print(response.text)"<string>"{
"error": {
"code": "not_found",
"message": "Not found."
}
}