# Inlet

> Check your cosmetics and food products against each market's regulations, and keep their SKUs, alerts and tasks moving.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/inlet

## Actions

### Add task comment

Comment on a task.

**Inputs**

- Task (`id`, text, required): The task's ID.
- Comment (`content`, text, required): What to say.

**Outputs**

- `data` (object): The comment as Inlet sends it back.

**Example output**

```json
{
  "data": {}
}
```

### Create SKU

Add a product to Inlet.

**Inputs**

- Name (`name`, text, required): The product's name.
- Category (`category`, text, required): The product category, which decides the rules that apply. One of: `skin_care` (Skin care), `hair_care` (Hair care), `makeup`, `fragrance`, `oral_care` (Oral care), `food`, `beverage`, `food_additive` (Food additive).
- Brand (`brand`, text): The product's brand.
- Description (`description`, text): A short description of the product.
- Status (`status`, text): Draft SKUs can't be checked. Leave empty for Draft. One of: `draft`, `active`, `archived`.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "brand": "GlowLab",
    "category": "skin_care",
    "claims": [
      {
        "claim_text": "Broad spectrum SPF 30",
        "claim_type": "efficacy",
        "id": "2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e"
      }
    ],
    "company_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "created_at": "2026-03-15T10:30:00Z",
    "description": "Lightweight hydrating cream with broad-spectrum SPF 30",
    "form_factor": "cream",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "ingredients": [
      {
        "concentration": 65.0,
        "function": "solvent",
        "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "inci_name": "Aqua"
      }
    ],
    "intended_use": "Daily facial moisturizer with sun protection",
    "name": "Hydrating Face Cream SPF 30",
    "status": "active",
    "subcategory": "moisturizer",
    "tags": [
      "spf",
      "daily-use",
      "summer-2026"
    ],
    "updated_at": "2026-04-10T14:22:00Z",
    "version": 3
  }
}
```

### Create task

Add a regulatory task, optionally about a product and market.

**Inputs**

- Title (`title`, text, required): What needs doing.
- Type (`task_type`, text, required): The kind of work. One of: `compliance_review` (Compliance review), `label_review` (Label review), `ingredient_check` (Ingredient check), `market_registration` (Market registration), `formula_change` (Formula change), `claim_substantiation` (Claim substantiation), `regulatory_update` (Regulatory update), `documentation`, `supplier_audit` (Supplier audit), `stability_testing` (Stability testing), `safety_assessment` (Safety assessment), `general`.
- Priority (`priority`, text): How urgent it is. One of: `low`, `medium`, `high`, `urgent`.
- SKU (`sku_id`, text): The SKU it is about, by its ID.
- Market (`market_code`, text): The market it is about. Pick one, or type its code, such as EU.
- Assignee (`assigned_to_id`, text): The ID of the person to assign it to.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "assigned_to_id": "9f8e7d6c-5b4a-4321-8f0e-1d2c3b4a5f6e",
    "description": "Retinol at 1.2% exceeds the EU recommended limit for leave-on products.",
    "id": "d4e5f6a7-b8c9-0123-def4-56789abcdef0",
    "market_code": "EU",
    "priority": "high",
    "sku_id": "550e8400-e29b-41d4-a716-446655440000",
    "sort_order": 2,
    "status": "in_progress",
    "tags": [
      "retinol",
      "reformulation"
    ],
    "task_number": 42,
    "task_type": "compliance_review",
    "title": "Review Retinol concentration for EU compliance"
  }
}
```

### Delete compliance check

Delete one compliance check's result.

**Inputs**

- Check (`id`, text, required): The check's ID, from List compliance checks.

**Outputs**

- `data` (object): What Inlet sends back.

**Example output**

```json
{
  "data": {}
}
```

### Delete SKU

Delete a product from Inlet.

**Inputs**

- SKU (`id`, text, required): The SKU's ID, from List SKUs.

**Outputs**

- `data` (object): What Inlet sends back.

**Example output**

```json
{
  "data": {}
}
```

### Dismiss alert

Dismiss an alert you have dealt with.

