# Retrieves an alert Retrieves an alert Endpoint: GET /alerts/{id} Version: v1 Security: ApplicationKey ## Path parameters: - `id` (string, required) Id of the alert ## Response 200 fields (application/json): - `id` (string) Example: "alt_abcdef12345678" - `event` (object) - `event.name` (string) Example: "Test Event" - `event.data` (object) Example: {"test":true} - `event.timestamp` (integer) Example: 1631707200000 - `note` (string) Example: "A window was opened" - `resolvedAt` (string) Example: 1642759067045 - `acknowledgedAt` (string) Example: 1642759067045 - `firstSeenAt` (string) Example: 1642759067045 - `lastSeenAt` (string) Example: 1642759067045 - `device` (object) - `device.isMain` (boolean) Example: true - `device.isActive` (boolean) Example: true - `device.customId` (string) Example: "custom-id" - `device.serialNumber` (string) Example: "abc12345678" - `device.batchNumber` (string) Example: "123" - `device.space` (object) - `device.space.clientId` (string) Example: "client-specific-id" - `device.space.isPublic` (boolean) - `device.space.disabled` (boolean) - `device.space.avatar` (object) - `device.space.avatar.default` (string) Example: "1234-5342-5543-36AD" - `device.space.avatar.url` (string) Example: "https://example.com/image" - `device.space.avatar.thumbnail` (string) Example: "1234-5342-5543-36AD" - `device.space.owner` (object) - `device.space.owner.organisation` (object) - `device.product` (object) - `device.product.description` (string) Example: "This is a Test Product" - `device.product.manufacturer` (string) Example: "Wia" - `device.product.model` (string) Example: "v1" - `device.product.colour` (string) Example: "#2E7DFF" - `device.product.category` (string) Example: "test" - `device.product.image` (string) Example: "7170506d-5759-400e-a5d1-073c5d175abc" - `device.product.state` (object) Example: {"state1":true} - `device.events` (array) - `device.location` (object) - `device.location.latitude` (string) Example: "4.67" - `device.location.longitude` (string) Example: "54.2" - `device.location.altitude` (string) Example: "1.23" - `device.meta` (object) - `device.wifi` (object) - `device.wifi.macAddress` (string) Example: "00:00:00:B5:D5:A5" - `device.wifi.rssi` (integer) Example: -90 - `device.cellular` (object) - `device.cellular.network` (string) Example: "vodafone" - `device.cellular.imei` (string) Example: "10A12345677890" - `device.cellular.iccid` (string) Example: "891004234814455936F" - `device.bluetooth` (object) - `device.lora` (object) - `device.lora.devEui` (string) Example: "10A12345678910234" - `device.lora.devAddr` (string) Example: "10A123456" - `device.lora.appEui` (string) Example: "10A12345678910234567890" - `device.lora.appKey` (string) Example: "1234404C696E6B4C6F52613230313823" - `device.sigfox` (object) - `device.lastUnprocessedEventTimestamp` (integer) Example: 1631707207000 - `device.lastProcessedEventTimestamp` (integer) Example: 1631707207000 - `device.createdAt` (integer) Example: 1631707207000 - `device.updatedAt` (integer) Example: 1631707207000 - `gateway` (object) - `gateway.isOnline` (boolean) Example: true - `alertRule` (object) - `alertRule.type` (string) Example: "email" - `alertRule.severity` (string) Example: "high" - `alertRule.enabled` (boolean) Example: true - `alertRule.autoResolve` (boolean) - `alertRule.config` (object) Example: {} - `alertRule.notificationTemplate` (object) - `alertRule.notificationTemplate.title` (string) Example: "Email template" - `alertRule.notificationTemplate.body` (string) Example: "Email body" - `alertRule.notificationTemplate.webhookUrl` (string) Example: "www.webhook-example.com" - `alertRule.notificationTemplate.webhookHeaders` (object) Example: {}