Note: Either use the combination of project identifier and project key or combination of project identifier, username, and account key to pass to this endpoint.
POST https://api.crowdin.com/api/project/{project-identifier}/add-directory?key={project-key}&name={directory name}
POST https://api.crowdin.com/api/project/{project-identifier}/add-directory?login={username}&account-key;={account-key}&name={directory name}
Parameters
Name
Value
Description
name required
string
Directory name (with path if nested directory should be created).
title optional
string
Directory title to be displayed in Crowdin UI.
export_pattern optional
string
Directory export pattern. Is used to create directory name and path in resulted translations bundle.
recursive optional
bool
If set to 1 each directory will be created from a nested name. Acceptable values are: 1 or 0. Default is 0.
is_branch optional
bool
If set to 1 the directory will be marked as a version branch. Acceptable values are: 1 or 0. Default is 0.