cURL
curl -X GET "https://api.bizmori.com/api/v2/orders?page=1&limit=10&status=all" \
-H "Authorization: Bearer YOUR_API_TOKEN"const params = new URLSearchParams({ page: 1, limit: 10, status: 'all' });
const response = await fetch(
`https://api.bizmori.com/api/v2/orders?${params}`,
{ headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }
);
const data = await response.json();import requests
response = requests.get(
'https://api.bizmori.com/api/v2/orders',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
params={'page': 1, 'limit': 10, 'status': 'all'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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"
req, _ := http.NewRequest("GET", 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.get("https://api.bizmori.com/api/v2/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"orders": [
{
"orderId": "<string>",
"orderName": "<string>",
"fileCount": 123,
"thumbnailImageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"probability": 123
}
],
"pageInfo": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123
}
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}Orders
주문 목록 조회
페이지네이션을 포함한 주문 목록을 조회합니다.
- 상태, 타입, 채널로 필터링 가능
- 키워드 검색 지원
- 최신순 정렬
GET
/
api
/
v2
/
orders
cURL
curl -X GET "https://api.bizmori.com/api/v2/orders?page=1&limit=10&status=all" \
-H "Authorization: Bearer YOUR_API_TOKEN"const params = new URLSearchParams({ page: 1, limit: 10, status: 'all' });
const response = await fetch(
`https://api.bizmori.com/api/v2/orders?${params}`,
{ headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }
);
const data = await response.json();import requests
response = requests.get(
'https://api.bizmori.com/api/v2/orders',
headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
params={'page': 1, 'limit': 10, 'status': 'all'}
)
data = response.json()<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bizmori.com/api/v2/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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"
req, _ := http.NewRequest("GET", 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.get("https://api.bizmori.com/api/v2/orders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bizmori.com/api/v2/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"orders": [
{
"orderId": "<string>",
"orderName": "<string>",
"fileCount": 123,
"thumbnailImageUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"probability": 123
}
],
"pageInfo": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"itemsPerPage": 123
}
}
}{
"code": "AUTH_NOT_AUTHENTICATED"
}인증
외부 클라이언트 접근을 위한 API 키
쿼리 매개변수
페이지 번호
필수 범위:
x >= 1페이지당 항목 수 (-1은 전체 조회)
필수 범위:
1 <= x <= 100검색 키워드
상태 필터
사용 가능한 옵션:
pending, inProgress, complete, failed, expired, all 주문 타입 필터
사용 가능한 옵션:
antiAi, watermarkEmbed, watermarkExtract, aiDetection, all 채널 필터
사용 가능한 옵션:
api, web, all 응답
성공
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
주문 ID
주문 이름
주문 타입
사용 가능한 옵션:
antiAi, watermarkEmbed, watermarkExtract, aiDetection 주문 채널
사용 가능한 옵션:
api, web 주문 상태
- pending - 대기 중
- inProgress - 처리 중
- complete - 완료
- failed - 실패
- expired - 만료됨 (주문 생성 후 7일이 지나면 파일 다운로드 불가)
사용 가능한 옵션:
pending, inProgress, complete, failed, expired 파일 수
썸네일 이미지 URL (프리사인드 URL)
생성 시각
수정일시
AI 감지 확률 (aiDetection 주문 전용)
AI 감지 결과 코드 (aiDetection 주문 전용)
- likely_real - 실제 콘텐츠일 가능성 높음
- uncertain_real - 불확실, 실제 콘텐츠 쪽에 가까움
- uncertain_ai - 불확실, AI 생성 쪽에 가까움
- likely_ai - AI 생성 콘텐츠일 가능성 높음
사용 가능한 옵션:
likely_real, uncertain_real, uncertain_ai, likely_ai ⌘I