---
title: "Assign a technician to a work order"
method: POST
path: "/ctools/workorder/{workOrderId}/assigntechnician"
tags: ["Ctools"]
---

# Assign a technician to a work order

`POST /ctools/workorder/{workOrderId}/assigntechnician`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/ctools/workorder/{workOrderId}/assigntechnician`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/ctools/workorder/:workOrderId/assigntechnician/post.ts> (a function with typed inputs; its response is checked against the schema)

Assigns a technician to the specified work order.
            <br />***Note:*** This method is only available to provider admins.

## Path parameters

- `workOrderId` integer, required

## Query parameters

- `userId` integer, required

## Response `201`

The technician is successfully assigned to the specified work order.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.
- `401`: The request is not authorized.
- `500`: The server was unable to complete the request due to an internal error.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