**Inputs**

- Alert (`id`, text, required): The alert's ID, from List alerts.

**Outputs**

- `data` (object): What Inlet sends back.

**Example output**

```json
{
  "data": {}
}
```

### Get compliance report

Get the latest compliance check of a product in one market, with every rule's result.

**Inputs**

- SKU (`sku_id`, text, required): The SKU's ID, from List SKUs.
- Market (`market`, text, required): The market. Pick one, or type its code, such as EU.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "created_at": "2026-04-12T10:15:00Z",
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "market": "EU",
    "overall_confidence": 0.87,
    "overall_status": "needs_review",
    "results": [
      {
        "check_layer": "conditional",
        "citation": "EU Reg 1223/2009 Annex III, Entry 98",
        "confidence": 0.72,
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "ingredient_id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "regulation_id": "8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d",
        "status": "warning",
        "suggested_remediation": "Reduce concentration to 0.3% or reclassify as rinse-off",
        "violation_detail": "Concentration exceeds limit for leave-on products"
      }
    ],
    "sku_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
```

### Get compliance totals

Count your compliance checks by verdict.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "compliant": 97,
    "needs_review": 22,
    "non_compliant": 9,
    "total_checks": 128
  }
}
```

### Get current user

See which Inlet user and company the API key belongs to.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "company": "GlowLab",
    "email": "dev@yourcompany.com",
    "id": "9f8e7d6c-5b4a-4321-8f0e-1d2c3b4a5f6e",
    "is_staff": false,
    "role": "admin",
    "username": "dev"
  }
}
```

### Get dashboard totals

Get your headline numbers: SKUs, compliance rate, markets, pending reviews and active tasks.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "active_skus": 39,
    "active_tasks": 11,
    "compliance_rate": 82.5,
    "markets": 3,
    "pending_reviews": 6,
    "total_skus": 47
  }
}
```

### Get ingredient

Get an ingredient's details.

**Inputs**

- Ingredient (`id`, text, required): The ingredient's ID, from Search ingredients.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "cas_number": "68-26-8",
    "category": "active",
    "common_names": [
      "Vitamin A",
      "Vitamin A Alcohol"
    ],
    "cosing_functions": [
      "Skin conditioning"
    ],
    "description": "A form of vitamin A used in anti-aging skincare products",
    "e_number": "E160a",
    "ec_number": "200-683-7",
    "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
    "inci_name": "Retinol",
    "review_status": "approved",
    "source": "seed",
    "synonyms": [
      "all-trans-Retinol",
      "Vitamin A1"
    ]
  }
}
```

### Get market

Get a market's details by its code.

**Inputs**

- Market (`code`, text, required): The market. Pick one, or type its code, such as EU.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "code": "EU",
    "coming_soon": false,
    "flag_emoji": "\ud83c\uddea\ud83c\uddfa",
    "id": "e5f6a7b8-c9d0-1234-ef56-789abcdef012",
    "is_active": true,
    "name": "European Union",
    "region": "Europe",
    "regulation_count": 847,
    "regulatory_body": "European Commission / ECHA",
    "sub_regions": [
      {
        "code": "EU-FR",
        "name": "France"
      }
    ]
  }
}
```

### Get SKU

Get a product with its ingredients and claims.

**Inputs**

