POST
https://www.pictorem.com/artflow/0.1/validatepreorder/

Body

Key Type Value
form-data
preordercode text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional
bordercolorhex text ffffff
thanknotemsg text Nullam sagittis molestie augue at dictum.

PHP Curl

$postData = [
  'preordercode' => '1|acrylic|da9',
  'bordercolorhex' => 'ffffff',
  'thanknotemsg' => 'Nullam sagittis molestie augue at dictum.',
];
        

Response (JSON)

Success
        
Fail
        
POST
https://www.pictorem.com/artflow/0.1/getprice/

Body

Key Type Value
form-data
preordercode text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional
collectionid text xxxxxx
deliveryprovince text QC
deliverycountry text Canada

PHP Curl

$postData = [
  'preordercode' => '2|canvas|stretched|horizontal|30|24|303-12|semigloss|mirrorimage|c15|moulding|opt',
];
        

Response (JSON)

All Prices are in USD $
Success
{
  "status": true,
  "msg": [],
  "worksheet": {
    "enabledDiscount": true,
    "price": {
      "list": {
        "main": 20.0604444444444,
        "cert": 5
      },
      "discount": {
        "main": 6.01813333333332,
        "cert": 1.5
      },
      "artistCommission": {
        "main": 25.0604444444444
      },
      "artistCommissionDiscount": {
        "main": 7.51813333333332
      },
      "subTotal": 35.08462222222215,
      "taxes": {
        "taxPercentage": 0.14975,
        "taxGST": 1.7542311111111077,
        "taxPST": 3.4996910666666596
      },
      "total": 40.33854439999992
    }
  }
}
        
Fail
        
POST
https://www.pictorem.com/artflow/0.1/getleadtime/

Body

Key Type Value
form-data
preordercode text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional

PHP Curl

$postData = [
  'preordercode' => '2|canvas|stretched|horizontal|30|24|303-12|semigloss|mirrorimage|c15|moulding|opt',
];
        

Response (JSON)

Success
{
  "status": true,
  "msg": [],
  "data": {
    "productionLeadTime": 8
  }
}
        
Fail
        
POST
https://www.pictorem.com/artflow/0.1/sendorder/

Body

Key Type Value
form-data
ordercomment text Proin maximus magna ante, semper porttitor neque tincidunt et.
po text MY-PO-2026-001 — Your own PO / reference number. Searchable via getorderstatus.
----
deliveryInfo[firstname] text* Kathleen
deliveryInfo[lastname] text* Bernal
deliveryInfo[company] text Bennett Brothers
deliveryInfo[address1] text* 3371 Sycamore Lake Road
deliveryInfo[address2] text
deliveryInfo[city] text* Oshkosh
deliveryInfo[province] text* WI
deliveryInfo[country] text* USA
deliveryInfo[cp] text* 54901
deliveryInfo[phone] text 920-456-7364
---- Uploading Image
orderList[0][code] text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional
orderList[0][file] file* my-file.jpg (jpg/png/tiff)
orderList[0][thanknotemsg] text* Vivamus vel lobortis velit.
orderList[0][bordercolorhex] text* ffffff
---- Uploading URL
orderList[1][code] text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional
orderList[1][fileurl] text* https://images.unsplash.com/photo-1686753767715-37cb0c34212c?q=80&w=3987&auto=format
orderList[1][filetype] text* jpg (jpg/png/tiff)
---- From a Collection
orderList[2][code] text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional
orderList[2][collectionID] text* 357936

PHP Curl

$postData = [
  'delivery[firstname]' => 'Kathleen',
  'delivery[lastname]' => 'Bernal',
  'order[0][file]' => new CURLFile('/path/to/file.jpg') // Path to the file
];
        

Response (JSON)

Success
{
  "status": true,
  "msg": [],
  "orderid": xxxxxx
}
        
Fail
{
  "status": false,
  "msg": {
    "error": [
      "PreOrder Code: 2|canvas|stretched|horizontal|30|24|303-12|semigloss|mirrorimage|c15|mouldin3g|opt is NOT valid."
    ]
  },
  "orderid": null
}
        
POST
https://www.pictorem.com/artflow/0.1/getorderstatus/

Body

Key Type Value
form-data
orderid text 472174 — Pictorem order ID (use this or po)
po text MY-PO-2026-001 — Your PO number (use this or orderid)

