> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TempWorks

> How to set up the TempWorks connector, plus the actions that are available.

![TempWorks](https://stackone-logos.com/api/tempworks/filled/svg)

Betav0.1.0[See changelog](https://docs.stackone.com/connectors/tempworks/changelog.md)

[71 actions](#actions) · 4 auth methods

ATS

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [OAuth 2.0 · Connector Profile](https://docs.stackone.com/connectors/tempworks/guides/connector-profile/oauth-2-0.md)
>
> Requires an OAuth client issued by TempWorks. A Service Rep signs in through the TempWorks Login Server and the connecti...

> [card] [OAuth 2.0 Service · Connector Profile](https://docs.stackone.com/connectors/tempworks/guides/connector-profile/oauth-2-0-service.md)
>
> Application-level access with no user sign-in, using a TempWorks-issued client and the customer's tenant and product ins...

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/tempworks/guides/connector-profile/api-key.md)
>
> Uses the account's AccountSid and AuthToken over HTTP Basic. These are account master keys and are limited to 25 request...

> [card] [OAuth 2.0 (Password Grant) · Connector Profile](https://docs.stackone.com/connectors/tempworks/guides/connector-profile/oauth-2-0-password-grant.md)
>
> Signs in as a single TempWorks Web User, an employee or a client contact, with their portal username and password. The c...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [OAuth 2.0 · Link Account](https://docs.stackone.com/connectors/tempworks/guides/link-account/oauth-2-0.md)

> [card] [OAuth 2.0 Service · Link Account](https://docs.stackone.com/connectors/tempworks/guides/link-account/oauth-2-0-service.md)

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/tempworks/guides/link-account/api-key.md)

> [card] [OAuth 2.0 (Password Grant) · Link Account](https://docs.stackone.com/connectors/tempworks/guides/link-account/oauth-2-0-password-grant.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

API Key

OAuth 2.0

OAuth 2.0 (Password Grant)

OAuth 2.0 Service

No auth methods found

Scopes

Select all
|
Clear

assignment-read

assignment-write

contact-read

contact-write

customer-read

customer-write

employee-read

employee-write

order-read

order-write

ordercandidate-read

ordercandidate-write

task-read

task-write

time-entry-read

time-entry-write

No scopes found

71 actions

ActionDescriptionRequired scopes

Search Assignments`tempworks_search_assignments_get`

Searches through assignments filtering by the search string and returns some information about the matching assignments

`assignment-read`

Get Assignment`tempworks_assignments_by_id_get`

Gets detailed information about the specified assignment

`assignment-read`

Create Assignment`tempworks_assignments_post`

Creates an assignment for the employee and job order supplied

`assignment-write`

Update Assignment`tempworks_assignments_by_id_patch`

Allows for Json patching to be performed against basic assignment fields

`assignment-write`

Extend Assignment`tempworks_extend_assignment`

Closes the assignment and creates a new assignment

`assignment-write`

Update Assignment Status`tempworks_update_assignment_status`

Updates the status of an assignment, optionally creating a message and a task and executing additional actions

`assignment-write`

List Branches`tempworks_branches_get`

Returns a list of Branches ordered by Branch Name

Get Branch`tempworks_branches_by_id_get`

Returns information about the specified Branch

Search Contacts`tempworks_search_contacts_get`

Searches through contacts filtering by the provided criteria

`contact-read`

Get Contact`tempworks_contacts_by_id_get`

Gets detailed information about the specified contact

`contact-read`

Create Contact`tempworks_contacts_post`

Creates a contact with the specified values

`contact-write`

Update Contact`tempworks_contacts_by_id_patch`

Allows for Json patching to be performed against basic contact fields

`contact-write`

List Contact Messages`tempworks_contacts_by_id_messages_get`

Gets a list of messages linked to the Contact

`contact-read`

Create Contact Message`tempworks_contacts_by_id_messages_post`

Creates a message and links it to the contact

`contact-read`

Update Contact Status`tempworks_update_contact_status`

Updates the status of a contact, optionally creating a message and a task and executing additional actions

`contact-write`

Search Customers`tempworks_search_customers_get`

Searches through customers filtering by the provided criteria

`customer-read`

List Customer Contacts`tempworks_customers_by_id_contacts_get`

Gets a list of contacts for the specified customer

`customer-read`

List Customer Job Orders`tempworks_customers_by_id_orders_get`

Gets a list of job orders for the specified customer

`customer-read`

Get Customer`tempworks_customers_by_id_get`

Gets basic detail information about the specified customer

`customer-read`

Create Customer`tempworks_customers_post`

Creates a new customer in the system and if needed will also create the worksite

`customer-write`

Update Customer`tempworks_customers_by_id_patch`

Allows for Json patching to be performed against customer fields

`customer-write`

List Customer Messages`tempworks_customers_by_id_messages_get`

Gets a list of messages linked to the Customer

`customer-read`

List Customer Worksites`tempworks_customers_by_id_worksites_get`

Gets a list of worksites belonging to the specified customer as well as those belonging to its parents and children

`customer-read`

List Customer Departments`tempworks_customers_by_id_departments_get`

Returns the departments under the specified customer

`customer-read`

Create Customer Department`tempworks_customers_by_id_departments_post`

Creates a department under the customer

`customer-write`

Create Customer Message`tempworks_customers_by_id_messages_post`

Creates a message and links it to the customer

`customer-read`

Create Customer Worksite`tempworks_customers_by_id_worksites_post`

Creates a worksite for the specified customer

`customer-write`

Update Customer Status`tempworks_update_customer_status`

Updates the status of a customer, optionally creating a message and a task and executing additional actions

`customer-write`

Get Message Actions`tempworks_get_message_actions`

Returns a list of Message Actions ordered by Action

Get Order Types`tempworks_get_order_types`

Returns a list of Order Types ordered by Order Type

Get Job Order Candidate Statuses`tempworks_get_job_order_candidate_statuses`

Returns a list of Job Order Candidate Statuses ordered with the default status first and then by Job Order Candidate Sta...

Get Regions`tempworks_get_regions`

Returns a list of Regions ordered by Country Code then Region

Get Employee Statuses`tempworks_get_employee_statuses`

Returns a list of Employee Statuses ordered by Status

Get Contact Statuses`tempworks_get_contact_statuses`

Returns a list of Contact Statuses

Get Customer Statuses`tempworks_get_customer_statuses`

Returns a list of Customer Statuses ordered by Status

Get Job Order Statuses`tempworks_get_job_order_statuses`

Returns a list of Job Order Statuses ordered by Job Order Status

Get Assignment Statuses`tempworks_get_assignment_statuses`

Returns a list of Assignment Statuses ordered by Assignment Status

Search Employees`tempworks_search_employees_get`

Searches through employees filtering by the search string and returns some information about the matching employees

`employee-read`

List Employee Assignments`tempworks_employees_by_id_assignments_get`

Gets a list of assignments for the employee

`employee-read`

Get Employee`tempworks_employees_by_id_get`

Gets details about the specified employee

`employee-read`

Create Employee`tempworks_employees_post`

Creates an employee record in TempWorks with name, contact details, address and branch, and returns the new employee id

`employee-write`

Update Employee`tempworks_employees_by_id_patch`

Allows for Json patching to be performed against basic employee fields

`employee-write`

List Employee Contact Methods`tempworks_employees_by_id_contact_methods_get`

Gets a list of contact methods for the specified employee

`employee-read`

List Employee Documents`tempworks_employees_by_id_documents_get`

Get a list of documents linked to the specified employee

`employee-read`

List Employee Messages`tempworks_employees_by_id_messages_get`

Gets a list of messages linked to the Employee

`employee-read`

Get Employee Hiring Information`tempworks_get_employee_hiring_information`

Gets hiring information about the specified employee

`employee-read`

Create Employee Contact Method`tempworks_employees_by_id_contactmethods_post`

Creates a contact method for the specified employee

`employee-write`

Create Employee Message`tempworks_employees_by_id_messages_post`

Creates a message and links it to the employee

`employee-read`

Update Employee Address`tempworks_employees_by_id_address_put`

Updates the specified employee's address

`employee-write`

Update Employee Status`tempworks_update_employee_status`

Updates the status of an employee, optionally creating a message and a task and executing additional actions

`employee-write`

Upload Employee Document`tempworks_upload_employee_document`

Uploads a document to the employee

`employee-write`

Search Job Orders`tempworks_search_job_orders_get`

Searches through job orders filtering by the provided criteria

`order-read`

List Job Order Candidates`tempworks_job_orders_by_id_candidates_get`

Gets the list of candidates for the specified job order

`ordercandidate-read`

Get Job Order`tempworks_job_orders_by_id_get`

Gets detailed information about the specified job order

`order-read`

Create Assignment Restriction Session`tempworks_create_assignment_restriction_session`

Creates and processes an assignment restriction session according to the details specified in the request body

`assignment-write``ordercandidate-write`

Create Job Order`tempworks_job_orders_post`

Creates an order with the details specified in the request

`order-write`

Update Job Order`tempworks_job_orders_by_id_patch`

Allows for Json patching to be performed against basic job order fields

`order-write`

List Job Order Assignments`tempworks_job_orders_by_id_assignments_get`

Gets a list of assignments for the specified job order

`order-read`

List Job Order Messages`tempworks_job_orders_by_id_messages_get`

Gets a list of messages linked to the job order

`order-read`

Create Job Order Candidate`tempworks_job_orders_by_id_candidates_post`

Makes an employee a candidate for a job order

`ordercandidate-write`

Create Job Order Message`tempworks_job_orders_by_id_messages_post`

Creates a message and links it to the job order

`order-read`

Update Job Order Status`tempworks_update_job_order_status`

Updates the status of a job order, optionally creating a message and a task and executing additional actions

`order-write`

List Tasks`tempworks_tasks_get`

Returns the list of tasks belonging to the current user

`task-read`

Get Task`tempworks_tasks_by_task_id_get`

Returns detailed information about the task

`task-read`

Create Task`tempworks_tasks_post`

Creates a task for the authenticated user

`task-write`

Update Task`tempworks_tasks_by_task_id_put`

Updates the subject, notes, priority, due date, privacy flag and tags of an existing task

`task-write`

List Timecards`tempworks_time_entry_timecards_get`

Get a list of current timecards

`time-entry-read`

Get Timecard`tempworks_time_entry_timecards_by_id_get`

Get detailed information about the specified Timecard

`time-entry-read`

Update Timecard`tempworks_time_entry_timecards_by_id_patch`

Patch detailed information about the specified Timecard

`time-entry-write`

Delete Timecard`tempworks_time_entry_timecards_by_id_delete`

Deletes a Timecard and all associated items

`time-entry-write`

Create Timecard`tempworks_create_timecard`

Generate a timecard for a specific assignment Id (pass assignmentId; obtain from search\_assignments\_get or employees\_by\_...

`time-entry-write`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.