API Developers Guide

Project > Create Proofreading Project (source and target)

Create new proofreading project (source and target).

POST: /projects/proof-translated
Request Params
ParametersDescription

source_language

See Language Codes.

target_language

See Language Codes.

sources

Comma separated list of Resource UUIDs. You can create a project with up to 30 resources at a time. For more than 30 resources please create a new project.

translations

Comma separated list of translation resource UUIDs.

reference_resources

(optional) Comma separated list of reference resource UUIDs.

wordcount

(optional) Integer, if empty use automatic counting.

notes

(optional) Text note that will be shown to translator regarding the new project.

callback_url

(optional) See Callbacks section.

custom0..9

(optional) Custom parameters 0...9

name

(optional) Name your project. If empty, your project will be named automatically.

tags

(optional) Array of tags.
Customer can provide tags when creating a new project.
Provided tag parameter should be an array of strings, an error will be provided otherwise.
The number of tags for each new project is limited to 10 tags.
Response Params
ParametersDescription

project_id

Unique id of the new project created.

wordcount

Total word count of the new project.

credits

New project total worth.

Request Example

curl --request POST
"https://www.onehourtranslation.com/api/2/projects/proof-translated"
--data "secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&source_language=en-us&target_language=ar-sa&sources=rsc-527116d8f07a02-60735023&translations=rsc-527106ac63a448-25531129"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
 "results":
  {
   "project_id":"1849",
   "wordcount":10,
   "credits":70
  },
 "errors":[]
}