Skip to content
TMetric logo

Connectors / Human resources · HTTP Connector

TMetric integration and API

Create a time entry, create a project and create a task in TMetric. Connect TMetric to the rest of your human resources stack with Tray.ai.

What can you do with TMetric on Tray.ai?

TMetric is a time tracking and billing tool where teams log time against projects and tasks, submit timesheets, record expenses and send invoices. Tray.ai connects to TMetric through the HTTP Connector, so your workflows can call the TMetric API alongside the rest of your stack.

  • Create a task in TMetric when an issue is assigned in your project tracker, so time lands on the right work.
  • List timesheets each week and send approved hours to payroll.
  • Create a project in TMetric when a deal closes in your CRM.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://app.tmetric.com/api/v3

Set it up

Connect TMetric to Tray.ai

Each step uses TMetric's own API details, from its documentation.

Save TMetric's API token

Save the token TMetric issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://app.tmetric.com/api/v3 as the base URL. Or paste a cURL example from TMetric's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List time entries”

It's one of 23 documented actions, under Time entries. The response comes back as data the next step can map into your other apps.

Hand it to an AI agent

Wrap “Create a time entry” and “Update a time entry” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with TMetric

Connect TMetric with Jira, Google Sheets and Pipedrive

Each one uses actions and events from TMetric's own API documentation.

Create TMetric tasks from new Jira issues

When

An issue is created in Jira

Then

  1. List projects in TMetric to find the matching project
  2. Create a task in TMetric with the issue title and link

With Jira

Send TMetric profitability reports to Google Sheets

When

On a schedule

Then

  1. Get a profitability report in TMetric for the past month
  2. Add the results to the finance sheet in Google Sheets

With Google Sheets

Create TMetric projects from won Pipedrive deals

When

A deal is won in Pipedrive

Then

  1. Create a project in TMetric named after the deal
  2. Create a task for each line item on the deal

With Pipedrive

Apps you can build on TMetric data

Internal tools your team can build with an AI assistant, each one using TMetric calls from its API documentation.

Timesheet approval board

Lists submitted timesheets and lets a manager approve or reject them by changing their status.

Project profit dashboard

Shows project summary and profitability reports side by side for each project.

Expense review queue

Lists logged expenses by project and lets a manager correct or remove each one.

Give your AI agents TMetric tools

Build an MCP server on TMetric in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List time entries
  • List projects
  • List tasks
  • List timesheets
  • List expenses
  • Get a project summary report
  • Create a time entry
  • Update a time entry

What the TMetric API covers

6 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Time entries

  • List time entries
  • Create a time entry
  • Update a time entry
  • Delete a time entry

Projects

  • List projects
  • Create a project
  • Update a project
  • Delete a project

Tasks

  • List tasks
  • Create a task
  • Get a task
  • Update a task
  • Delete a task

Timesheets

  • List timesheets
  • Submit a timesheet
  • Change timesheet statuses
  • Delete a timesheet

Expenses

  • List expenses
  • Create an expense
  • Update an expense
  • Delete an expense

Reports

  • Get a project summary report
  • Get a profitability report

Checked against TMetric's own documentation on 2026-10-22

app.tmetric.com/api-docs

Frequently asked questions

What can a Tray.ai workflow do in TMetric?

The TMetric API documents 23 actions across 6 resources (Time entries, Projects, Tasks, Timesheets, Expenses, Reports). For example: List time entries; List projects; List tasks. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with TMetric?

The TMetric API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See TMetric working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.