Create one task per provided task type for the given entity. Each task type is validated against the entity's project and (for assets) the entity's asset type workflow. When task_type_ids is omitted or empty, default to every task type valid for the entity (project workflow, asset-type workflow if asset, and matching for_entity). Existing tasks for the same (entity, task_type) pair are skipped.
POST
/data/entities/{entity_id}/tasks
curl \
--request POST 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/tasks' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"task_type_ids":["b24a6ea4-ce75-4665-a070-57453082c25"]}'
Request example
{
"task_type_ids": [
"b24a6ea4-ce75-4665-a070-57453082c25"
]
}