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

# GET /portals

`GET /portals`

Retrieves a paginated list of IoT SiteWise Monitor portals.

## Query parameters

- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListPortalsResponse
  - `portalSummaries` PortalSummary[] — A list that summarizes each portal.
    - `id` string, required — The ID of the portal.
    - `name` string, required — The name of the portal.
    - `description` string — The portal's description.
    - `startUrl` string, required — The URL for the IoT SiteWise Monitor portal. You can use this URL to access portals that use IAM Identity Center for authentication. For portals that use IAM for authentication, you must use the IoT SiteWise console to get a URL that you can use to access the portal.
    - `creationDate` string, date-time — The date the portal was created, in Unix epoch time.
    - `lastUpdateDate` string, date-time — The date the portal was last updated, in Unix epoch time.
    - `roleArn` string — The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html">Using service roles for IoT SiteWise Monitor</a> in the <i>IoT SiteWise User Guide</i>.
    - `status` PortalStatus, required — Contains information about the current status of a portal.
      - `state` 'CREATING' | 'UPDATING' | 'DELETING' | 'ACTIVE' | 'FAILED', required — The current state of the portal.
      - `error` object — Contains associated error information, if any.
        - `code` 'INTERNAL_FAILURE' | 'VALIDATION_ERROR' | 'LIMIT_EXCEEDED' — The error code.
        - `message` string — The error message.
  - `nextToken` string — The token for the next set of results, or null if there are no additional results.

## Other responses

- `480` — InvalidRequestException
- `481` — InternalFailureException
- `482` — ThrottlingException

---

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