latestOpenAPI 3.0.02026-08-1284111344.5 KB

14666f4db0f8

Jobs

Assign a Technician to a Job

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

post/v2/jobs/{jobId}/team

Path parameters

jobIdstring required
Example:JOB-BA5r7o4bqzR9MONa

The Job ID

Headers

Authorizationstring required
Example:Bearer <token>

Bearer Token

Request body

technitionIdnumber required

The ID of the technician (prefix USR-).

isPrimarynumber

Whether the technician is the primary technician.

replaceboolean

Whether to replace the existing technician, works only if the option "Allow Multiple Technicians" is disabled in the account settings.

Example request

{
  "replace": true
}

Response

The assigned technician

idstring

The id of the user

namestring

The name of the technician.

emailAddressstring

The email address of the technician.

isPrimaryboolean

Whether the technician is the primary technician.

Example response

{
  "id": "USR-BA5r7o4bqzR9MONa",
  "name": "John Doe",
  "emailAddress": "john.doe@example.com",
  "isPrimary": true
}