← Home License Validation

License Validation

POSThttps://api.bayut.com/v1/users/{id}/license/validate

This endpoint updates and validates the license of user i.e. Broker Registration Number (BRN or Broker License Number (BLN).If the license is valid, it is updated.The BLN should match Agency's Trade License.

🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
NameTypeRequiredDescriptionExample
idstringOptionalThe ID of the user.123
AcceptstringOptionalapplication/json
validation_typestringOptionalThe type of license to validate. This is should beblnfor Broker License Number (BLN) andbrnfor Broker Registration Number (BRN).
license_numberstringOptionalThe license number to validate.
messagestringOptionalA general message regarding the license validation operation.
statusstringOptionalThe status of license validation. This could bevalid,invalidorpending.
Responses
200
400⚠️
401⚠️
403⚠️
Code Examples
curl --location 'https://api.bayut.com/v1/users//license/validate' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "validation_type": "bln",
    "license_number": "123123"
}'
{
    "message": "Broker License Number (for Abu Dhabi & Al Ain) Validated Successfully!",
    "status": "valid"
}