Skip to main content
GET
/
core
/
device
/
self
curl https://acusight.io/api/device/self \
  -H "X-Device-Key: adk_x9y8z7w6v5u4..."
{
  "success": true,
  "data": {
    "device_id": "ABCD:1234:5678:EFGH",
    "endpoint_id": "ABCD:1234:5678:EFGH",
    "organization_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "approved",
    "name": "Edge Camera 1"
  }
}
Returns information about the authenticated device. Used by edge agents to verify their registration and get organization context.
This endpoint uses Device API Key authentication via the X-Device-Key header, not bearer token authentication.

Authentication

Include the device API key in the X-Device-Key header:
X-Device-Key: adk_<your-api-key>

Response

device_id
string
The device’s unique identifier
endpoint_id
string
Same as device_id (for compatibility)
organization_id
string
UUID of the organization this device belongs to
status
string
Device status: pending, approved, or rejected
name
string
Display name of the device
curl https://acusight.io/api/device/self \
  -H "X-Device-Key: adk_x9y8z7w6v5u4..."
{
  "success": true,
  "data": {
    "device_id": "ABCD:1234:5678:EFGH",
    "endpoint_id": "ABCD:1234:5678:EFGH",
    "organization_id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "approved",
    "name": "Edge Camera 1"
  }
}