Skip to content
ActivTrak logo

Connectors / Human resources · HTTP Connector

Automate ActivTrak with Tray.ai

ActivTrak is workforce analytics software that records how employees spend time across apps and websites and reports on working hours and productivity.

What can you do with ActivTrak on Tray.ai?

ActivTrak is workforce analytics software that records how employees spend time across apps and websites and reports on working hours and productivity. Tray.ai connects to ActivTrak through the HTTP Connector, so your workflows can call the ActivTrak API alongside the rest of your stack.

  • Get working hours by user each week and feed them into your payroll system for hourly staff.
  • Create a user when someone joins in your HR system so reporting covers them from day one.
  • Delete a user when an employee leaves, as part of offboarding from your HR system.
  • Create a group for each new department added in your HR system.
Connects through
HTTP Connector
Authentication
A bearer token

Set it up

Connect ActivTrak to Tray.ai

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

Step 1

Save ActivTrak's API token

Save the token ActivTrak 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.

Step 2

Import a request from ActivTrak's docs

Add an HTTP Client step and paste a cURL example from ActivTrak's API docs. Tray.ai fills in the method, URL, headers, and query.

Step 3

Start with “Get working hours by user”

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

Step 4

Hand it to an AI agent

Wrap “Get working hours by computer” and “Get the activity log” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Give your AI agents ActivTrak tools

Build an MCP server on ActivTrak 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

  • Get working hours by user
  • List users
  • List groups
  • Get working hours by computer
  • Get the activity log
  • Create a user
  • Update a user
  • Delete a user

What the ActivTrak API covers

3 resources and 11 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.

Reports

  • Get working hours by user
  • Get working hours by computer
  • Get the activity log

Users

  • List users
  • Create a user
  • Update a user
  • Delete a user

Groups

  • List groups
  • Create a group
  • Update a group
  • Delete a group

Checked against ActivTrak's own documentation on 2026-11-03

developers.activtrak.com

Frequently asked questions

What can a Tray.ai workflow do in ActivTrak?

+

The ActivTrak API documents 11 actions across 3 resources (Reports, Users, Groups). For example: Get working hours by user; List users; List groups. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with ActivTrak?

+

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

See ActivTrak 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.