> ## Documentation Index
> Fetch the complete documentation index at: https://developer.worldly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Blended Material in MSI

> This recipe shows how to create a new custom material blend in MSI.

```bash theme={null}
curl --location --request POST 'https://api-v2.production.higg.org/msi-api/materials/create' \
--header 'higg-api-token: your-api-token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{

    "name": "Organic/Poly Blend",
    "code": "my PLM code",
    "category": "TX",
    "baseMaterials":[{
        "baseMaterialId": "TX0010",
        "blendPercentage": 60,
        "processId": "PR0804000137"

    }, {
        "baseMaterialId": "TX0001",
        "blendPercentage": 40
    }]
    }'
```

```json theme={null}
{"success":true}
```

# Set your api token

# Set your material name

This can be any name you like, but names must be unique within your MSI library.

# Optionally set a code

Use this field if you have a unique material identifier from an external system.

# Set the category

The category is required. This does not impact calculation but is used for classifying materials in the library.

See [MSI Get Material Categories](/v0.1/reference/msi-get-material-categories) for additional information.

# Set the base materials

Each of your custom material in MSI contains reference(s) to the MSI base materials. These are referenced by a BaseMaterialId.

See [MSI Get Base Materials](/v0.1/reference/msi-get-base-materials) for additional information about how to retrieve a master list of base materials and their IDs.

# Set blend percentages

For blends, simply include the percentage of each base material.

# Optionally set process ID

Optionally, you can also set a processID to customize things like the raw material source.

See [MSI Get Processes for Base Material](/v0.1/reference/msi-get-processes-for-base-material) for how to get a list of available processes and their IDs for a given base material.
