---
title: "Create Dictionary From File"
method: POST
path: "/dictionaries/create-from-file"
tags: ["Apis", "Dictionaries"]
---

# Create Dictionary From File

`POST /dictionaries/create-from-file`

## Request

- Base URL: `https://client.camb.ai/apis`
- URL: `https://client.camb.ai/apis/dictionaries/create-from-file`
- Auth: API key in header `x-api-key`

## Request body `multipart/form-data`

- CreateDictionaryFromFileRequestBody
  - `dictionary_file` string, binary, required: CSV or Excel Sheet Matching the required structure for a dictionary.
  - `dictionary_name` string, required: The name of the dictionary to be created. This is mainly used for organizational purposes.
  - `dictionary_description` string, nullable: The description of the dictionary to be created. This is an optional field that is used to help you provide some info about your dictionaries for better organization.

## Response `201`

Successful Response

- DictionaryCreated
  - `message` string: Human-readable feedback that communicates the outcome of the dictionary operation with actionable context for your application users. This message provides essential information about operation success, partial completion scenarios, or guidance for addressing any issues that occurred during processing.
  - `status` string: Standardized operation outcome indicator that enables programmatic response handling across all dictionary management workflows. This status field provides consistent, machine-readable confirmation of operation results, allowing your application logic to branch appropriately between success scenarios, partial completion cases, and error conditions.

## Other responses

- `206`: Successful Response
- `422`: Validation Error

---

[API](https://skmtc.dev/camb/apis/camb-api.md) - [All operations](https://skmtc.dev/camb/apis/camb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/camb/apis/camb-api/revisions/40ebeee64850?raw)
