curl --location --request POST 'https://app.asana.com/api/1.0/projects//duplicate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": {
        "include": [
            "members",
            "task_notes"
        ],
        "name": "New Project Name",
        "schedule_dates": {
            "due_on": "2019-05-21",
            "should_skip_weekends": true,
            "start_on": "2019-05-21"
        },
        "team": "12345"
    }
}'{
    "data": {
        "gid": "12345",
        "resource_type": "task",
        "new_project": {
            "gid": "12345",
            "resource_type": "task",
            "name": "Stuff to buy"
        },
        "new_task": {
            "gid": "12345",
            "resource_type": "task",
            "name": "Bug Task"
        },
        "resource_subtype": "duplicate_task",
        "status": "in_progress"
    }
}