---
title: "Get an array of workOrderIDs linked to the Site Audit"
method: GET
path: "/subscribers/current/siteaudit/{auditId}/linkedWorkOrderIds"
tags: ["SiteAudit"]
---

# Get an array of workOrderIDs linked to the Site Audit

`GET /subscribers/current/siteaudit/{auditId}/linkedWorkOrderIds`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/subscribers/current/siteaudit/{auditId}/linkedWorkOrderIds`
- 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/subscribers/current/siteaudit/:auditId/linkedWorkOrderIds/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `auditId` integer, required

## Response `200`

The requested workOrderId list is in the response.

## Other responses

- `401`: The request is not authorized. <br/>Error codes: 504 - Missing or incorrect authentication credentials
- `500`: The server was unable to complete the request due to an internal error. <br/>Error codes: 501 - Unspecified internal server error occurred

---

[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)
