Tasks
Add Project Task
Required scopes: project.task (Read and Write).
post/projects/{projectId}/tasks
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
Request body
Example request
{
"title": "French",
"languageId": "fr",
"labelIds": [
1
],
"excludeLabelIds": [
12
],
"description": "Proofread all French strings",
"splitFiles": true,
"splitContent": true,
"skipAssignedStrings": true,
"assignees": [
{
"id": 1,
"wordsCount": 5
}
],
"assignedTeams": [
{
"id": 1,
"wordsCount": 5
}
],
"includePreTranslatedStringsOnly": true,
"deadline": "2019-09-27T07:00:14+00:00",
"startedAt": "2019-09-27T07:00:14+00:00",
"dateFrom": "2019-09-23T07:00:14+00:00",
"dateTo": "2019-09-27T07:00:14+00:00",
"translationsUpdatedDateFrom": "2019-09-23T07:00:14+00:00",
"translationsUpdatedDateTo": "2019-09-27T07:00:14+00:00",
"reportSettingsTemplateId": 1,
"fields": {
"some-field-1": "some value 1",
"some-field-2": 12,
"some-field-3": true,
"some-field-4": [
"en",
"ja"
]
},
"batchId": 1
}Response
Task was successfully created
Example response
{
"data": {
"id": 2,
"projectId": 2,
"creatorId": 6,
"type": 1,
"status": "todo",
"title": "French",
"batchId": 1,
"assignees": [
{
"id": 12,
"username": "john_smith",
"fullName": "John Smith",
"wordsCount": 5,
"wordsLeft": 3,
"timeSpent": 3600
}
],
"assignedTeams": [
{
"id": 1,
"wordsCount": 5,
"timeSpent": 3600
}
],
"progress": {
"total": 24,
"done": 15,
"percent": 62
},
"translateProgress": {
"total": 24,
"done": 15,
"percent": 62
},
"sourceLanguageId": "en",
"targetLanguageId": "fr",
"description": "Proofread all French strings",
"translationUrl": "/proofread/9092638ac9f2a2d1b5571d08edc53763/all/en-fr/10?task=dac37aff364d83899128e68afe0de4994",
"webUrl": "https://crowdin.com/project/example-project/tasks/1",
"wordsCount": 24,
"originalWordsCount": 24,
"deadline": "2019-09-27T07:00:14+00:00",
"startedAt": "2019-09-27T07:00:14+00:00",
"resolvedAt": "2019-09-27T07:00:14+00:00",
"timeRange": "2019-08-23T09:04:29+00:00|2019-07-23T09:04:29+00:00",
"translationsUpdatedTimeRange": "2025-06-23T09:04:29+00:00|2025-08-23T09:04:29+00:00",
"workflowStepId": 10,
"buyUrl": "https://www.paypal.com/cgi-bin/webscr?cmd=...",
"createdAt": "2019-09-23T09:04:29+00:00",
"updatedAt": "2019-09-23T09:04:29+00:00",
"sourceLanguage": {
"id": "es",
"name": "Spanish",
"editorCode": "es",
"twoLettersCode": "es",
"threeLettersCode": "spa",
"locale": "es-ES",
"androidCode": "es-rES",
"bcp47Code": "b+es+ES",
"osxCode": "es.lproj",
"osxLocale": "es",
"pluralCategoryNames": [
"one"
],
"pluralRules": "(n != 1)",
"pluralExamples": [
"0, 2-999; 1.2, 2.07..."
],
"textDirection": "ltr",
"dialectOf": "es"
},
"targetLanguages": [
{
"id": "es",
"name": "Spanish",
"editorCode": "es",
"twoLettersCode": "es",
"threeLettersCode": "spa",
"locale": "es-ES",
"androidCode": "es-rES",
"bcp47Code": "b+es+ES",
"osxCode": "es.lproj",
"osxLocale": "es",
"pluralCategoryNames": [
"one"
],
"pluralRules": "(n != 1)",
"pluralExamples": [
"0, 2-999; 1.2, 2.07..."
],
"textDirection": "ltr",
"dialectOf": "es"
}
],
"labelIds": [
13,
27
],
"excludeLabelIds": [
5,
8
],
"precedingTaskId": 1,
"estimatedCost": {
"date": "2019-09-23T09:04:29+00:00",
"currency": "USD"
},
"actualCost": {
"date": "2019-09-23T09:04:29+00:00",
"currency": "USD"
},
"generateCostEstimate": true,
"generateTranslationCost": true,
"reportSettingsTemplateId": 1,
"filesCount": 3,
"fileIds": [
24,
25,
38
],
"fields": {
"some-field-1": "some value 1",
"some-field-2": 12,
"some-field-3": true,
"some-field-4": [
"en",
"ja"
]
},
"syncScope": {
"syncedWords": 820,
"pendingWords": 120,
"skippedWords": 120
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.