Skip to main content
POST
/
api
/
v2
/
orders
/
wtr-extract
cURL
curl -X POST https://api.bizmori.com/api/v2/orders/wtr-extract \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "idempotencyKey": "key-extract-001",
    "file": {
      "fileName": "watermarked.jpg"
    }
  }'
const response = await fetch('https://api.bizmori.com/api/v2/orders/wtr-extract', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
idempotencyKey: 'key-extract-001',
file: {
fileName: 'watermarked.jpg'
}
})
});
const data = await response.json();
import requests

response = requests.post(
'https://api.bizmori.com/api/v2/orders/wtr-extract',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
json={
'idempotencyKey': 'key-extract-001',
'file': {
'fileName': 'watermarked.jpg'
}
}
)
data = response.json()
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders/wtr-extract",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'idempotencyKey' => 'key-001',
'file' => [
'fileName' => 'watermarked.jpg'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.bizmori.com/api/v2/orders/wtr-extract"

payload := strings.NewReader("{\n \"idempotencyKey\": \"key-001\",\n \"file\": {\n \"fileName\": \"watermarked.jpg\"\n }\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

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/wtr-extract")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"idempotencyKey\": \"key-001\",\n \"file\": {\n \"fileName\": \"watermarked.jpg\"\n }\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.bizmori.com/api/v2/orders/wtr-extract")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"idempotencyKey\": \"key-001\",\n \"file\": {\n \"fileName\": \"watermarked.jpg\"\n }\n}"

response = http.request(request)
puts response.read_body
{
  "data": {
    "orderName": "wtr_extract_2026-02-13",
    "orderId": "123456789",
    "file": {
      "fileId": 1,
      "fileName": "watermarked.jpg",
      "uploadUrl": "https://s3.amazonaws.com/...",
      "fileKey": "123/456/watermarked.jpg",
      "fileFormat": "JPG",
      "fileType": "IMG",
      "role": "watermarked",
      "sequence": 1
    }
  }
}

Authorizations

Authorization
string
header
required

API Key for external client access

Body

application/json
idempotencyKey
string
required

Idempotency key

file
object
required

Response

Order created successfully

data
object