---
title: "POST /projects/{projectId}/assets/associate"
method: POST
path: "/projects/{projectId}/assets/associate"
---

# POST /projects/{projectId}/assets/associate

`POST /projects/{projectId}/assets/associate`

Associates a group (batch) of assets with an IoT SiteWise Monitor project.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `assetIds` ID[], required — The IDs of the assets to be associated to the project.
  - `clientToken` string — A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

## Response `200`

Success

- BatchAssociateProjectAssetsResponse
  - `errors` AssetErrorDetails[] — A list of associated error information, if any.
    - `assetId` string, required — The ID of the asset.
    - `code` 'INTERNAL_FAILURE', required — The error code.
    - `message` string, required — The error message.

## Other responses

- `480` — InvalidRequestException
- `481` — ResourceNotFoundException
- `482` — InternalFailureException
- `483` — ThrottlingException
- `484` — LimitExceededException

---

[API](https://skmtc.net/aws/apis/iotsitewise.md) · [All operations](https://skmtc.net/aws/apis/iotsitewise/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iotsitewise/versions/d13e5d3e0a6f/schema)