Provide either orderid or po. Results are always scoped to your API account.

PHP Curl

// Search by Pictorem order ID
$postData = [
  'orderid' => '472174',
];

// — OR — search by your own PO number
$postData = [
  'po' => 'MY-PO-2026-001',
];

Response (JSON)

Success

{
  "status": true,
  "msg": [],
  "order": {
    "orderid": 472174,
    "po": "MY-PO-2026-001",
    "date": "2026-03-15 10:22:00",
    "order_status": "3",
    "order_status_label": "Shipped",
    "billing_status": "1",
    "billing_status_label": "Paid",
    "tracking_number": "1Z999AA10123456784",
    "tracking_carrier": "UPS",
    "total": 125.40,
    "currency": "USD",
    "delivery": {
      "firstname": "Kathleen",
      "lastname": "Bernal",
      "company": null,
      "address1": "3371 Sycamore Lake Road",
      "address2": null,
      "city": "Oshkosh",
      "province": "WI",
      "country": "USA",
      "postal": "54901"
    },
    "lines": [
      {
        "line_id": 889421,
        "status": "3",
        "status_label": "Shipped",
        "product": "canvas",
        "type": "stretched",
        "orientation": "horizontal",
        "width": "30",
        "height": "24",
        "qty": 1,
        "total": 125.40,
        "tracking": "1Z999AA10123456784"
      }
    ]
  }
}

Order Status Codes

CodeLabel
0Processing
1In Production
2Ready to Ship
3Shipped
4Delivered
5Cancelled
9Pending Payment
11Back Order

Fail

{
  "status": false,
  "msg": {
    "error": ["Order not found."]
  }
}
POST
https://www.pictorem.com/artflow/0.1/buildproductlist/

Body

Key Type Value
form-data
preordercode text* numCopies|material|type|orientation|width|height|additional|additional|additional|additional

PHP Curl

$postData = [
  'preordercode' => '1|acrylic|da9',
];
        

Response (JSON)

Success
{
  "status": true,
  "data": {
    "preordercode": "1|acrylic|da9",
    "preordersanitize": "1|acrylic|da8",
    "products": {
      ...
    }
  }
}
        
Fail

        

Headers

Key Value
artFlowKey 1b060d55ec113cbb752e9e1936dac1cf

PHP Curl

$url = "https://yourdomain.com/api/upload/";
$secretKey = "abcd";

// Create the form-data fields
$postData = [
  'delivery[fname]' => 'ksjdf',
  'delivery[lname]' => 'rigme',
  'order[0][title]' => 'ifmeirgm',
  'order[0][file]' => new CURLFile('/path/to/file.jpg') // Path to the file
];

// Initialize cURL
$ch = curl_init();

// Set cURL options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); // Send the form-data
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "secretKey: $secretKey", // Add the secret key to headers
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Execute the cURL request
$response = curl_exec($ch);

// Check for errors
if ($response === false) {
  echo "cURL Error: " . curl_error($ch);
} else {
  // Process the response
  echo "Response: " . $response;
}

// Close the cURL session
curl_close($ch);
          

JavaScript

const formData = new FormData();

// Add delivery details
formData.append("delivery[fname]", "ksjdf");
formData.append("delivery[lname]", "rigme");

// Add order details
formData.append("order[0][title]", "ifmeirgm");

// Add file to the form data
const fileInput = document.querySelector('#fileInput');
formData.append("order[0][file]", fileInput.files[0]);

// Perform the fetch POST request
fetch("/api/upload/", {
  method: "POST",
  headers: {
    "secretKey": "abcd" // Adding the custom header
  },
  body: formData
})
  .then(response => {
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }
    return response.json(); // Assuming the response is JSON
  })
  .then(data => {
    console.log("Success:", data);
  })
  .catch(error => {
    console.error("Error:", error);
  });
          
