API Reference

Here you will find anything that might be related to the public API Key system

Claim your API Key

Before doing anything, you must claim your API Key to https://chronosrmd.com/api-keys.

Create your API Key from there,

Use your API Key

The URL reference to use is https://api.chronosrmd.com/api You must use the Authorization header with "Bearer" in front of it

$ curl -X GET https://api.chronosrmd.com/api/[something]
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
const apiKey = "YOUR_API_KEY";
fetch("https://api.chronosrmd.com/api/[something]", {
  method: "GET",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json"
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));

Available routes

Here you will find all the available routes through the API with your key. More routes will be added later. Feel free to ask for more in the contact section on the web app !

The idea really is to be able to use Chronos as a third party for your own apps !

Get all your Reminders - /reminders

Gives you all your reminders, linked to the account that from the API Key. Comes with the total count of them.

Code 200:

Code 401 - Unauthorized : Your API Key must not be set correctly !

Code 500 - Internal Error : Something went wrong, please contact us !

Get reminder details - /reminders/{:id}

This route gives you all the details that you might need for a single reminder

Code 200 -

Code 400 - Bad request : The given id probably doesn't exist

Code 401 - Unauthorized : Your API Key must not be set correctly !

Code 500 - Internal Error : Oops. Something went wrong, please contact me !

Give more freedom for creating reminders with the API

If any of you would like that to implement such a thing in your own application, we'll be glad to add this in the next version, just ask !

Last updated