- SKU (`id`, text, required): The SKU's ID, from List SKUs.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "brand": "GlowLab",
    "category": "skin_care",
    "claims": [
      {
        "claim_text": "Broad spectrum SPF 30",
        "claim_type": "efficacy",
        "id": "2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e"
      }
    ],
    "company_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "created_at": "2026-03-15T10:30:00Z",
    "description": "Lightweight hydrating cream with broad-spectrum SPF 30",
    "form_factor": "cream",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "ingredients": [
      {
        "concentration": 65.0,
        "function": "solvent",
        "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "inci_name": "Aqua"
      }
    ],
    "intended_use": "Daily facial moisturizer with sun protection",
    "name": "Hydrating Face Cream SPF 30",
    "status": "active",
    "subcategory": "moisturizer",
    "tags": [
      "spf",
      "daily-use",
      "summer-2026"
    ],
    "updated_at": "2026-04-10T14:22:00Z",
    "version": 3
  }
}
```

### Get task

Get a task's details.

**Inputs**

- Task (`id`, text, required): The task's ID, from Create task.

**Outputs**

- `data` (object): The task with its comments.

**Example output**

```json
{
  "data": {
    "assigned_to_id": "9f8e7d6c-5b4a-4321-8f0e-1d2c3b4a5f6e",
    "description": "Retinol at 1.2% exceeds the EU recommended limit for leave-on products.",
    "id": "d4e5f6a7-b8c9-0123-def4-56789abcdef0",
    "market_code": "EU",
    "priority": "high",
    "sku_id": "550e8400-e29b-41d4-a716-446655440000",
    "sort_order": 2,
    "status": "in_progress",
    "tags": [
      "retinol",
      "reformulation"
    ],
    "task_number": 42,
    "task_type": "compliance_review",
    "title": "Review Retinol concentration for EU compliance"
  }
}
```

### List alerts

List regulatory alerts about your products and markets, filtered by severity, category or market.

**Inputs**

- Severity (`severity`, list): Only alerts of these severities. One or more of: `critical`, `high`, `medium`, `low`, `info`.
- Category (`category`, text): Only alerts of this kind, such as regulatory_update or ingredient_ban.
- Market (`market_code`, text): Only this market. Pick one, or type its code, such as EU.
- Dismissed (`dismissed`, true/false): Turn on for dismissed alerts only, off for the rest.
- Page size (`page_size`, number): How many a page holds, up to 100. Inlet sends 50 when empty. From 1 to 100.
- Next page (`cursor`, text): The next_cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "has_more": true,
    "items": [
      {
        "action_label": "View affected SKUs",
        "action_type": "navigate",
        "category": "regulatory_update",
        "created_at": "2026-04-10T08:00:00Z",
        "deadline": "2026-05-01T23:59:59Z",
        "description": "The ECHA restriction proposal for PFAS in cosmetics enters final comment period on May 1, 2026.",
        "id": "c3d4e5f6-a7b8-9012-cdef-3456789abcde",
        "is_dismissed": false,
        "is_read": false,
        "is_resolved": false,
        "market_code": "EU",
        "severity": "high",
        "sku_id": "550e8400-e29b-41d4-a716-446655440000",
        "title": "EU PFAS Restriction Proposal - Comment Period Closing"
      }
    ],
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNC0xMCJ9",
    "total": 47
  }
}
```

### List compliance checks

List one page of past compliance checks, filtered by verdict, market, SKU or date.

**Inputs**

- Verdict (`status`, text): Only checks with this verdict. One of: `compliant`, `needs_review` (Needs review), `non_compliant` (Not compliant), `uncertain`, `pending`.
- Market (`market`, text): Only this market. Pick one, or type its code, such as EU.
- SKU (`sku_id`, text): Only checks of this SKU, by its ID.
- From (`date_from`, date): Only checks run on or after this day.
- To (`date_to`, date): Only checks run on or before this day.
- Page size (`page_size`, number): How many a page holds, up to 100. Inlet sends 50 when empty. From 1 to 100.
- Next page (`cursor`, text): The next_cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "has_more": true,
    "items": [
      {
        "created_at": "2026-04-12T10:15:00Z",
        "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "market": "EU",
        "overall_confidence": 0.87,
        "overall_status": "needs_review",
        "sku_id": "550e8400-e29b-41d4-a716-446655440000"
      }
    ],
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNC0xMCJ9",
    "total": 47
  }
}
```

### List ingredients

List one page of Inlet's ingredient database, filtered as you choose.

**Inputs**

- Search for (`search`, text): Words in the ingredient's name.
- Kind (`category`, text): Only this kind of ingredient, such as preservative.
- Starts with (`letter`, text): Only ingredients whose name starts with this letter.
- Has rules (`has_regulations`, true/false): Turn on for only ingredients that some regulation covers.
- Page size (`page_size`, number): How many a page holds, up to 100. Inlet sends 50 when empty. From 1 to 100.
- Next page (`cursor`, text): The next_cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "has_more": true,
    "items": [
      {
        "cas_number": "68-26-8",
        "category": "active",
        "common_names": [
          "Vitamin A",
          "Vitamin A Alcohol"
        ],
        "cosing_functions": [
          "Skin conditioning"
        ],
        "description": "A form of vitamin A used in anti-aging skincare products",
        "e_number": "E160a",
        "ec_number": "200-683-7",
        "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "inci_name": "Retinol",
        "review_status": "approved",
        "source": "seed",
        "synonyms": [
          "all-trans-Retinol",
          "Vitamin A1"
        ]
      }
    ],
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNC0xMCJ9",
    "total": 47
  }
}
```

