Skip to content
7shifts logo

Connectors / Human resources · HTTP Connector

7shifts integration and API

Create a shift, create a time punch and create time off in 7shifts, and start a workflow when 7shifts sends “User created”.

What can you do with 7shifts on Tray.ai?

7shifts is employee scheduling and team management software for restaurants, covering shift schedules, time clocking, time off, tip pooling and labor reporting. Tray.ai connects to 7shifts through the HTTP Connector, so your workflows can call the 7shifts API alongside the rest of your stack.

  • When 7shifts sends “User created”, add the new staff member to your payroll system.
  • List time punches each pay period and send the hours to your payroll system.
  • On “User deactivated”, remove the employee's access in your point of sale system.
  • Create time off in 7shifts when leave is approved in your HR system.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://api.7shifts.com/v2

Set it up

Connect 7shifts to Tray.ai

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

Save 7shifts's API token

Save the token 7shifts 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://api.7shifts.com/v2 as the base URL. Or paste a cURL example from 7shifts's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List users”

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

Start workflows from 7shifts events

Give 7shifts the URL of a Tray.ai webhook trigger. “User created” can then start a workflow, and so can 3 other events.

Workflows to build with 7shifts

Connect 7shifts with BambooHR and ADP

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

Add new BambooHR hires to 7shifts

When

An employee is added in BambooHR

Then

  1. List locations to find the hire's restaurant
  2. Create a user with the hire's location and role

With BambooHR

Send weekly time punches to ADP for payroll

When

On a schedule

Then

  1. List time punches for the pay period
  2. Send the hours to payroll in ADP

With ADP

Deactivate 7shifts users when they leave in BambooHR

When

An employee is terminated in BambooHR

Then

  1. Deactivate a user for the departing employee
  2. List shifts still assigned and delete a shift for each

With BambooHR

Apps you can build on 7shifts data

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

Time off approval board

Lists pending time off requests by location and lets a manager approve or decline each one.

Missed punch review

Compares scheduled shifts with time punches so a manager can fix missing or wrong punches.

Staff roster by role

Lists active staff with their roles and locations and lets HR deactivate someone who left.

7shifts MCP server for AI agents

Build an MCP server on 7shifts 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 users
  • List shifts
  • List time punches
  • List time off
  • List locations
  • List roles
  • Create a user
  • Get a user

What the 7shifts API covers

6 resources and 26 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. New to APIs? Read what an API integration is.

Users

  • List users
  • Create a user
  • Get a user
  • Update a user
  • Deactivate a user

Shifts

  • List shifts
  • Create a shift
  • Get a shift
  • Update a shift
  • Delete a shift

Time punches

  • List time punches
  • Create a time punch
  • Update a time punch
  • Delete a time punch

Time off

  • List time off
  • Create time off
  • Approve a time off request
  • Decline a time off request

Locations

  • List locations
  • Create a location
  • Update a location
  • Delete a location

Roles

  • List roles
  • Create a role
  • Update a role
  • Delete a role

Events 7shifts can send to a Tray.ai webhook trigger

  • User created
  • User modified
  • User deactivated
  • User reactivated

Checked against 7shifts's own documentation on 2026-10-22

developers.7shifts.com/docs/authentication

Frequently asked questions

What can a Tray.ai workflow do in 7shifts?

The 7shifts API documents 26 actions across 6 resources (Users, Shifts, Time punches, Time off, Locations, Roles). For example: List users; List shifts; List time punches. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with 7shifts?

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

Which 7shifts events can start a Tray.ai workflow?

7shifts sends 4 events to a webhook URL, for example: User created; User modified; User deactivated; User reactivated. A Tray.ai webhook trigger receives them and starts a workflow.

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