"Event filters" Endpoints - GET Returns the list of supported event filters

https://api.track.toggl.com/webhooks/api/v1/event_filters

Returns the list of supported event filters to be used when creating or updating a subscription.

  • 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();  let json = client.request(Method::GET, "https://api.track.toggl.com/webhooks/api/v1/event_filters".to_string())  .header(CONTENT_TYPE, "application/json")  .send()  .await?  .json()  .await?;    println!("{:#?}", json);  Ok(())}

Response

200

Successful operation.

500

Internal Server Error