Intervals API Authentication
The Intervals API uses token-based authentication. Every Intervals user has a unique 11-character alphanumeric token. Each person must manually enable their API authorization token by navigating to My Account > API Access. Use that page to view, generate, revoke, and regenerate your token.
Making Authenticated API Requests
Make your request in the same format as HTTP Basic Auth. Your API token will serve as the username to gain secure API access (the password can be filled with an arbitrary string like "X").
For example, assume your API token is MYAPITOKEN and your arbitrary password string is X. The combined string would be MYAPITOKEN:X, which you then base64 encode as TVlBUElUT0tFTjpY and insert into the Authorization header.
GET /timer/ HTTP/1.0
Host: api.myintervals.com
Accept: application/xml
Authorization: Basic TVlBUElUT0tFTjpY
Or using cURL:
curl -H 'Accept: application/json' -u MYAPITOKEN:X https://api.myintervals.com/timer/
Documentation
Resources
- client
- contactdescriptor
- contacttype
- document
- expense
- group
- invoice
- invoiceitem
- invoicenote
- invoiceterm
- me
- milestone
- milestonenote
- module
- payment
- paymenttype
- person
- personcontact
- project
- projectlabel
- projectmodule
- projectnote
- projectteam
- projectworktype
- quota
- request
- task
- tasklistfilter
- tasknote
- taskpriority
- taskstatus
- time
- timer
- worktype
API Support
Looking for help?
Contact our support team.
OpenAPI
OpenAPI JSON spec (public)
Start tracking time today
Join 5,000+ companies spending their time wisely with Intervals.
Try Intervals free