Support
1
https://api.track.toggl.com/api/v9/me/projects
Get projects
- cURL
- Go
- Ruby
- JavaScript
- Python
- Rust
extern crate tokio;extern crate serde_json;use reqwest::{Client};use reqwest::header::{CONTENT_TYPE};#[tokio::main]async fn main() -> Result<(), reqwest::Error> { let client = Client::new().basic_auth("<email>", "<password>"); let json = client.request(Method::GET, "https://api.track.toggl.com/api/v9/me/projects".to_string()) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}
Parameters
Query
| name |
type |
required |
description |
| include_archived |
string |
false |
Include archived projects. |
| since |
integer |
false |
Retrieve projects modified since this date using UNIX timestamp, including deleted ones. |
Response
200
| Name |
Type |
Description |
| items |
Array of object |
- |
items
| Name |
Type |
Description |
| active |
boolean |
Whether the project is active or archived |
| actual_hours |
integer |
null |
| actual_seconds |
integer |
null |
| at |
string |
Last updated date |
| auto_estimates |
boolean |
null |
| billable |
boolean |
null |
| can_track_time |
boolean |
- |
| cid |
integer |
Client ID legacy field |
| client_id |
integer |
null |
| color |
string |
Color |
| created_at |
string |
Creation date |
| currency |
string |
null |
| current_period |
object |
Current project period, premium feature |
| end_date |
string |
End date |
| estimated_hours |
integer |
null |
| estimated_seconds |
integer |
null |
| fixed_fee |
number |
Fixed fee, premium feature |
| id |
integer |
Project ID |
| integration_ext_id |
string |
The external ID of the linked entity in the external system (e.g. JIRA/SalesForce) |
| integration_ext_type |
string |
The external type of the linked entity in the external system (e.g. JIRA/SalesForce) |
| integration_provider |
string |
The provider (e.g. JIRA/SalesForce) that has an entity linked to this Toggl Track entity |
| is_private |
boolean |
Whether the project is private |
| is_shared |
boolean |
Shared Project |
| name |
string |
Name |
| permissions |
string |
- |
| pinned |
boolean |
- |
| rate |
number |
Hourly rate |
| rate_last_updated |
string |
null |
| recurring |
boolean |
Whether the project is recurring, premium feature |
| recurring_parameters |
Array of object |
Project recurring parameters, premium feature |
| shared_at |
string |
- |
| shared_hash |
string |
- |
| start_date |
string |
Start date |
| status |
string |
Status of the project (upcoming, active, ended, archived, deleted) |
| tasks_count |
integer |
- |
| template |
boolean |
null |
| template_id |
integer |
null |
| wid |
integer |
Workspace ID legacy field |
| workspace_id |
integer |
Workspace ID |
current_period
| Name |
Type |
Description |
| end_date |
string |
- |
| start_date |
string |
- |
recurring_parameters
| Name |
Type |
Description |
| custom_period |
integer |
Custom period, used when “period” field is “custom” |
| estimated_seconds |
integer |
Estimated seconds |
| parameter_end_date |
string |
null |
| parameter_start_date |
string |
Recurring start date |
| period |
string |
Period |
| project_start_date |
string |
Project start date |
400
Invalid include_archived
403
Operation Forbidden
500
Internal Server Error