Trio Agency API Docs
Trio Agency APIsTrio Client APIs
Trio Agency APIsTrio Client APIs
  1. Guides
  • Trio
    • Home
    • Webhooks
    • Guides
      • Jobs Sync
      • Candidate Submission
    • APIs
      • Candidate
        • Get a list of all active candidates related to your account.
        • Create or update a candidate.
        • Gets information for the specified candidate.
      • Candidates
        • Gets a list of candidates
        • Creates a candidate.
        • Gets a specific candidate
        • Updates a candidate.
      • Client
        • Get a list of all active clients related to your account.
        • Gets information for the specified client.
      • Clients
        • Get client locations.
        • Get a specific client location.
      • Job
        • Gets a listing of all open jobs.
        • Gets a listing of closed jobs based on the date range.
        • Get information for the specified job.
      • Profession
        • Gets all professions with a list of their specialties.
      • ProviderConfirmation
        • Get a list of provider confirmations related to your account.
        • Get information for the specified provider confirmation.
      • Shifts
        • Gets a list of shifts for the user performing the request
        • Gets a list of available shift statuses
        • Gets a specific shift
        • Attempts to claim the shift for the current user or specified candidate
        • Confirms the assignment of a shift
        • Declines the assignment of a shift
        • Releases a confirmed shift
      • ShiftSubmissions
        • Attempts to submit a shift submission
        • Attempts to accept a shift submission
        • Attempts to reject a shift submission
        • Attempts to withdraw a shift submission
      • Specialty
        • Gets all specialties.
        • Gets information for the specified specialty.
      • StaffingPools
        • Get a collection of candidates with active or inactive clearances to staffing pools
        • Get locations for staffing pools
      • Submission
        • Get a list of all submissions related to your account.
        • Create a new submission.
        • Accepts a submission that was offered.
        • Declines an offered submission.
        • Withdraw a submission.
        • Get a list of reasons for withdrawing a submission.
        • Get information for the specified submission.
        • Update the specified submission.
      • Timecard
        • Get a list of all Timecards related to your account.
        • Get a list of all valid Pay Types the can be used when creating/updating Timecard Lines.
        • Get a specific timecard.
        • Get a list of all documents associated with a timecard.
        • Get the timesheet document associated with a timecard.
        • Get a specific document associated with a timecard.
      • Timecard Copy
        • Get a list of all Timecards related to your account.
        • Get a list of all valid Pay Types the can be used when creating/updating Timecard Lines.
        • Get a specific timecard.
        • Get a list of all documents associated with a timecard.
        • Get the timesheet document associated with a timecard.
        • Get a specific document associated with a timecard.
      • TimecardExpense
        • Get a list of all Timecard Expenses for a Timecard.
      • TimecardLine
        • Get a list of all Timecard Lines for a Timecard.
      • Webhooks
        • Get a list of all webhooks registered for your agency.
        • Subscribes a new webhook to a Trio event.
        • Deletes the webhook registration from Trio.
        • Get the list of available events that can be subscribed to via webhook.
        • Get a webhook by its id.
Trio Agency APIsTrio Client APIs
Trio Agency APIsTrio Client APIs
  1. Guides

Trio Job Sync Integration Guide

Introduction#

This guide outlines the process for agencies to integrate with Trio VMS to maintain a synchronized list of availabe jobs. The integration uses both the Trio API for initial data retrieval and periodic syncs as well as Trio webhooks for real-time updates.

Authentication#

Before accessing the Trio API, you need to set up authentication and obtain an API Key to use in the X-API-KEY header in each request.

Integration#

Retrieve Initial Job List#

To get the initial list of jobs, use the /api/v3/Job endpoint:
This endpoint returns a list of all open jobs available to your agency.
You can use the modifiedDate query parameter to limit the response to jobs that were modfied after a specific date. A simple date will be accepted and the time will default to midnight UTC.
IMPORTANT
Updates to the NumberOfCurrentOpenPositions does not trigger an update to a Job's ModifiedDateUtc or a Job Update webhook event. If this is a critical piece of data to keep updated in your system, use the api/v3/Job endpoint without a modifiedDate parameter.

Register Job Update Webhook#

To receive real-time updates about job changes, register a webhook listener and an endpoint on your server to receive webhook payloads. See Webhook Registration for detailed instructions on registering webhooks within Trio.

Implement Webhook Endpoint#

Create an endpoint on your server to receive webhook payloads:
1.
Set up a secure HTTPS endpoint (e.g., https://your-agency-domain.com/trio-webhooks/jobs)
2.
Implement request validation to ensure the webhook is from Trio.
3.
Process the incoming webhook payload and update your local job data accordingly.

Job Sync Implementation#

To maintain a synchronized job list:
1.
Perform an initial fully sync using the API:
Retrieve all jobs using the /Job endpoint.
Store the jobs in your database.
Record the timestamp of this sync.
2.
Set up a periodic sync (e.g., daily) to catch any missed updates:
Use the /Job endpoint with the modifiedDate parameter set to your last sync timestamp.
Update your local database with any changed or new jobs.
Record the timestamp of this sync.
3.
Process incoming webhooks in real-time:
Use the Job Number as the unique identifier to determine if the job is new (not in your database) or update an existing Job.
IMPORTANT
The /api/v3/Job endpoint only returns Open or OnHold jobs. Your job ingestion process will need to account for jobs no longer returned from then endpoint as Closed.
Implementing webhooks will notify when a Job becomes Closed.

Best Practices#

1.
Implement error handling and retries for API requests and webhook processing.
2.
Use a queueing system for webhook processing to handle high volumes of updates.
3.
Implement logging for all API interactions and webhook events for troubleshooting.
4.
Regularly check the /webhooks endpoint to ensure your webhooks are still active and properly configured.
5.
Implement a way to perform a full re-sync if you suspect your job data has become out of sync.
By following this guide, you should be able to implement a robust job sync integration with Trio VMS, keeping your agency's job listings up-to-date using both API and webhook mechanisms.
Modified at 2025-09-24 17:33:56
Previous
Webhooks
Next
Candidate Submission
Built with