---
title: "GET /detector/{detectorId}/publishingDestination"
method: GET
path: "/detector/{detectorId}/publishingDestination"
---

# GET /detector/{detectorId}/publishingDestination

`GET /detector/{detectorId}/publishingDestination`

Returns a list of publishing destinations associated with the specified <code>detectorId</code>.

## Path parameters

- `detectorId` string, required

## Query parameters

- `maxResults` integer
- `nextToken` string
- `MaxResults` string
- `NextToken` string

## Response `200`

Success

- ListPublishingDestinationsResponse
  - `Destinations` Destination[], required — A <code>Destinations</code> object that includes information about each publishing destination returned.
    - `DestinationId` string, required — The unique ID of the publishing destination.
    - `DestinationType` 'S3', required — The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.
    - `Status` 'PENDING_VERIFICATION' | 'PUBLISHING' | 'UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY' | 'STOPPED', required — The status of the publishing destination.
  - `NextToken` string — A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the <code>NextToken</code> value returned from the previous request to continue listing results after the first page.

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

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