Choices
numCopies [number]
material acrylic
canvas
metal
paper
wood
panel
puzzle
mural
specialty
type
Acrylic:
- ac220
- da8
- da16
- ac4
- a38
- ng8
Canvas:
- stretched
- roll
Metal:
- al
- alw
- hd
- hds
Paper:
- poster
- glossphoto
- art
- vinyl
- pearl
Wood:
- ru14
- ru58
- pineveneer
Panel:
- plsintra
- plgatorplast
- plfomecor
- plpvc3
- plpvc6
- mdf12
- cor04
Puzzle:
- 120pcs
- 315pcs
- 500pcs
- 1000pcs
- 1500pcs
Mural:
- regular
Specialty:
- guitar
- skateboard
- snowboard
- surfboard
- 12rd
- 12sq
- 16rd
- 16sq
- 24rd
- 24sq
orientation vertical
horizontal
square ¹
width [number]
height [number]
additional
Packaging ¹:
- boxclassic
- boxply
- boxsleeve
- cra
- diebox
- emb
- mas
- sleeve
- tube
- rect
- none
- puzzelbox
- puzzelboxgift
Canvas Type ¹:
- regular
- matte
- semigloss
- silver
Canvas Wrap ¹:
- bordercolor
- mirrorimage
- imagewrap
Canvas Border Color ¹ ²:
- textbordercolor
Canvas Thickness ¹:
- c15
- c075
White Border ¹:
- none
- wb175
- wb25
Card:
- none
- thankyou
- thanksnote
Card Thank You Note ²:
- thanksnotemsg
Certificate:
- none
- cert
Cutting Option ¹:
- none
- circular ¹
- 2inchcut ¹
- roundedcorner ¹
- metalbox ¹
- diecut ¹
- polishedge ¹
Graphic:
- none
- opt
- retouch
Printing ¹:
- none
- blackink
- 2intransparency ¹
- selectivetransparency
- frost
- backlit
- autopen
- inborder
- noir ¹
- blanc
Varnish ¹:
- none
- knife ¹
Mounting ¹:
- none
- standoff ¹
- gromet ¹
- box ¹
- float ¹
- moulding ¹
- flush ¹
- frame ¹
- lam1 ¹
- sebbox
- lam2 ¹
- lam4c ¹
- drymount
- kraft
- sintraback
- walladhesive
- stretch
- stretch34
- csf15
- csf34
- masoniteback ¹
Mat Board ²:
- none
- mb01
- mb02
- mb03
- mb04
- mb05
- mb06
- mb07
- mb08
- mb09
- mb10
Plexi Glass ²:
- plexiglass
- plexinonglare
- plexiglassprint
- glass
Hanging ²:
- none
- wire
- cleat
- security
- sawtooth
- dring
Miscellaneous:
- signature
- mirror
additional (frame)
Decorative Moulding ²:
- 301-10 :: 301-10 Satin Gold Picture Frame
- 301-11 :: 301-11 Bronze Picture Frame
- 301-21 :: 301-21 Espresso Floating Frame
- 301-22 :: 301-22 White Floating Frame
- 301-29 :: 301-29 Black Floating Frame
- 303-11 :: 303-11 Espresso Floating Frame
- 303-12 :: 303-12 Natural Wood Floating Frame
- 303-19 :: 303-19 Black Floating Frame
- 317-11 :: 317-11 Bronze Floating Frame
- 317-21 :: 317-21 Espresso Floating Frame
- 317-22 :: 317-22 White Floating Frame
- 317-29 :: 317-29 Black Floating Frame
- 317-30 :: 317-30 Gold Floating Frame
- 317-73 :: 317-73 Silver Floating Frame
- 340-21 :: 340-21 Espresso Floating Frame
- 340-29 :: 340-29 Black Floating Frame
- 348-09 :: 348-09 Black Lacquer Picture Frame
- 360-02 :: 360-02 White Lacquer Floating Frame
- 360-09 :: 360-09 Black Lacquer Floating Frame
- 360-108 :: 360-108 Grey Floating Frame
- 360-11 :: 360-11 Bronze Floating Frame
- 360-111 :: 360-111 Wallnut Floating Frame
- 360-112 :: 360-112 Ivory Floating Frame
- 360-118 :: 360-118 Brown Floating Frame
- 360-18 :: 360-18 Charcoal Floating Frame
- 360-22 :: 360-22 White Floating Frame
- 360-23 :: 360-23 Warm Silver Floating Frame
- 360-29 :: 360-29 Black Floating Frame
- 360-30 :: 360-30 Gold Floating Frame
- 360-71 :: 360-71 Brown Woodgrain Floating Frame
- 360-72 :: 360-72 Off-white Woodgrain Floating Frame
- 360-73 :: 360-73 Silver Floating Frame
- 360-78 :: 360-78 Grey Woodgrain Floating Frame
- 360-79 :: 360-79 Black Woodgrain Floating Frame
- 360-81 :: 360-81 Dark Brown Woodgrain Floating Frame
- 360-82 :: 360-82 Natural Woodgrain Floating Frame
- 360-88 :: 360-88 Charcoal Woodgrain Floating Frame
- 361-121 :: 361-121 Heavy Brown Floating Frame
- 361-122 :: 361-122 White-brown Wood Floating Frame
- 361-128 :: 361-128 Light Grey Wood Floating Frame
- 361-131 :: 361-131 Brown Wood Floating Frame
- 361-138 :: 361-138 Grey Wood Floating Frame
- 514-42 :: 514-42 Floating Frame
- 514-48 :: 514-48 Floating Frame
- 514-49 :: 514-49 Floating Frame
- 514-71 :: 514-71 Floating Frame
- 514-72 :: 514-72 Floating Frame
- 514-81 :: 514-81 Wood Texture Floating Frame
- 515-48 :: 515-48 Charcoal Floating Frame
- 613-50 :: 613-50 Gold Floating Frame
- fl-814-08 :: Fl-814-08 Gold Antique Floating Frame
- fl-814-18 :: Fl-814-18 Walnut Floating Frame
- fl-814-22 :: Fl-814-22 Truffle Floating Frame
- fl-814-51 :: Fl-814-51 Pewter Floating Frame
- fl-814-52 :: Fl-814-52 Charcoal Floating Frame
- fl-814-61 :: Fl-814-61 Ebony Floating Frame
- fl-814-66 :: Fl-814-66 Champagne Floating Frame
- fl-814-67 :: Fl-814-67 Black Floating Frame
- fl-814-711 :: Fl-814-711 Silver Floating Frame
- fl-814-722 :: Fl-814-722 Gold Floating Frame
- fl-816-908 :: Fl-816-908 Antique Floating Frame
- fl-816-922 :: Fl-816-922 Truffle Floating Frame
- fl-816-952 :: Fl-816-952 Coal Floating Frame
- fl-816-966 :: Fl-816-966 Champagne Floating Frame
Picture Frame ²:
- 240-82 :: 240 Natural Wood Box Picture Frame
- 241-21 :: 241-21 Espresso Picture Frame
- 241-22 :: 241-22 White Picture Frame
- 241-29 :: 241-29 Black Picture Frame
- 2616-473 :: 2616-473 True Silver Large Frame Box
- 329-22 :: 329-22 White Picture Frame
- 329-29 :: 329-29 Black Picture Frame
- 330-22 :: 330 White Box Picture Frame
- 330-29 :: 330 Black Box Picture Frame
- 330-73 :: 330 Silver Box Picture Frame
- 331-09 :: 331-09 Black Shadow Box Frame
- 331-22 :: 331-22 White Picture Frame
- 331-29 :: 331-29 Black Picture Frame
- 432-21 :: 432-21 Espresso Picture Frame
- 432-22 :: 432 White Thin Picture Frame
- 432-29 :: 432 Black Thin Picture Frame
- 608-61 :: 608-61 Oak Woodgrain Thin Frame Box
- 608-78 :: 608-78 Charcoal Thin Frame Box
- 608-79 :: 608-79 Dark Brown Thin Frame Box
- 608-81 :: 608-81 Beige Barnwood Thin Frame Box
- 724-12 :: 724-12 Natural Picture Frame
- 724-19 :: 724-19 Black Picture Frame
- 724-32 :: 724-32 White Picture Frame
- 800-966 :: 800-966 Champagne Frame Box
- 820-545 :: 820-545 Black Lipped Frame Box
- 820-888 :: 820-888 Dark Brownframe Box
- 832-711 :: 832-711 Silver Picture Frame
- 832-722 :: 832-722 Gold Picture Frame
- 832-733 :: 832-733 Red Wood Picture Frame
- 84005 :: 84005 Natural Wood Thin Picture Frame
- fl-816-967 :: Fl-816-967 Black Floating Frame
- 306-11 :: 306-11 Bronze Floating Frame 0.75
- 306-22 :: 306-22 White Floating Frame 0.75
- 306-29 :: 306-29 Black Floating Frame 0.75
- 306-90 :: 306-90 Gold Floating Frame 0.75
- 365-11 :: 365-11 Espresso Floating Frame
- 365-12 :: 365-12 Natural Floating Frame
- 365-18 :: 365-18 Grey Floating Frame
- 365-19 :: 365-19 Black Floating Frame
- 365-31 :: 365-31 Walnut Floating Frame
- 132-29 :: 132-29 Black Picture Frame
- 132-31 :: 132-31 Espresso Picture Frame
- 135-200 :: 135-200 Verdigris With Black Lined Picture Frame
- 141-10 :: 141-10 Gold Picture Frame
- 141-15 :: 141-15 Bronze Picture Frame
- 141-21 :: 141-21 Espresso Picture Frame
- 141-22 :: 141-22 White Picture Frame
- 141-29 :: 141-29 Black Picture Frame
- 145-21 :: 145-21 Espresso Picture Frame
- 145-22 :: 145-22 White Picture Frame
- 145-29 :: 145-29 Black Picture Frame
- 157-950 :: 157-950 Light Gold Lipped Frame
- 165-21 :: 165-21 Light Walnut Picture Frame
- 186-21 :: 186-21 Redwood With Black Picture Frame
- 186-24 :: 186-24 Magogany With Black Picture Frame
- 186-29 :: 186-29 Black Picture Frame
- 24-260 :: 24-260 Gold Ornate Frame
- 24-263 :: 24-263 Silver Ornate Frame
- 297-12 :: 297-12 Natural Woodgrain Picture Frame
- 297-19 :: 297-19 Black Woodgrain Picture Frame
- 297-32 :: 297-32 White Woodgrain Picture Frame
- 41-10 :: 41-10 Gold Picture Frame
- 41-15 :: 41-15 Bronze Picture Frame
- 41-21 :: 41-21 Espresso Picture Frame
- 41-22 :: 41-22 White Picture Frame
- 41-29 :: 41-29 Black Picture Frame
- 429-121 :: 429-121 White-brown Barnwood Frame
- 429-122 :: 429-122 White-brown Barnwood Frame
- 429-125 :: 429-125 Dark Brown Barnwood Frame
- 429-128 :: 429-128 Grey Barnwood Frame
- 429-131 :: 429-131 Barnwood Frame
- 429-138 :: 429-138 Grey Thin Wood Frame
- 430-121 :: 430-122 Light Brown Wood Frame
- 430-122 :: 430-122 Brown-white Wood Frame
- 430-125 :: 430-125 Dark Brown Wood Frame
- 430-128 :: 430-128 Light Grey Wood Frame
- 430-131 :: 430-131 Brown Wood Frame
- 430-138 :: 430-138 Grey Wood Frame
- 431-29 :: 431-29 Black Picture Frame
- 520-21 :: 520-21 Red Wood Picture Frame
- 58-10 :: 58-10 Brushed Gold Classic Frame
- 58-13 :: 58-13 Brushed Silver Classic Frame
- 58-20 :: 58-20 Gold Classic Frame
- 58-23 :: 58-23 Silver Classic Frame
- 59-10 :: 59-10 Brushed Gold Large Classic Frame
- 59-13 :: 59-13 Brushed Silver Large Classic Frame
- 59-20 :: 59-20 Gold Large Classic Frame
- 59-210 :: 59-210 Gold Espresso Worn-out Frame
- 59-213 :: 59-213 Silver Espresso Worn-out Frame
- 59-23 :: 59-23 Silver Panel Frame
- 595-68 :: 595-68 Grey Barnwood Large Picture Frame
- 595-72 :: 595-72 Oak Barwood Large Picture Frame
- 595-78 :: 595-78 Brown Barnwood Large Picture Frame
- 602-53 :: 602-53 Silver Black Lipped Picture Frame
- 602-59 :: 602-59 Black Silver Lipped Picture Frame
- 608-72 :: 608-72 White Woodgrain Thin Frame Box
- 629-102 :: 629-102 White Lacquer Picture Frame
- 629-49 :: 629-49 Black Picture Frame
- 629-50 :: 629-50 Antique Gold Picture Frame
- 631-109 :: 631-109 Black Lacquer Picture Frame
- 631-42 :: 631-42 White Picture Frame
- 631-473 :: 631-473 Silver Picture Frame
- 631-49 :: 631-49 Black Picture Frame
- 631-50 :: 631-50 Gold Picture Frame
- 631-58 :: 631-58 Charcoal Picture Frame
- 631-63 :: 631-63 Warm Silver Picture Frame
- 631-71 :: 631-71 Walnut Woodgrain Picture Frame
- 631-81 :: 631-81 Dark Walnut Woodgrain Picture Frame
- 631-82 :: 631-82 Natural Woodgrain Picture Frame
- 631-88 :: 631-88 Charcoal Woodgrain Picture Frame
- 631-91 :: 631-91 Light Walnut Woodgrain Picture Frame
- 632-42 :: 632-42 White Picture Frame
- 632-473 :: 632-473 Silver Picture Frame
- 632-48 :: 632-48 Charcoal Picture Frame
- 632-49 :: 632-49 Black Picture Frame
- 632-55 :: 632-55 Bronze Picture Frame
- 661-40 :: 661-40 Bronze Silver Bamboo Stem Frame
- 661-43 :: 661-43 Silver Bamboo Stem Frame
- 661-49 :: 661-49 Espresso Bamboo Stem Frame
- 701-403 :: 701-403 Grey Thin Picture Frame
- 701-410 :: 701-410 Pink Thin Picture Frame
- 701-415 :: 701-415 Red Think Picture Frame
- 701-416 :: 701-046 Blue Think Picture Frame
- 701-419 :: 701-419 Pink Thin Picture Frame
- 701-851 :: 701-851 Champagne Picture Frame
- 701-871 :: 701-871 Silver Thin Picture Frame
- 701-948 :: 701-948 White Thin Picture Frame
- 701-blk :: 701-blk Black Thin Picture Frame
- 702-001 :: 702-001 Oak Large Picture Frame
- 702-011 :: 702-011 Silver Large Picture Frame
- 702-014 :: 702-014 Grey Large Picture Frame
- 702-045 :: 702-045 Black Large Picture Frame
- 702-051 :: 702-051 Brown Large Picture Frame
- 702-062 :: 702-062 Grain Black Large Picture Frame
- 702-067 :: 702-067 Grey Brown Large Picture Frame
- 702-084 :: 702-084 Red Brown Large Picture Frame
- 702-851 :: 702-851 Champagne Large Picture Frame
- 702-948 :: 702-948 White Large Picture Frame
- 706-21 :: 706-21 Red Wood Pictureframe
- 707-21 :: 707-21 Redwood Black Deco Picture Frame
- 707-29 :: 707-29 Black Deco Frame
- 725-29 :: 725-29
- 762-20 :: 762-20 Bronze Wood Frame
- 782-22 :: 782-22 White Picture Frame
- 782-29 :: 782-29 Black Picture Frame
- 783-22 :: 783-22 White Picture Frame
- 783-29 :: 783-29 Black Picture Frame
- 787-290 :: 787-290 Gold Picture Frame
- 787-293 :: 787-293 Stainless Picture Frame
- 787-393 :: 787-393 Silver Picture Frame
- 790-212 :: 790-212 Ivory Curving Frame
- 790-218 :: 790-218 Brown Curving Frame
- 790-221 :: 790-221 Walnut Curving Frame
- 790-229 :: 790-229 Black Curving Frame
- 790-231 :: 790-231 Espresso Curving Frame
- 800-967 :: 800-967 Black Frame Box
- 832-745 :: 832-745 Black Picture Frame
- 868-745 :: 868-745 Black Lipped Picture Frame
- 868-755 :: 868-755 Black With Gold Lipped Picture Frame
- 868-756 :: 868-756 Expresso With Gold Lipped Picture Frame
- 868-767 :: Expresso With Gold Lip
- 884-638 :: 884-638 Scratched Platinium Large Picture Frame
- 886-690 :: 886-690 Red Wood Large Picture Frame
- 886-740 :: 886-740 Redwood Large Picture Frame
- 892-1040 :: 892-1040 Gold Lipped Picture Frame
- 892-755 :: 892-755 Gold Lipped With Black Picture Frame
- 892-756 :: 892-756 Gold Lipped With Espresso Picture Frame
- 892-967 :: 892-967 Black Lipped Picture Frame
- 8947 :: 8947 Gold Picture Frame
1 Requires a specific MATERIAL
2 Requires a specific OPTION
POST
https://www.pictorem.com/artflow/0.1/getartworklist/

