Difference between revisions of "Time Doctor API"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
=== Company id ===
 
=== Company id ===
 
  id
 
  id
 +
 +
[[curl -X]] 'GET' 'https://api2.timedoctor.com/api/1.0/companies?no-workspaces=false&token=89KQ9pbqOtuIac-X_Cb38m7R_srwTBDUHuDoXX_6HH8TT' -H 'accept: application/json'
  
 
== See also ==
 
== See also ==

Revision as of 12:37, 13 October 2021

api2.timedoctor.com

Example:

curl -H "Content-Type: application/json"  --request POST --data '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
{"data":{"token":"6AsYXPFJgg48Wk71-x-TTS9ms2an9YYDrHpCQxZRZ2Fy","expiresAt":"2022-04-11T11:25:31.609Z","createdAt":"2021-10-13T11:25:31.609Z"}}

Company id

id
curl -X 'GET' 'https://api2.timedoctor.com/api/1.0/companies?no-workspaces=false&token=89KQ9pbqOtuIac-X_Cb38m7R_srwTBDUHuDoXX_6HH8TT' -H 'accept: application/json'

See also

Advertising: