Create User
As a starting point, we need to create a new user on the Biometrid System. To do so, we need to make a request to the method Create User. This method only needs a parameter called reference_id to be sent. This reference_id refers to the user’s identifier on the client’s database. This way Biometrid solution won’t hold any sensitive information regarding the client’s final users. At the end of this creation process it will be returned a Biometrid Identifier to that user, that needs to be stored on the client’s side because it will be used on every process regarding user itself. If an error occurs, it's necessary to repeat this process until a successful response of the service.
Registration Activity Diagram

Create User
POST
Https://api.biometrid.com/api/1.0/users
This endpoint allows you to create an user
Query Parameters
mac_address
string
If set, this field associate a the created user with a device by mac_address.
app_token
string
If using Firebase Notification Service, the app_token provided should be used to create user.
reference_id
string
Client's user identifier on client's database or just user's identifier
Headers
x-biometrid-key
string
Application client key.
x-biometrid-secret
string
Application client secret
// new user created
{
"status": true,
"data": {
"message": "NEW_USER_CREATED",
"id": "59147e5afdda9b0ac0f5e31f"
}
}
// user already associated with device
{
"status": true,
"data": {
"message": "USER_ALREADY_ASSOCIATED_WITH_DEVICE",
"id": "59147e5afdda9b0ac0f5e31f"
}
}
Last updated
Was this helpful?