Get Artist Artwork Listing

Returns a paginated list of all artworks for a given artist, including all generated preview images (wall room previews, acrylic, metal, HD metal/sublimation, wood, wall murals, framed, canvas, split panels, puzzle, deco frame) along with full artwork metadata: keywords, categories, description, and stats.

Preview URLs are only returned for artworks where s3migration = 1 (images confirmed on S3). For artworks not yet on S3, the previews object will be empty.

Body

Key Type Description
form-data
userid text* Artist UserID (e.g. ABC123)
page text Page number — default: 1
limit text Items per page, max 100 — default: 48

Preview image keys returned

Key Condition Description
artworkalways (S3)Original artwork — full, small, big
gallerySmallalways (S3)Wall room cropped thumbnail (gallerysmall_{id}.jpg)
imageLinkalways (S3)Image link preview (imglink_{id}.jpg)
wallRoomPreviewbookwallrandom=1Room context — jpg, hires (webp), small
wallMockupbookwall=1Wall mockup — generated, wall, wallSmall
canvasPrintbook1=1Canvas — view1, view2, view3
acrylicPrintbookacrylic=1Acrylic — view1–4 + small variants
metalPrintbookmetalbrush=1Metal brush — view1–2 + small variants
hdMetalPrintbooksublim=1HD Metal / Sublimation — view1–3 + small variants
woodPrintbookwood=1Wood — view1, view2
wallMuralsbookmural=1Wall murals — view1–3 + small variants
framedPrintbookpictureframe=1Framed print — single URL (pf_{id}.jpg)
splitPanelsalways (S3)Split panels — split3, split3cross, split5cross
puzzlealways (S3)Puzzle — view1–2 + small variants
decoFramealways (S3)Deco frame — view1, preview

