AdminList every device with muted alarm notifications

List every device with muted alarm notifications

Every device whose alarm pushes an operator has muted, newest first, with the reason, who muted it and when it expires. Expired mutes are included and flagged — they no longer suppress anything, but the record of the mute is kept. Check this after any incident: a device muted and never un-muted is silently not alarming. Requires dual auth: X-Admin-API-Key + JWT.

curl -X GET "https://api.spkey.co/admin/device-notification-mutes" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "total": 42,
  "mutes": [
    {
      "deviceId": "example_string",
      "reason": "example_string",
      "mutedBy": "example_string",
      "expiresAt": "null",
      "createdAt": "example_string",
      "expired": true
    }
  ]
}
GET
/admin/device-notification-mutes
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Responses

totalinteger
Required
mutesarray
Required