---
title: "POST /actionTargets/get"
method: POST
path: "/actionTargets/get"
---

# POST /actionTargets/get

`POST /actionTargets/get`

Returns a list of the custom action targets in Security Hub in your account.

## Query parameters

- `MaxResults` string
- `NextToken` string

## Request body

- object
  - `ActionTargetArns` NonEmptyString[] — A list of custom action target ARNs for the custom action targets to retrieve.
  - `NextToken` string — <p>The token that is required for pagination. On your first call to the <code>DescribeActionTargets</code> operation, set the value of this parameter to <code>NULL</code>.</p> <p>For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.</p>
  - `MaxResults` integer — The maximum number of results to return.

## Response `200`

Success

- DescribeActionTargetsResponse
  - `ActionTargets` ActionTarget[], required — A list of <code>ActionTarget</code> objects. Each object includes the <code>ActionTargetArn</code>, <code>Description</code>, and <code>Name</code> of a custom action target available in Security Hub.
    - `ActionTargetArn` string, required — The ARN for the target action.
    - `Name` string, required — The name of the action target.
    - `Description` string, required — The description of the target action.
  - `NextToken` string — The pagination token to use to request the next page of results.

## Other responses

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

---

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