# 4HSE integrations: people and offices

> Create a person, create an office and create a certificate in 4HSE, and start a workflow when 4HSE sends “Person created”.

**Canonical page:** https://tray.ai/connectors/4hse-integrations/
**Categories:** Security and compliance
**Connects through:** HTTP Connector

## Overview

4HSE is cloud software for workplace health, safety and environment management, tracking people, training, certificates, equipment, incidents and compliance deadlines. Tray.ai connects to 4HSE through the HTTP Connector, so your workflows can call the 4HSE API alongside the rest of your stack.

## Use cases

### People

Read, create, update, and delete people in 4HSE from any Tray.ai workflow. The 4HSE API covers calls such as list people and get a person.

- List people
- Get a person
- Create a person

### Offices

Read, create, update, and delete offices in 4HSE from any Tray.ai workflow. The 4HSE API covers calls such as list offices and get an office.

- List offices
- Get an office
- Create an office

### Certificates

Read, create, update, and delete certificates in 4HSE from any Tray.ai workflow. The 4HSE API covers calls such as list certificates and create a certificate.

- List certificates
- Create a certificate
- Update a certificate

### Incidents

Read, create, update, and delete incidents in 4HSE from any Tray.ai workflow. The 4HSE API covers calls such as list incidents and create an incident.

- List incidents
- Create an incident
- Update an incident

### Tasks

Read, create, update, and delete tasks in 4HSE from any Tray.ai workflow. The 4HSE API covers calls such as list tasks and create a task.

- List tasks
- Create a task
- Update a task

### 4HSE events

Start a Tray.ai workflow the moment something happens in 4HSE. 4HSE sends events such as person created and person updated to a Tray.ai webhook trigger.

- Person created
- Person updated
- Person deleted

## Challenges Tray.ai solves

### Keeping 4HSE credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store 4HSE credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the 4HSE API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the 4HSE API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to 4HSE?

Yes. Tray.ai connects to 4HSE through the HTTP Connector, which calls the 4HSE API directly. Any call the 4HSE API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with 4HSE?

The 4HSE API uses OAuth 2.0, a bearer token, and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated 4HSE connector?

4HSE runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated 4HSE connector from the 4HSE API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
