Time Doctor API

From wikieduonline
Jump to navigation Jump to search

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[edit]

To obtain id, execute:

curl -X GET --silent 'https://api2.timedoctor.com/api/1.0/companies?no-workspaces=false&token=89KQ9pbqOtuIac-X_Cb38m7R_srwTBDUHuDoXX_6HH8TT' -H 'accept: application/json' | jq -r '. | .data[].company.id'

See also[edit]

Advertising: