---
title: "Assign a Technician to a Lead"
method: POST
path: "/v2/leads/{leadId}/team"
tags: ["Leads"]
---

# Assign a Technician to a Lead

`POST /v2/leads/{leadId}/team`

Assigns a technician to a lead. If the account does not have multi-technician enabled, use `replace: true` to replace the existing technician.

## Path parameters

- `leadId` string, required

## Headers

- `Authorization` string, required

## Request body

- CreateJobLeadTechnitionV2Dto
  - `technitionId` number, required — The ID of the technician (prefix `USR-`).
  - `isPrimary` number — Whether the technician is the primary technician.
  - `replace` boolean — Whether to replace the existing technician, works only if the option "Allow Multiple Technicians" is disabled in the account settings.

## Response `201`

The assigned technician

- ResponseJobLeadTechnitionV2Dto
  - `id` string — The id of the user
  - `name` string — The name of the technician.
  - `emailAddress` string — The email address of the technician.
  - `isPrimary` boolean — Whether the technician is the primary technician.

## Other responses

- `400` — Invalid input
- `404` — Lead or user not found

---

[API](https://skmtc.net/workiz/apis/developer-api.md) · [All operations](https://skmtc.net/workiz/apis/developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/workiz/developer-api/revisions/14666f4db0f8/schema)
