“Me” Endpoints - GET TrackReminders

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

Returns a list of track reminders.

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

Response

200

Returns a list of track reminders.

Name Type Description
items Array of object -
items
Name Type Description
created_at string Reminder creation time
frequency integer Frequency of the reminder in days, should be either 1 or 7
group_ids Array of integer Groups IDs to send the reminder to
reminder_id integer Reminder ID
threshold integer Threshold is the number of hours after which the reminder will be sent
user_ids Array of integer User IDs to send the reminder to
workspace_id integer Workspace ID

403

User does not have access to this resource.

500

Internal Server Error