---
title: "Receive Mender device status change webhook"
method: POST
path: "/v1/edge/mender/device-authentication/device-status-changed"
tags: ["Edge Mender"]
---

# Receive Mender device status change webhook

`POST /v1/edge/mender/device-authentication/device-status-changed`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/edge/mender/device-authentication/device-status-changed`
- Auth: none required

Called by Mender when a device's authentication status changes (e.g. accepted, rejected). Requires a valid HMAC-SHA256 signature in X-MEN-Signature. No user authentication needed.

## Headers

- `X-MEN-Signature` string, required

## Request body

- object
  - `type` string, required
  - `data` object, required
    - `id` string: Mender device ID
    - `status` 'pending' | 'accepted' | 'rejected' | 'preauthorized' | 'noauth'
    - `auth_sets` object[]
      - `iddata` string: JSON string containing device identity data (e.g. {"mac":"AA:BB:CC:DD:EE:FF"})

## Response `200`

Webhook processed successfully

- object
  - `status` string
  - `message` string

## Other responses

- `400`: Missing or invalid signature, or malformed JSON body

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