PHP Curl

$ch = curl_init('https://www.pictorem.com/artflow/0.1/getartworklist/');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['ArtFlowKey: YOUR_API_KEY']);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
  'userid' => 'ABC123',
  'page'   => '1',
  'limit'  => '48',
]);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
        

JavaScript Fetch

const body = new FormData();
body.append('userid', 'ABC123');
body.append('page',   '1');
body.append('limit',  '48');

fetch('https://www.pictorem.com/artflow/0.1/getartworklist/', {
  method:  'POST',
  headers: { 'ArtFlowKey': 'YOUR_API_KEY' },
  body:    body,
})
  .then(r => r.json())
  .then(data => console.log(data));
        

Response (JSON)

Success
{
  "status": true,
  "data": {
    "total": 147,
    "page": 1,
    "limit": 48,
    "pages": 4,
    "artworks": [
      {
        "id": 2452666,
        "name": "Mona Lisa",
        "author": "Stock Photography",
        "keywords": "classical, portrait, renaissance",
        "description": "...",
        "categories": { "main": "12" },
        "url": "https://www.pictorem.com/2452666/Mona-Lisa.html",
        "s3migration": 1,
        "stats": { "rating": 4.5, "nbRating": 12, "views": 340 },
        "createdAt": "2024-01-15 10:22:00",
        "previews": {
          "artwork":          { "full": "https://s3.pictorem.com/...", "small": "...", "big": "..." },
          "gallerySmall":     "https://s3.pictorem.com/.../gallerysmall_2452666.jpg",
          "wallRoomPreview":  { "jpg": "...", "hires": "...", "small": "..." },
          "acrylicPrint":     { "view1": "...", "view1small": "...", "view4": "...", "view4small": "..." },
          "metalPrint":       { "view1": "...", "view2": "..." },
          "hdMetalPrint":     { "view1": "...", "view2": "...", "view3": "..." },
          "woodPrint":        { "view1": "...", "view2": "..." },
          "wallMurals":       { "view1": "...", "view2": "...", "view3": "..." },
          "framedPrint":      "https://s3.pictorem.com/.../pf_2452666.jpg",
          "canvasPrint":      { "view1": "...", "view2": "...", "view3": "..." },
          "splitPanels":      { "split3": "...", "split3cross": "...", "split5cross": "..." },
          "puzzle":           { "view1": "...", "view1small": "...", "view2": "..." },
          "decoFrame":        { "view1": "...", "preview": "..." }
        }
      }
    ]
  }
}
        
Fail
{
  "status": false,
  "error": "userid is required"
}
        
Access Denied
{
  "status": false,
  "error": "Access Denied"
}