Create HIT Type

POST /v1/create-hit-type

See original API description on Amazon Mechanical Turk.

Headers

  • Content-Type string Required

    Values are application/x-amz-json-1.1 or application/json. Default value is application/json.

Body

Responses

  • OK

    Hide response attribute Show response attribute object
  • Resource not found

POST /v1/create-hit-type
curl \
 -X POST https://yourcrowd.ai.moda/api/v1/create-hit-type \
 -H "Content-Type: application/json" \
 -d '{"Title":"Title example","Description":"Description example","Reward":"Reward example","AssignmentDurationInSeconds":1,"Keywords":"Keywords example","AutoApprovalDelayInSeconds":1,"QualificationRequirements":[{"QualificationTypeId":"QualificationTypeId example","Comparator":"Comparator example","IntegerValues":[1],"LocaleValues":[{"Country":"Country example","Subdivision":"Subdivision example"}],"RequiredToPreview":true,"ActionsGuarded":"ActionsGuarded example"}]}'
Request example
# Headers
Content-Type: application/json

# Payload
{
  "Title": "Title example",
  "Description": "Description example",
  "Reward": "Reward example",
  "AssignmentDurationInSeconds": 1,
  "Keywords": "Keywords example",
  "AutoApprovalDelayInSeconds": 1,
  "QualificationRequirements": [
    {
      "QualificationTypeId": "QualificationTypeId example",
      "Comparator": "Comparator example",
      "IntegerValues": [
        1
      ],
      "LocaleValues": [
        {
          "Country": "Country example",
          "Subdivision": "Subdivision example"
        }
      ],
      "RequiredToPreview": true,
      "ActionsGuarded": "ActionsGuarded example"
    }
  ]
}
Request examples
# Headers
Content-Type: application/json

# Payload
{
  "Title": "Title example",
  "Description": "Description example",
  "Reward": "Reward example",
  "AssignmentDurationInSeconds": 1,
  "Keywords": "Keywords example",
  "AutoApprovalDelayInSeconds": 1,
  "QualificationRequirements": [
    {
      "QualificationTypeId": "QualificationTypeId example",
      "Comparator": "Comparator example",
      "IntegerValues": [
        1
      ],
      "LocaleValues": [
        {
          "Country": "Country example",
          "Subdivision": "Subdivision example"
        }
      ],
      "RequiredToPreview": true,
      "ActionsGuarded": "ActionsGuarded example"
    }
  ]
}
Response examples (200)
{
  "HITTypeId": "123RVWYBAZW00EXAMPLE"
}
Response examples (200)
{
  "HITTypeId": "123RVWYBAZW00EXAMPLE"
}