---
title: "Upsert an organization catalog filament by partner external id"
method: POST
path: "/v1/filament-catalog"
tags: ["Materials", "Public"]
---

# Upsert an organization catalog filament by partner external id

`POST /v1/filament-catalog`

## Request

- Base URL: `https://api.printhiv3d.com`
- URL: `https://api.printhiv3d.com/v1/filament-catalog`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

## Request body

- object
  - `externalId` string, required
  - `brand` string, required
  - `material` string, required
  - `colorName` string, required
  - `colorHex` string
  - `hex` string
  - `sku` string, required
  - `replacementFilamentId` string, nullable

## Response `200`

Default Response

- object
  - `id` string, uuid, required
  - `name` string
  - `brand` string, nullable
  - `material_type` string
  - `category` string
  - `sku` string, nullable
  - `color` string, nullable
  - `colors` string[]
  - `colorName` string, nullable
  - `diameter` number, nullable
  - `organization_id` string, uuid, nullable
  - `import_source_product_id` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `default`: Unexpected error response

## Changes

- **2026-11-10** `09f2403145b5`: 2 info
  - api operation id `upsertCatalogFilament` was added
  - added the media type `application/json` for the response with the status `200`
- **2026-11-09** `48e1ada05d57`: 2 warning
  - changed the pattern of the request property `colorHex` from `^#[0-9a-fA-F]{6}$` to `^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$`
  - changed the pattern of the request property `hex` from `^#[0-9a-fA-F]{6}$` to `^#[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?$`
- **2026-11-03** `a6be4909e009`: 2 info
  - the endpoint scheme security `apiKeyAuth` was added to the API
  - the endpoint scheme security `bearerAuth` was added to the API
- **2026-11-01** `5c27b7de1bed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/printhiv3d/apis/hive-api-documentation/changes/v1/filament-catalog/post.md)

---

[API](https://skmtc.dev/printhiv3d/apis/hive-api-documentation.md) - [All operations](https://skmtc.dev/printhiv3d/apis/hive-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/printhiv3d/apis/hive-api-documentation/revisions/6afee52e34ac?raw)
