Skip to main content
GET
/
products
List products
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/products \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "category": "<string>",
      "requires_assembly": true,
      "requires_post_processing": true,
      "image_url": "<string>",
      "images": [
        {
          "id": "<string>",
          "sort_order": 123,
          "url": "<string>"
        }
      ],
      "is_active": true,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "meta": {
    "limit": 123,
    "offset": 123,
    "count": 123
  }
}

Authorizations

Authorization
string
header
required

API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.

Query Parameters

category
string

Filter by exact category label

is_active
enum<string>

Filter to active or inactive products

Available options:
true,
false

Case-insensitive substring match against name and description

limit
integer
default:50

Maximum number of rows to return (1-100)

Required range: 1 <= x <= 100
offset
integer | null
default:0

Number of rows to skip for pagination

Required range: x >= 0

Response

Product list

success
enum<boolean>
required
Available options:
true
data
object[]
required
meta
object
required