Get all devices created with a specific API key
GET
/admin/api-keys/{id}/devices
curl \
--request GET 'http://localhost:7001/admin/api-keys/{id}/devices' \
--header "X-Admin-Secret: $API_KEY"
Response examples (200)
{
"status": true,
"code": 200,
"message": "Devices retrieved successfully",
"data": [
{
"device_id": "550e8400-e29b-41d4-a716-446655440000",
"device_name": "Production Phone",
"whatsmeow_jid": "6281234567890@s.whatsapp.net",
"status": "active",
"created_at": "2025-01-01T00:00:00Z",
"last_active_at": "2025-12-03T10:30:00Z"
}
]
}