

Currently the only supported content type is application/json, resulting in the following header: For example, get a list of people from your ClickTime account by making the request below, substituting " API_TOKEN" with your actual API token you received from the request above.Īll requests should include an appropriate Content-Type header. The example requests above will return various information including the API token you can use to make subsequent requests to other endpoints. Tokens can also be manually invalidated and regenerated using the “My Preferences” page or the “Me/ResetAuthToken” endpoint. These tokens may be subject to invalidation for other reasons, but won't expire solely based on time. Alternatively, a token can be obtained using Basic authentication against the “Me” endpoint as described above. The token itself can be obtained by logging in to the web application, going to "My Preferences", and clicking on the "Authentication Token" tab.

H 'Authorization: Basic ENCODED_STRING' \Ĭlients can use a custom per-user authentication token by sending an Authorization header in the following format: Authorization: Token Make a request like the one below but replacing "ENCODED_STRING" with the encoded string you created in the previous step.

Build a string in the form of EMAIL:PASSWORD in which "EMAIL" is your email address as it's listed in ClickTime and "PASSWORD" is your ClickTime password.
#Clicktime crunchbase password#
Make a request like the one below but replacing "EMAIL" with your email address as it's listed in ClickTime and "PASSWORD" with your ClickTime password.Īlternatively, you can also do the following to avoid entering your email and password in clear text: The POST /Me/ResetAuthToken endpoint only supports basic access authentication.Ĭlients can authenticate themselves with their username and password using basic HTTP authentication against the “Me” endpoint in order to obtain a token.The GET /Me endpoint additionally supports basic access authentication so you can retrieve your API token.The only exceptions to this rule are as follows: Most API endpoints only support authentication via token.
#Clicktime crunchbase software#
Our v2 REST API was selected as one of the top APIs in the Business software category by API World in 2019.

The company’s default mileage rate is now used rather than setting the rate to zero.
