Find UserId by MacAddress
This helper method is mainly required for device implementations. This method returns the Biometrid ID associated with a device by MAC address.
In the Biometrid Ecosystem a device is associated to a single user per client. For security reasons, this will only allow a user to use the device he was associated to perform authentications. This is an helper method mainly for device application implementations.
Find UserID by MacAddress
GET
https://api.biometrid.com/api/1.0/users/find-by-address
Find BiometridID associated with the device.
Headers
Name
Type
Description
x-biometrid-key
string
Application client key.
x-biometrid-secret
string
Application client secret.
Request Body
Name
Type
Description
mac_address
string
Device MAC address.
// no user associated to the device.
{
"status": true,
"data": {
"message": "DEVICE_NOT_ASSOCIATED_TO_USER"
}
}
//user associated to the device.
{
"status": true,
"data": {
"message": "USER_ALREADY_REGISTERED_ON_THIS_DEVICE",
"id": "5be3000bd3adgd3e152724f2"
}
}
{
"mac_address": "00:0a:95:9d:68:16"
}
Last updated
Was this helpful?