Get Connected Devices List
This endpoint returns a list of devices that are currently connected to or have previously accessed the authenticated user's Netevia account. Each device entry includes identification details, connection status, and timestamps. Partners can use this data to surface device management features, enabling users to monitor for unauthorized access and maintain account security.
Endpoint
GET /settings/devices
Authentication
Bearer token required. Obtain via:
POST https://api.banking.netevia.dev/api/auth/v2
Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.
When to use
Use this endpoint to display a device management screen within your application, allowing users to see which devices are authorized to access their account. This is particularly useful for security dashboards or notification flows where users need to identify and act on unfamiliar devices. It can also be called periodically to audit connected devices or trigger alerts when new devices appear.
Response
200 OK
The response contains a top-level Devices array. Each element is either a base device object or an extended device object that includes additional status fields.
Base device fields (deviceInformationResponse):
| Field | Type | Description |
|---|---|---|
| deviceId | string | Unique identifier for the device |
| deviceName | string | Human-readable name of the device (e.g., "iPhone 13", "MacBook Pro") |
| creationDate | string (date-time) | ISO 8601 timestamp of when the device was first registered |
| isDeleted | boolean | Whether the device has been removed/revoked |
Extended device fields (extendedDeviceInformationResponse — includes all base fields plus):
| Field | Type | Description |
|---|---|---|
| deletionDate | string (date-time) or null | Timestamp of when the device was deleted; presence indicates the device is considered deleted |
| isActive | boolean | Whether the device currently has an active session |
Top-level response object:
| Field | Type | Description |
|---|---|---|
| Devices | array | Array of device objects; each item is either a base or extended device information object |
{
"Devices": [
{
"deviceId": "d1a2b3c4-e5f6-7890-abcd-ef1234567890",
"deviceName": "iPhone 15 Pro",
"creationDate": "2024-08-10T09:15:00Z",
"isDeleted": false,
"isActive": true,
"deletionDate": null
},
{
"deviceId": "a9b8c7d6-e5f4-3210-fedc-ba9876543210",
"deviceName": "MacBook Pro",
"creationDate": "2024-07-01T14:22:00Z",
"isDeleted": false,
"isActive": false,
"deletionDate": null
},
{
"deviceId": "f0e1d2c3-b4a5-6789-0123-456789abcdef",
"deviceName": "Chrome on Windows",
"creationDate": "2024-06-15T11:00:00Z",
"isDeleted": true,
"deletionDate": "2024-09-01T08:30:00Z"
}
]
}Error Codes
| Code | When it happens |
|---|---|
| 401 | Token missing, expired, or invalid |
| 404 | No device records found for the authenticated user |
| 500 | Internal server error while retrieving connected devices |
Common Mistakes
- Not refreshing the Bearer token before calling this endpoint — tokens expire after 10 minutes, resulting in a 401 response.
- Assuming all items in the
Devicesarray have the same shape — extended device objects includedeletionDateandisActivefields that base objects do not; handle both variants in your response parser. - Treating
isDeleted: falseas equivalent toisActive: true— a device can be registered but not currently active; useisActiveto determine live session status on extended objects. - Displaying raw
deletionDatevalues without checking for null — always check for null before rendering deletion timestamps to avoid UI errors.
Related Endpoints
DELETE /settings/devices/{deviceId}— Revoke access for a specific connected deviceGET /settings/profile— Retrieve account profile and security settingsPOST /api/auth/v2— Obtain a new Bearer token for authenticationPOST /api/auth/refresh— Refresh an existing Bearer token before expiry
Example
curl -X GET https://api.banking.netevia.dev/settings/devices \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" 404Not Found
