---
title: "POST /partner-accounts"
method: POST
path: "/partner-accounts"
---

# POST /partner-accounts

`POST /partner-accounts`

Associates a partner account with your AWS account.

## Request body

- object
  - `Sidewalk` object, required — Information about a Sidewalk account.
    - `AmazonId` string — The Sidewalk Amazon ID.
    - `AppServerPrivateKey` string, password — The Sidewalk application server private key.
  - `ClientRequestToken` string — Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
  - `Tags` Tag[] — The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
    - `Key` string, required — The tag's key value.
    - `Value` string, required — The tag's value.

## Response `200`

Success

- AssociateAwsAccountWithPartnerAccountResponse
  - `Sidewalk` object — The Sidewalk account credentials.
    - `AmazonId` string — The Sidewalk Amazon ID.
    - `AppServerPrivateKey` string, password — The Sidewalk application server private key.
  - `Arn` string — The Amazon Resource Name of the resource.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — InternalServerException
- `483` — ThrottlingException
- `484` — ConflictException
- `485` — AccessDeniedException

---

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