post
https://{companyDomain}.bamboohr.com/api/v1/time-tracking/projects
Creates a time tracking project. If a deleted project with the same name exists, that project is restored and updated with the supplied values instead of a new project being created; the response returns the restored project's existing ID. hasTasks in the response is set automatically based on whether tasks were supplied and cannot be set directly on create. Created tasks are not embedded; retrieve them with List Time Tracking Project Tasks (list-project-tasks).
OAuth Scopes: time_tracking:project.write
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Example Request
{
"name": "Project A",
"billable": true,
"allowAllEmployees": true,
"hasTasks": true,
"tasks": [
{
"name": "Task 1",
"billable": true
},
{
"name": "Task 2",
"billable": false
}
]
}Example Response
{
"id": 11,
"name": "Project A",
"tasks": [
{
"id": 19,
"name": "Task 1"
},
{
"id": 20,
"name": "Task 2"
}
]
} 401Unauthorized. The response body is not JSON.