### List markets

List the markets Inlet can check products against, with their codes.

**Inputs**: None.

**Outputs**

- `data` (list): The markets.

**Example output**

```json
{
  "data": [
    {
      "code": "EU",
      "coming_soon": false,
      "flag_emoji": "\ud83c\uddea\ud83c\uddfa",
      "id": "e5f6a7b8-c9d0-1234-ef56-789abcdef012",
      "is_active": true,
      "name": "European Union",
      "region": "Europe",
      "regulation_count": 847,
      "regulatory_body": "European Commission / ECHA"
    }
  ]
}
```

### List SKUs

List one page of your products, filtered as you choose.

**Inputs**

- Status (`status`, text): Only SKUs with this status. One of: `draft`, `active`, `archived`.
- Category (`category`, text): Only SKUs in this category. One of: `skin_care` (Skin care), `hair_care` (Hair care), `makeup`, `fragrance`, `oral_care` (Oral care), `food`, `beverage`, `food_additive` (Food additive).
- Brand (`brand`, text): Only SKUs of this brand.
- Search for (`search`, text): Words in the SKU's name.
- Tag (`tags`, text): Only SKUs with this tag.
- Page size (`page_size`, number): How many a page holds, up to 100. Inlet sends 50 when empty. From 1 to 100.
- Next page (`cursor`, text): The next_cursor from the page before, to read the page after it.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "has_more": true,
    "items": [
      {
        "brand": "GlowLab",
        "category": "skin_care",
        "company_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "created_at": "2026-03-15T10:30:00Z",
        "description": "Lightweight hydrating cream with broad-spectrum SPF 30",
        "form_factor": "cream",
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "intended_use": "Daily facial moisturizer with sun protection",
        "name": "Hydrating Face Cream SPF 30",
        "status": "active",
        "subcategory": "moisturizer",
        "tags": [
          "spf",
          "daily-use",
          "summer-2026"
        ],
        "updated_at": "2026-04-10T14:22:00Z",
        "version": 3
      }
    ],
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNC0xMCJ9",
    "total": 47
  }
}
```

### Match ingredient name

Find the ingredients closest to a name that may be misspelled, with how close each is.

**Inputs**

- Name (`name`, text, required): The ingredient name as you have it, such as retinoll.
- Closeness (`threshold`, number): How close a match must be, from 0 to 1. From 0 to 1.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "matches": [
      {
        "ingredient": {
          "cas_number": "68-26-8",
          "category": "active",
          "common_names": [
            "Vitamin A",
            "Vitamin A Alcohol"
          ],
          "cosing_functions": [
            "Skin conditioning"
          ],
          "description": "A form of vitamin A used in anti-aging skincare products",
          "e_number": "E160a",
          "ec_number": "200-683-7",
          "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
          "inci_name": "Retinol",
          "review_status": "approved",
          "source": "seed",
          "synonyms": [
            "all-trans-Retinol",
            "Vitamin A1"
          ]
        },
        "score": 0.95
      }
    ]
  }
}
```

### Run compliance check

Check a product against the rules of one or more markets.

**Inputs**

- SKU (`sku_id`, text, required): The SKU to check. It can't be a draft.
- Markets (`markets`, list, required): The codes of the markets to check against, such as US and EU.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "created_at": "2026-04-12T10:15:00Z",
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "market": "EU",
    "overall_confidence": 0.87,
    "overall_status": "needs_review",
    "results": [
      {
        "check_layer": "conditional",
        "citation": "EU Reg 1223/2009 Annex III, Entry 98",
        "confidence": 0.72,
        "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
        "ingredient_id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "regulation_id": "8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d",
        "status": "warning",
        "suggested_remediation": "Reduce concentration to 0.3% or reclassify as rinse-off",
        "violation_detail": "Concentration exceeds limit for leave-on products"
      }
    ],
    "sku_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
```

### Run compliance checks for several SKUs

Check several products against the rules of one or more markets at once.

**Inputs**

- SKUs (`sku_ids`, list, required): The IDs of the SKUs to check. None can be a draft.
- Markets (`markets`, list, required): The codes of the markets to check against, such as US, EU and CA.

**Outputs**

- `data` (list): A check for each SKU and market.

**Example output**

```json
{
  "data": [
    {
      "created_at": "2026-04-12T10:15:00Z",
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "market": "EU",
      "overall_confidence": 0.87,
      "overall_status": "needs_review",
      "results": [
        {
          "check_layer": "conditional",
          "citation": "EU Reg 1223/2009 Annex III, Entry 98",
          "confidence": 0.72,
          "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
          "ingredient_id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
          "regulation_id": "8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d",
          "status": "warning",
          "suggested_remediation": "Reduce concentration to 0.3% or reclassify as rinse-off",
          "violation_detail": "Concentration exceeds limit for leave-on products"
        }
      ],
      "sku_id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ]
}
```

### Search ingredients

Find ingredients by INCI name, CAS number or common name.

**Inputs**

- Search for (`q`, text, required): An INCI name, CAS number or common name, such as retinol.
- Limit (`limit`, number): The most ingredients to return. At least 1.

**Outputs**

- `data` (object): The response from Inlet.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "cas_number": "68-26-8",
        "category": "active",
        "common_names": [
          "Vitamin A",
          "Vitamin A Alcohol"
        ],
        "cosing_functions": [
          "Skin conditioning"
        ],
        "description": "A form of vitamin A used in anti-aging skincare products",
        "e_number": "E160a",
        "ec_number": "200-683-7",
        "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "inci_name": "Retinol",
        "review_status": "approved",
        "source": "seed",
        "synonyms": [
          "all-trans-Retinol",
          "Vitamin A1"
        ]
      }
    ]
  }
}
```

### Update SKU

Change a product's name, category, brand, status or tags.

**Inputs**

- SKU (`id`, text, required): The SKU's ID, from List SKUs.
- Name (`name`, text): A new name. Leave empty to keep it.
- Category (`category`, text): A new category. Leave empty to keep it. One of: `skin_care` (Skin care), `hair_care` (Hair care), `makeup`, `fragrance`, `oral_care` (Oral care), `food`, `beverage`, `food_additive` (Food additive).
- Brand (`brand`, text): A new brand. Leave empty to keep it.
- Status (`status`, text): A new status. Leave empty to keep it. One of: `draft`, `active`, `archived`.
- Tags (`tags`, list): The SKU's tags, replacing the ones it has. Leave empty to keep them.

**Outputs**

- `data` (object): The SKU as Inlet sends it back.

**Example output**

```json
{
  "data": {}
}
```

### Update task

Move a task to another status, change its priority or title, or reassign it.

**Inputs**

- Task (`id`, text, required): The task's ID.
- Status (`status`, text): A new status. Leave empty to keep it. One of: `open`, `in_progress` (In progress), `review` (In review), `blocked`, `completed`, `cancelled`.
- Priority (`priority`, text): A new priority. Leave empty to keep it. One of: `low`, `medium`, `high`, `urgent`.
- Title (`title`, text): A new title. Leave empty to keep it.
- Assignee (`assigned_to_id`, text): The ID of the person to reassign it to. Leave empty to keep it.

**Outputs**

- `data` (object): The task as Inlet sends it back.

**Example output**

```json
{
  "data": {}
}
```
