---
title: "Add Glossary"
method: POST
path: "/glossaries"
tags: ["Glossaries"]
---

# Add Glossary

`POST /glossaries`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/glossaries`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/glossaries/post.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `glossary` (Read and Write).

## Request body

- EnterpriseGlossaryCreateForm
  - `name` string, required: Glossary name
  - `languageId` string, required: Glossary Language Identifier. Get via [List Supported Languages](#operation/api.languages.getMany)
  - `groupId` integer: Group Identifier – defines group to which Glossary is added. Get via [List Groups](#operation/api.groups.getMany) * * If '0' – Glossary will be available for all projects and groups in your workspace
  - `isShared` boolean: Whether the glossary should be shared across all projects within the group

## Response `201`

Glossary was successfully created

- EnterpriseGlossaryResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` Glossary, required
    - `id` integer
    - `name` string, nullable
    - `groupId` integer
    - `userId` integer
    - `terms` integer
    - `languageId` string
    - `languageIds` string[]
    - `defaultProjectIds` integer[]
    - `projectIds` integer[]
    - `isShared` boolean: Whether the glossary should be shared across all projects within the group
    - `webUrl` string
    - `createdAt` string, date-time

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Group with specified id was not found
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
