Skip to main content


The HMDA User API is used to update a user's attributes in the HMDA Platform. These attributes are: first name, last name, and the institutions that they are associated with.

All requests to the User API require an authorization token. More information on getting this token can be found in the HMDA Platform Filing API documentation.

Seeing a User's Current Attributes

All user attributes for the HMDA Platform are stored in the HMDA Platform's authorization provider, Keycloak, and can be found in the user's authorization token once decoded using standard JWT decoding. In order to see the changes to a user's attributes a new token must be fetched.

In order to associate a user with an institution that user's email domain must be associated with that institution. In order to determine what institutions are associated with the user's email domain the Institution's API search by email domain route can be used.

Update a User

This endpoint takes a JSON object of user attributes. All attributes must be submitted in the request.

Method: POST
Headers: Authorization: Bearer {{access_token}}
Body: '{firstName: "{{firstName}}", lastName: "{{lastName}}", leis: ["{{lei}}"]}'


curl -X POST \
"" \
-H 'Authorization: Bearer {{access_token}}' \
-d '{firstName: "testFirstName", lastName: "testLastName", leis: ["BANKLEIFORTEST123456"]}'
"firstName": "testFirstName",
"lastName": "testLastName",
"leis": [

An official website of the CFPB's HMDA  v3.0.9

Looking for U.S. government information and services?