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

# GET /invitations

`GET /invitations`

Lists all Security Hub membership invitations that were sent to the current Amazon Web Services account.

This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.

## Query parameters

- `MaxResults` integer
- `NextToken` string

## Response `200`

Success

- ListInvitationsResponse
  - `Invitations` Invitation[] — The details of the invitations returned by the operation.
    - `AccountId` string — The account ID of the Security Hub administrator account that the invitation was sent from.
    - `InvitationId` string — The ID of the invitation sent to the member account.
    - `InvitedAt` string, date-time — The timestamp of when the invitation was sent.
    - `MemberStatus` string — The current status of the association between the member and administrator accounts.
  - `NextToken` string — The pagination token to use to request the next page of results.

## Other responses

- `480` — InternalException
- `481` — InvalidInputException
- `482` — InvalidAccessException
- `483` — LimitExceededException

---

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