---
agentTools:
  projectIndex: https://motaword.readme.io/llms.txt
---

# Upload a glossary

Upload a glossary to accompany your translation project. Glossaries and style guides are not processed or shown to anybody until you [launch](http://motaword.readme.io/docs/start-a-project) your project.

[block:callout]
{
  "type": "info",
  "title": "Supported formats",
  "body": "See \"[Supported formats](http://motaword.readme.io/docs/supported-formats)\" section to get a list of supported formats for documents, style  guides and glossaries."
}
[/block]

[block:callout]
{
  "type": "danger",
  "title": "",
  "body": "You can only add/update/delete glossaries before you launch the project."
}
[/block]

[block:api-header]
{
  "type": "basic",
  "title": "Uploading glossary as form data"
}
[/block]

You can also upload your glossaries by providing their content directly in the POST request. Instead of providing an array of file handles in `glossaries` parameter, just enter `name` and `data` parameters for each glossary file.

**Example:**

[block:code]
{
  "codes": [
    {
      "code": "----WebKitFormBoundary7MA4YWxkTrZu0gW\nContent-Disposition: form-data; name=\"glossaries[0][name]\"\n\nMyGlossary.xlsx\n----WebKitFormBoundary7MA4YWxkTrZu0gW\nContent-Disposition: form-data; name=\"glossaries[0][data]\"\n\n[BINARY DATA...]\n----WebKitFormBoundary7MA4YWxkTrZu0gW",
      "language": "curl"
    },
    {
      "code": "var form = new FormData();\n// ....\nform.append(\"glossaries[0][name]\", \"MyGlossary.xlsx\");\nform.append(\"glossaries[0][data]\", \"[BINARY DATA...]\");",
      "language": "javascript"
    }
  ]
}
[/block]

[block:callout]
{
  "type": "success",
  "body": "You can also upload document and style guide files in this scheme."
}
[/block]