Worx Safety API Documentation

Worx Safety API Documentation

Overview

The Worx Safety API allows you to programmatically access and manage your safety management data. Use the API to integrate Worx Safety with your existing business systems, build custom reporting dashboards, automate data synchronisation, or create custom workflows.

Base URL: https://app.worxsafety.com.au

Full API Documentation: https://app.worxsafety.com.au/docs


Who Should Use the API?

The Worx Safety API is designed for:

  • Developers building custom integrations with your business systems
  • IT teams synchronising data between Worx Safety and HR, payroll, or job management software
  • Companies with specific reporting requirements that go beyond standard exports
  • Partners and resellers building solutions on top of Worx Safety

If you're looking for no-code integrations, consider using our Zapier integration instead.


Getting Started

Step 1: Generate Your API Token

To access the API, you'll need to generate an API token from your Worx Safety dashboard.

  1. Log in to your Worx Safety account at app.worxsafety.com.au
  2. Navigate to Integrations > API Tokens
  3. Click Create Token
  4. Give your token a descriptive name (e.g., "HR System Integration")
  5. Select the required abilities/permissions for your integration
  6. Copy your token and store it securely — you won't be able to view it again

Note: Only company administrators can generate API tokens.

Step 2: Authenticate Your Requests

All API requests require authentication using a Bearer token. Include your API token in the Authorization header of every request:

Authorization: Bearer {YOUR_API_TOKEN}

Step 3: Test Your Connection

Use the test endpoints to verify your integration is working correctly before building your full solution.


Available Resources

The API provides access to the following resources:

Resource Description
Inductees Manage workers and employees — list, create, update, and disable records
Contractors Manage contractor companies and their associated workers
Assets Track plant, equipment, and vehicles including service records and prestarts
Projects Manage work sites and locations
Project Events Access site check-in/check-out events
Inductions & Training View induction programs and completion records
Documents Access licences, insurances, and compliance documents
Issues Manage incidents, hazards, and safety issues
Subscriptions Manage webhook subscriptions for real-time notifications

API Token Permissions

When generating an API token, you can select specific abilities that control which endpoints the token can access. Common permissions include:

  • user-read — Read inductee/worker data
  • user-create — Create new inductees
  • user-update — Update existing inductees
  • asset-read — Read asset data
  • asset-create — Create new assets
  • sites-read — Read project/site data
  • documents-read — Read document data

Only grant the permissions your integration requires to maintain security.


Common Use Cases

Sync Employee Data from HR Systems

Use the Inductees endpoints to automatically create worker records when new employees are added to your HR system, and disable records when employees leave.

POST /api/inductee/create
PUT /api/inductee/update/{id}
PUT /api/inductee/disable/{id}

Build Compliance Dashboards

Pull document expiry data to create custom compliance dashboards showing upcoming licence and insurance renewals.

GET /api/documents/index/expiring
GET /api/documents/index/expired

Integrate with Job Management Software

Automatically create projects in Worx Safety when new jobs are created in systems like Simpro, ServiceM8, or your custom software.

POST /api/project/create
GET /api/project/index

Monitor Site Activity

Track who is on site by querying project events data.

GET /api/project_events/all
GET /api/project_events/show/{id}

Asset Management Integration

Sync your fleet or equipment data with asset management or accounting systems.

GET /api/asset/index
POST /api/asset/create
GET /api/asset/maintenance/{id}

Testing the API

We provide tools to help you test the API before building your integration:

Postman Collection Download our pre-built Postman collection to test API endpoints interactively: Download Postman Collection

OpenAPI Specification Import our OpenAPI spec into your preferred API development tool: View OpenAPI Spec


Code Examples

The API documentation includes code examples in multiple languages:

  • cURL — For command-line testing
  • JavaScript — For web applications and Node.js
  • PHP — For server-side integrations

Visit the full API documentation to view examples for each endpoint.


Rate Limits and Best Practices

To ensure reliable service for all users, please follow these guidelines:

  • Cache data locally where possible rather than making repeated requests
  • Use pagination for large data sets
  • Implement exponential backoff for retry logic
  • Only request the data you need
  • Store your API token securely and never expose it in client-side code

Error Handling

The API returns standard HTTP status codes:

Status Code Meaning
200 Success
401 Unauthenticated — check your API token
403 Forbidden — your token doesn't have permission for this action
404 Not found — the requested resource doesn't exist
422 Validation error — check your request parameters
500 Server error — contact support if this persists

Webhooks (Subscriptions)

For real-time notifications when data changes, use the Subscriptions endpoints to register webhook URLs. Worx Safety will send HTTP POST requests to your specified URL when events occur.

POST /api/subscription/create
POST /api/subscription/delete
GET /api/subscription/index

Need Help?

If you need assistance with your API integration:

For complex integrations or custom development requirements, contact our team to discuss your needs.


    • Related Articles

    • Using the Worx Safety - Zapier Integration

      Overview Worx Safety integrates with Zapier, giving you seamless connectivity to over 6,000 apps and systems without writing any code. This integration allows you to automate workflows between Worx Safety and popular business tools including ...
    • Creating an API Token for Integrations

      Objective This article outlines the steps to create an API token for integrations, ensuring proper permissions are set for specific use cases. See video walkthrough here, and below is a step by step version. <br> Key Steps Step 1: Access the ...
    • Adding a Simpro Integration to your Worx Safety Account

      This article walks through how to set up the Simpro integration in your Worx Safety account. Using this integration should save a lot of doubling up on data entry, and also ensure the same data is present in both accounts, removing the risk of ...
    • Adding a Procore Integration to your Worx Safety Account

      This article walks through how to set up the Procore integration in your Worx Safety account. Using this integration should save a lot of doubling up on data entry, and also ensure the same data is present in both accounts, removing the risk of ...
    • Overview of Worx Safety Software for Administrators

      In this video, I walk you through the Worx Safety software from an administrator's perspective, highlighting the key features for managing contractors and workers. You’ll see how to access dashboards for quick views of pending and approved ...