User creation
The registration of a user requires an email and a password. The end user, who will synchronize his bank accounts, doesn't need to be aware of these two parameters.
Bridge is a Server-to-Server API, so you can use the email parameter like an identifier and the password should be generated randomly. If you lose this password, the API cannot regenerate it.
Email and password parameters
The email doesn't have to be a real email although the "@" is required. Please also note that the email (and all query parameters) should be URL Encoded (@ becomes %40), otherwise the request will fail.
The password must be at least 6 characters and less than 72 characters.
User lifecycle management
Don't forget to delete the Bridge users associated to your customers when they delete their account on your service.
curl 'https://api.bridgeapi.io/v2/users' \
-X POST \
-H 'Bridge-Version: 2021-06-01' \
-H 'Content-Type: application/json' \
-H 'Client-Id: MY_CLIENT_ID' \
-H 'Client-Secret: MY_CLIENT_SECRET' \
-d $'{
"email": "[email protected]",
"password": "password123"
}'
Updated 10 months ago