Connectors / Human resources · HTTP Connector
Oyster integration and API
Update personal details, create an employment and create an expense in Oyster, and start a workflow when Oyster sends “Expense created”.
What can you do with Oyster on Tray.ai?
Oyster is a global employment platform that lets companies hire, pay, and manage employees and contractors in other countries through its employer of record service. Tray.ai connects to Oyster through the HTTP Connector, so your workflows can call the Oyster API alongside the rest of your stack.
- When Oyster sends “Expense approved”, record the expense in your accounting system.
- Create an employment in Oyster when an international candidate accepts an offer in your recruiting system.
- Create a time off request in Oyster when leave is booked in your HR system.
- When Oyster sends “Expense created”, notify the employee's manager in your team chat to review it.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
- Base URL
- https://api.oysterhr.com/v1
Set it up
Connect Oyster to Tray.ai
Each step uses Oyster's own API details, from its documentation.
Sign in to Oyster with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Oyster. Sign in once and every step reads the token from there.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.oysterhr.com/v1 as the base URL. Or paste a cURL example from Oyster's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List engagements”
It's one of 24 documented actions, under Engagements. The response comes back as data the next step can map into your other apps.
Start workflows from Oyster events
Give Oyster the URL of a Tray.ai webhook trigger. “Expense created” can then start a workflow, and so can 1 other event.
Workflows to build with Oyster
Connect Oyster with NetSuite, Slack and Xero
Each one uses actions and events from Oyster's own API documentation.
Send approved Oyster expenses to NetSuite
When
Expense approved
Then
- Look up the employee record in NetSuite
- Create an expense report in NetSuite for the approved amount
With NetSuite
Notify finance in Slack about new Oyster expenses
When
Expense created
Then
- List expenses to get the receipt and category
- Post the amount and employee to the finance channel in Slack
With Slack
Record Oyster invoices in Xero
When
On a schedule
Then
- List invoices
- Get an invoice for each new invoice
- Create a bill in Xero
With Xero
Apps you can build on Oyster data
Internal tools your team can build with an AI assistant, each one using Oyster calls from its API documentation.
Expense approval board
Lists global team expenses and lets a manager approve or decline each one.
Time off approval queue
Lists time off requests for international staff and lets a manager approve or reject each one.
Employer invoice review
Lists employment invoices and lets finance approve or dispute each one.
Give your AI agents Oyster tools
Build an MCP server on Oyster 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 engagements
- Create an employment
- List expenses
- List time off requests
- List timesheets
- List invoices
- Get an engagement
- Update personal details
What the Oyster API covers
6 resources and 24 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.
Engagements
- List engagements
- Get an engagement
- Update personal details
- List engagement payslips
Employments
- Create an employment
- Submit an employment
- Update an employment
- Invite a team member
Expenses
- List expenses
- Create an expense
- Approve an expense
- Decline an expense
Time off requests
- List time off requests
- Create a time off request
- Approve a request
- Reject a request
Timesheets
- List timesheets
- Create a timesheet
- Submit a timesheet
- Delete a timesheet
Invoices
- List invoices
- Get an invoice
- Approve an invoice
- Dispute an invoice
Events Oyster can send to a Tray.ai webhook trigger
- Expense created
- Expense approved
Checked against Oyster's own documentation on 2026-10-22
How Tray.ai makes this work
Oyster plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Oyster, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Oyster actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Oyster data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore human resources apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every human resources connector →
Frequently asked questions
What can a Tray.ai workflow do in Oyster?
The Oyster API documents 24 actions across 6 resources (Engagements, Employments, Expenses, Time off requests, Timesheets, Invoices). For example: List engagements; Create an employment; List expenses. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Oyster?
The Oyster API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Oyster events can start a Tray.ai workflow?
Oyster sends 2 events to a webhook URL, for example: Expense created; Expense approved. A Tray.ai webhook trigger receives them and starts a workflow.
See Oyster working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.