---
title: "GET /registrationcode"
method: GET
path: "/registrationcode"
---

# GET /registrationcode

`GET /registrationcode`

Gets a registration code used to register a CA certificate with IoT.

Requires permission to access the [GetRegistrationCode](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Response `200`

Success

- GetRegistrationCodeResponse — The output from the GetRegistrationCode operation.
  - `registrationCode` string — The CA certificate registration code.

## Other responses

- `480` — ThrottlingException
- `481` — UnauthorizedException
- `482` — ServiceUnavailableException
- `483` — InternalFailureException
- `484` — InvalidRequestException

---

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