---
updatedAt: 2025-09-17T22:50:07.000Z
agentTools:
  projectIndex: https://docs.motaword.com/llms.txt
---

# Download project translation memory

Package and download project translation memory in TMX format

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "MotaWord API",
    "description": "Use MotaWord API to post and track your translation projects.",
    "version": "1.0",
    "x-cli-name": "motaword",
    "x-cli-description": "Use MotaWord CLI to interact with your MotaWord account in many ways to manage your translation and localization needs. Visit motaword.com/developer for details."
  },
  "security": [
    {
      "mwoAuth": [
        "default"
      ]
    }
  ],
  "x-cli-cmd-groups": {
    "async": {
      "short": "Manage async operations",
      "long": "Manage async operations"
    },
    "token": {
      "short": "Manage token operations",
      "long": "Manage token operations"
    },
    "blog": {
      "short": "Manage blog articles",
      "long": "Manage blog articles"
    },
    "clients": {
      "short": "Manage client account",
      "long": "Manage client account"
    },
    "corporates": {
      "short": "Manage corporate account",
      "long": "Manage corporate account",
      "parent": "clients"
    },
    "documents": {
      "short": "Manage documents",
      "long": "Manage documents"
    },
    "glossaries": {
      "short": "Manage glossaries",
      "long": "Manage glossaries"
    },
    "styleguides": {
      "short": "Manage style guides",
      "long": "Manage style guides"
    },
    "projects": {
      "short": "Manage projects",
      "long": "Manage projects"
    },
    "activities": {
      "short": "Manage activities",
      "long": "Manage activities",
      "parent": "projects"
    },
    "translations": {
      "short": "Manage translations",
      "long": "Manage translations",
      "parent": "projects"
    },
    "project-documents": {
      "short": "Manage project source documents",
      "long": "Manage project source documents",
      "parent": "projects"
    },
    "reports": {
      "short": "Manage reports",
      "long": "Manage reports"
    },
    "search": {
      "short": "Manage search operations",
      "long": "Manage search operations"
    },
    "static": {
      "short": "Manage static endpoints",
      "long": "Manage static endpoints"
    },
    "stats": {
      "short": "Manage stats",
      "long": "Manage stats"
    },
    "strings": {
      "short": "Manage strings",
      "long": "Manage strings"
    },
    "users": {
      "short": "Manage users",
      "long": "Manage users"
    },
    "vendors": {
      "short": "Manage vendors",
      "long": "Manage vendors",
      "parent": "users"
    },
    "webhooks": {
      "short": "Manage webhooks",
      "long": "Manage webhooks"
    },
    "continuous-projects": {
      "short": "Manage your continuous projects",
      "long": "Manage your continuous localization or translation projects"
    }
  },
  "paths": {
    "/projects/{projectId}/strings/package": {
      "post": {
        "summary": "Download project translation memory",
        "description": "Package and download project translation memory in TMX format",
        "operationId": "packageProjectTranslationMemory",
        "x-cli-cmd-group": "strings",
        "tags": [
          "Strings"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "description": "Project ID",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "example": 74
          },
          {
            "in": "query",
            "name": "async",
            "description": "If you want to package and download the translation memory synchronously, mark this parameter as '0'. It will package the translation memory and then return the packaged file in the response, identical to async/download call after an asynchronous /package call.",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "description": "Translation Memory file format",
            "schema": {
              "type": "string",
              "default": "tmx"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Response in TMX or async request",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncOperationStatus"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.motaword.com"
    },
    {
      "url": "https://sandbox.motaword.com"
    },
    {
      "url": "http://localhost"
    }
  ],
  "components": {
    "securitySchemes": {
      "mwoAuth": {
        "description": "OAuth2 authentication, Client Credentials flow.",
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/token",
            "scopes": {
              "privileged": "privileged",
              "default": "default"
            }
          },
          "password": {
            "tokenUrl": "/token",
            "refreshUrl": "/token",
            "scopes": {
              "privileged": "privileged",
              "default": "default"
            }
          },
          "authorizationCode": {
            "authorizationUrl": "https://www.motaword.com/auth/authorize",
            "tokenUrl": "/token",
            "refreshUrl": "/token",
            "scopes": {
              "privileged": "privileged",
              "default": "default"
            }
          }
        }
      }
    },
    "schemas": {
      "AsyncOperationStatus": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/AsyncOperationStatusEnum"
          },
          "message": {
            "type": "object"
          },
          "duration": {
            "description": "operation duration in milliseconds",
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "AsyncOperationStatusEnum": {
        "type": "string",
        "default": "sent",
        "enum": [
          "sent",
          "started",
          "completed",
          "failed"
        ]
      }
    }
  }
}
```