“Me” Endpoints - GET Features

https://api.track.toggl.com/api/v9/me/features

Get features.

  • 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/features".to_string())  .header(CONTENT_TYPE, "application/json")  .send()  .await?  .json()  .await?;    println!("{:#?}", json);  Ok(())}

Response

200

Name Type Description
items Array of object -
items
Name Type Description
features Array of object -
workspace_id integer -
features
Name Type Description
enabled boolean -
feature_id integer -
name string -

403

Operation Forbidden

500

Internal Server Error