---
title: Create and revoke TimeSentry API keys
description: Create a company-scoped `tsk_` key for programmatic access, copy it once, monitor use, and revoke it when no longer needed.
---

[Skip to content](https://help.timesentry.ai/create-and-revoke-timesentry-api-keys#main-content)

English

Show submenu for translations

![Logo TRS](https://help.timesentry.ai/hubfs/Brand%20Assets/Logo%20TRS.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://timesentry.ai/contact)

[Contact us](https://timesentry.ai/contact)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [TimeSentry Knowledge Base](https://help.timesentry.ai/?hsLang=en)
2. [Settings](https://help.timesentry.ai/settings?hsLang=en)
3. [API Keys & MCP](https://help.timesentry.ai/settings?hsLang=en#api-keys-mcp)

# Create and revoke TimeSentry API keys

Create a key

Open **Settings \> API Keys** and choose **Create API Key**. Enter a descriptive name such as the application, server, or environment that will use it. Select **Create Key**.

Copy the full key immediately. It is shown only once; afterward the list displays only its prefix. Store it in an approved secret manager, not source code, documentation, screenshots, or chat.

 Understand scope

An API key is scoped to the company under which it was created. Requests made with it act within that company's data and relationships. Create separate keys for separate applications or environments so one can be revoked without disrupting everything.

 Monitor and revoke

The key list shows name, prefix, creation date, last-used date, and status. Review unused or unexpected keys regularly. Revoking a key is immediate and cannot be undone; any MCP client, script, or integration using it stops working.

 Respond to exposure

Revoke the key immediately, create a replacement if needed, update the authorized client, and review recent use and affected records. Never ask support to recover the full value; create a new key instead.

**Related articles:** [Connect TimeSentry through the MCP server](https://help.timesentry.ai/connect-timesentry-through-the-mcp-server?hsLang=en), [Understand API-key security and company scope](https://help.timesentry.ai/understand-api-key-security-and-company-scope?hsLang=en).

- [Getting Started](https://help.timesentry.ai/getting-started?hsLang=en#main-content)

    - [Clio and MyCase onboarding checklists](https://help.timesentry.ai/getting-started?hsLang=en#clio-and-mycase-onboarding-checklists)
    - [Capture and sync your first time entries](https://help.timesentry.ai/getting-started?hsLang=en#capture-and-sync-your-first-time-entries)
    - [Review your week in TimeSentry](https://help.timesentry.ai/getting-started?hsLang=en#review-your-week-in-timesentry)
- [Integrations](https://help.timesentry.ai/integrations?hsLang=en#main-content)

    - [Practice Management](https://help.timesentry.ai/integrations?hsLang=en#practice-management)
    - [Email, Calendar, Chat & Phone](https://help.timesentry.ai/integrations?hsLang=en#email-calendar-chat-phone)
    - [Accounting & Payroll](https://help.timesentry.ai/integrations?hsLang=en#accounting-payroll)
    - [Desktop, Browser, Mobile & Office](https://help.timesentry.ai/integrations?hsLang=en#desktop-browser-mobile-office)
    - [Choose & Manage Connections](https://help.timesentry.ai/integrations?hsLang=en#choose-manage-connections)
- [Settings](https://help.timesentry.ai/settings?hsLang=en#main-content)

    - [Preferences & Rules](https://help.timesentry.ai/settings?hsLang=en#preferences-rules)
    - [Company settings and team access](https://help.timesentry.ai/settings?hsLang=en#company-settings-and-team-access)
    - [Account & Subscription](https://help.timesentry.ai/settings?hsLang=en#account-subscription)
    - [Privacy & Recording](https://help.timesentry.ai/settings?hsLang=en#privacy-recording)
    - [API Keys & MCP](https://help.timesentry.ai/settings?hsLang=en#api-keys-mcp)
- [Troubleshooting](https://help.timesentry.ai/troubleshooting?hsLang=en#main-content)

    - [Login & Access](https://help.timesentry.ai/troubleshooting?hsLang=en#login-access)
    - [Missing or Incorrect Entries](https://help.timesentry.ai/troubleshooting?hsLang=en#missing-or-incorrect-entries)
    - [Billing & Sync](https://help.timesentry.ai/troubleshooting?hsLang=en#billing-sync)
    - [Capture Apps](https://help.timesentry.ai/troubleshooting?hsLang=en#capture-apps)
- [Time](https://help.timesentry.ai/time?hsLang=en)
- [Expense](https://help.timesentry.ai/expense?hsLang=en)
- [Tasks](https://help.timesentry.ai/tasks?hsLang=en)
- [Notes](https://help.timesentry.ai/notes?hsLang=en)
- [Documents](https://help.timesentry.ai/documents?hsLang=en)
- [Finance](https://help.timesentry.ai/finance?hsLang=en)
- [Analytics](https://help.timesentry.ai/analytics?hsLang=en)
- [Org](https://help.timesentry.ai/org?hsLang=en)
- [Other Platform Features](https://help.timesentry.ai/other-platform-features?hsLang=en)
- [FAQs](https://help.timesentry.ai/faqs?hsLang=en)
- [Archive](https://help.timesentry.ai/archive?hsLang=en)

[![TimeSentry AI Logo](https://help.timesentry.ai/hubfs/timesentry_rebrand%20copy-2.png "TimeSentry AI Logo")](http://www.timesentry.ai)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/timesentry.ai/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, TimeSentry