# Retrieve all segments associated with a target Endpoint: GET /targets/{id}/segments Version: 8.1.0 ## Path parameters: - `id` (string, required) The target’s id ## Header parameters: - `X-Key` (string, required) A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs. ## Response 401 fields ## Response 403 fields ## Response 404 fields