---
title: "POST /#X-Amz-Target=IoTAutobahnControlPlane.GetStateTemplate"
method: POST
path: "/#X-Amz-Target=IoTAutobahnControlPlane.GetStateTemplate"
---

# POST /#X-Amz-Target=IoTAutobahnControlPlane.GetStateTemplate

`POST /#X-Amz-Target=IoTAutobahnControlPlane.GetStateTemplate`

Retrieves information about a state template.

Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see [Amazon Web Services Region and feature availability](https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html) in the _Amazon Web Services IoT FleetWise Developer Guide_.

## Headers

- `X-Amz-Target` 'IoTAutobahnControlPlane.GetStateTemplate', required

## Request body

- GetStateTemplateRequest
  - `identifier` string, required — The unique ID of the state template.

## Response `200`

Success

- GetStateTemplateResponse
  - `name` string — The name of the state template.
  - `arn` string — The Amazon Resource Name (ARN) of the state template.
  - `description` string — A brief description of the state template.
  - `signalCatalogArn` string — The ARN of the signal catalog associated with the state template.
  - `stateTemplateProperties` NodePath[] — A list of signals from which data is collected. The state template properties contain the fully qualified names of the signals.
  - `dataExtraDimensions` NodePath[] — <p>A list of vehicle attributes associated with the payload published on the state template's MQTT topic. </p> <p>Default: An empty array</p>
  - `metadataExtraDimensions` NodePath[] — <p>A list of vehicle attributes to associate with user properties of the messages published on the state template's MQTT topic.</p> <p>Default: An empty array</p>
  - `creationTime` string, date-time — The time the state template was created in seconds since epoch (January 1, 1970 at midnight UTC time).
  - `lastModificationTime` string, date-time — The time the state template was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
  - `id` string — The unique ID of the state template.

## Other responses

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

---

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