curl -X POST https://api.bizmori.com/api/v2/orders/ORDER_ID/refresh-urls \
-H "Authorization: Bearer YOUR_API_TOKEN"const orderId = 'ORDER_ID';
const response = await fetch(
`https://api.bizmori.com/api/v2/orders/${orderId}/refresh-urls`,
{
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' }
}
);
const data = await response.json();import requests
order_id = 'ORDER_ID'
response = requests.post(
f'https://api.bizmori.com/api/v2/orders/{order_id}/refresh-urls',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"files": [
{
"fileId": "<string>",
"fileName": "<string>",
"uploadUrl": "<string>",
"fileKey": "<string>"
}
]
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}{
"code": "WEBHOOK_NOT_FOUND"
}Refresh presigned URLs
Reissue expired upload URLs. Live keys receive S3 presigned URLs; test keys receive absolute https://api.bizmori.com/api/v2/test-uploads/{signedToken} URLs. Both are valid for one hour.
- Only available for orders with
pendingstatus - For test orders, the response contains a BIZ MORI test upload URL instead of a storage presigned URL
curl -X POST https://api.bizmori.com/api/v2/orders/ORDER_ID/refresh-urls \
-H "Authorization: Bearer YOUR_API_TOKEN"const orderId = 'ORDER_ID';
const response = await fetch(
`https://api.bizmori.com/api/v2/orders/${orderId}/refresh-urls`,
{
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' }
}
);
const data = await response.json();import requests
order_id = 'ORDER_ID'
response = requests.post(
f'https://api.bizmori.com/api/v2/orders/{order_id}/refresh-urls',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders/{orderId}/refresh-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"files": [
{
"fileId": "<string>",
"fileName": "<string>",
"uploadUrl": "<string>",
"fileKey": "<string>"
}
]
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}{
"code": "WEBHOOK_NOT_FOUND"
}Authorizations
Bearer API key for external client access. Live keys use the sk_ prefix; test keys use the sk_test_ prefix and support order-lifecycle testing with mock responses without processing or credit usage.
Path Parameters
Order ID
Response
URLs refreshed successfully
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
File ID
File name
Upload URL. Live keys receive an S3 presigned URL; test keys receive an absolute https://api.bizmori.com/api/v2/test-uploads/{signedToken} URL. Both expire one hour after issue and can be renewed with POST /api/v2/orders/{orderId}/refresh-urls. PUT needs no Authorization header because the signed token authorizes the test upload. Test request bodies are streamed, not stored; test orders move to simulated results without usage consumption or actual external processing.
File identifier: an S3 object key for live keys or an isolated logical key for test keys.