Skip to main content
GET
/
colors
List color presets
curl --request GET \
  --url https://api.autoprintfarm.com/public/v1/colors \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "color_name": "<string>",
      "hex_code": "<string>",
      "filament_type": "<string>",
      "is_active": true,
      "created_at": "<string>"
    }
  ]
}

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

filament_type
string

Filter by filament type (e.g. PLA, PETG)

is_active
enum<string>

Filter to active or inactive presets

Available options:
true,
false

Response

Color preset list

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