Tracket
HomepageContact Support
  • Welcome to Tracket
  • 🚀Getting started
    • Overview
    • Quickstart guide
    • Your account
      • Subscription & Billing
        • Pricing overview
        • Pricing
        • Free trial
        • Billing
        • FAQ
      • Region & Language
    • Hire an expert
    • Release notes
      • Apr 22, 2025
      • Feb 20, 2025
      • Jan 14, 2025
      • Nov 19, 2024
      • Oct 22, 2024
      • Sep 4, 2024
      • Aug 19, 2024
      • Aug 13, 2024
      • Jul 15, 2024
      • Jun 18, 2024
      • May 23, 2024
      • Apr 30, 2024
      • Mar 14, 2024
      • Mar 5, 2024
      • Feb 21, 2024
      • Feb 1, 2024 - Tracket 2.0!
      • May 30, 2023
      • May 16, 2023
      • Apr 13, 2023
      • Feb 21, 2023
      • Jan 17, 2023
      • Dec 13, 2022
      • Nov 24, 2022
      • Nov 17, 2022
      • Oct 25, 2022
      • Sep 22, 2022
      • Jul 11, 2022
      • Jun 27, 2022
      • Jun 23, 2022
      • May 24, 2022
      • May 13, 2022
      • May 2, 2022
      • Apr 13, 2022
      • Apr 5, 2022
      • Mar 22, 2022
      • Feb 21, 2022
      • Feb 11, 2022
      • Feb 10, 2022
      • Feb 8, 2022
      • Jan 28, 2022
      • Jan 25, 2022
  • 📖Instructions
    • Installation
    • Setting up
      • Authorization
      • In-app setup
    • Logging time
    • Approving time
    • Team management
    • Reporting
    • Archive
    • Tracket mobile
  • ✨Features
    • Tracket settings
      • Introduction
      • Time entry template
      • Custom fields
      • Company policies
      • Default user preferences
      • Work schedules
      • Capacity
      • Archive
      • Exports
    • Time entries
      • Time input formats
      • Smart suggestions
      • Timer
      • Board, item and subitem selector filters
    • Team management
      • Configure Tracket team admins
      • Team timesheets
    • Timesheet
      • Introduction
      • Grid view
      • List view
      • Create, edit and delete time entries
      • Bulk actions
    • Item view
      • Create, edit and delete time entries
      • Filters
      • Exports
    • Reports
      • Generate reports
      • Filters
      • Exports
    • Dashboarding
      • Introduction
      • Configure widgets
      • Permissions and widgets
      • Exports
    • Approvals
      • Introduction
      • Submit timesheets
      • Reopen timesheets
      • Approve timesheets
      • Reject timesheets
    • Tracket mobile
      • Create, edit and delete time entries
      • Approvals
    • Keyboard shortcuts
  • 🪄User preferences
    • Display options
    • Timer
    • Notifications
  • 🤖Workflow automation
    • Introduction
    • Integration recipes
      • Time to column
      • Item manipulation
    • Configure integrations
    • Integration trouble shooting
  • 🧑‍💻Development
    • Introduction
    • REST API
      • Versioning
      • Basics
        • Authentication
      • API reference
        • v2.0
          • Time entries
          • Time entry template
          • Categories
        • v1.0 (deprecated)
          • Time entries
          • Categories
          • Additional data from monday.com
  • ℹ️About
    • Security & Privacy policies
    • Support channel
    • Partner program
    • Frequently Asked Questions
Powered by GitBook
On this page

Was this helpful?

  1. Development
  2. REST API
  3. Basics

Authentication

PreviousBasicsNextAPI reference

Last updated 1 year ago

Was this helpful?

In order to work with the API you will need an access token. You can obtain an access token by creating a client secret and client id through the API tokens UI in Tracket.

You can find the API tokens by navigating to Preferences in the top right corner of Tracket and then selecting the dropdown item API tokens.

After creating a new API token you will be presented with 2 fields: client secret, client id. You will need both to fetch an access token with the following command:

curl -H "Content-Type: application/json" https://tracket.dev/api/2.0/oauth2/token --data "{\"grant_type\":  \"client_credentials\",\"client_id\": \"YOUR_CLIENT_ID\",  \"client_secret\": \"YOUR_CLIENT_SECRET\"}"

This will return a json object with an access_token.

Short-lived token

This token is valid for 1 hour and you will need to fetch a new bearer token with your client secret, client id and account id to get a new one.

You can now query our API with the authorization header Bearer YOUR_ACCESS_TOKEN.

In order to work with the API you will need an access token. You can obtain an access token by creating a client secret and client id through the API tokens UI in the period overview.

You can find the API tokens by navigating to Preferences in the top right corner of Tracket and then selecting the dropdown item API tokens.

After creating a new API token you will be presented with 3 fields: client secret, client id and account id. You will need all three to fetch an access token with the following command:

curl -H "Content-Type: application/json" https://v1-gateway-9e6mvodx.uk.gateway.dev/api/1.0/oauth2/token --data "{\"grant-type\": \"client-credentials\",\"monday/account-id\": YOUR_ACCOUNT_ID,\"client-id\": \"YOUR_CLIENT_ID\",\"client-secret\": \"YOUR_CLIENT_SECRET\"}"

This will return a json object with two properties, id-token and refresh-token. We currently do not support refresh tokens, but we already included it in this response. The id-token is your access token which can be used to query our API.

This token is valid for 1 hour and you will need to fetch a new bearer token with your client secret, client id and account id to get a new one.

You can now query our API with the authorization header "Bearer YOUR_ACCESS_TOKEN".

🧑‍💻
API tokens menu