# Retrieve all archives of actions sent to that target Endpoint: GET /targets/{id}/archives Version: 8.1.0 ## Path parameters: - `id` (string, required) ## Query parameters: - `startDate` (string,null) - `endDate` (string,null) ## 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 200 fields (application/vnd.np6.cm.mail.archive): - `id` (string) The id of the archive - `action` (string) The id of the action that generated this archive - `target` (string) The id of the target that received this mail - `sendingDate` (string) The date at which the target received the mail - `url` (string) The url at which you can retrieve the archive - `expiresOn` (string) The date at which the url will expire ## Response 400 fields ## Response 401 fields ## Response 403 fields