# Get all registered devices for the current user Endpoint: GET /api/v1/devices Version: 1.0 Security: header ## Response 200 fields (application/json): - `userId` (string, required) User ID owning this device Example: "us_01hxcvk1hjexere4pvtrj0ymqq" - `deviceId` (string, required) Unique device identifier from client (fid) - `fcmToken` (string, required) FCM token for the device - `endpoint` (string, required) Relay endpoint to deliver to FCM - `p256dh` (string, required) User public key for encrypted push - `auth` (string, required) User auth secret for encrypted push - `platform` (string, required) Client platform (e.g. android, ios, web) - `device` (string,null) Optional device description - `createdAt` (string, required) Example: "2022-03-10T16:15:50Z" - `updatedAt` (string, required) Example: "2022-03-10T16:15:50Z" ## Response 401 fields (application/json): - `errorCode` (string, required) Error code - `message` (string, required) Error message - `docUrl` (string) Link to documentation