Get startedYour first API call

Your first API call

The shortest route to a working call with each TimeLog API: REST, Transactional and Reporting.

Pick the API you chose and follow its path. Each one ends at that API's own guide, where you continue.

Before you start

Make the call

GET /v1/user/me reads only the token's own user and changes nothing, so it is safe to call at any time.

export TIMELOG_TOKEN='<your-personal-access-token>'

curl https://app{server-number}.timelog.com/{account}/api/v1/user/me \
  -H "Authorization: Bearer $TIMELOG_TOKEN" \
  -H "Accept: application/json"

200 means the token is accepted, and the response is the user the token acts as. 401 means it is not: see Troubleshooting 401 responses.

Next: Get started: your first time registration.

Try it with Bruno

Write requests change real data. Try them on a test account first.
Not yet documented. How to get a test account, and a Bruno collection for the REST API, are not yet available.

If your first call fails

APIHow a failure looksWhere to look
RESTAn HTTP error status, for example 401Errors
TransactionalHTTP 200 with ResponseState = Error or InvalidResponses and errors
ReportingHTTP 401 or 500, with the reason in tlp:ErrorResponses and errors