---
title: "Create a supplier from a raw supplier text cluster"
method: POST
path: "/suppliers/raw-text-clusters/create-supplier"
tags: ["Suppliers"]
---

# Create a supplier from a raw supplier text cluster

`POST /suppliers/raw-text-clusters/create-supplier`

## Request

- Base URL: `https://api.greentally.ai/v1`
- URL: `https://api.greentally.ai/v1/suppliers/raw-text-clusters/create-supplier`
- Auth: HTTP bearer

## Request body

- CreateSupplierFromRawTextClusterRequest
  - `clusterId` string, required
  - `supplierName` string, required

## Response `201`

Supplier created and raw text cluster confirmed

- SupplierRawTextResolutionResponse
  - `data` SupplierRawTextResolution, required
    - `clusterId` string, required
    - `status` 'resolved' | 'ignored' | 'unresolved', required
    - `supplierId` string
  - `meta` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: PERIOD_LOCKED: rows of the request fall in a closed month; nothing was written. details carries periodFrom, periodTo, lockId, rows and, for stored rows, sourceRecordIds (at most 1,000). Any other conflict the operation answers also uses 409 (ErrorResponse error.code).

## Changes

- **2026-10-09** `840a458f7a4d`: 1 info
  - added the non-success response with the status `409`

[Operation history](https://skmtc.dev/greentally/apis/esgai-api/changes/suppliers/raw-text-clusters/create-supplier/post.md)

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greentally/apis/esgai-api/revisions/7eab940f1dd0?raw)
