Add Directory

Add directory to Crowdin project.


POST{project-identifier}/add-directory?key={project-key}&name={directory name}


Name Value Description
namerequired string Directory name (with path if nested directory should be created).
is_branchoptional bool If set to 1 the directory will be marked as a version branch. Acceptable values are: 1 or 0.
branchoptional string The name of related version branch (Versions Management).
jsonoptional string May not contain value. Defines that response should be in JSON format.
jsonpoptional string Callback function name. Defines that response should be in JSONP format.
project-identifierrequired string Should contain the project identifier.
project-keyrequired string Project API key.


If the method is successful, it responds with an XML structure, as it is shown below.
<?xml version="1.0" encoding="ISO-8859-1"?>

Unsuccessful response sample:
<?xml version="1.0" encoding="ISO-8859-1"?>

  API key is not valid


curl \
            -F "name=localizable" \