Site icon NgDeveloper

Firebase API’s

Replace YOUR_FIREBASE_API in the below API’s with your Firebase API key.

Firebase API to sign up the user

POST API:

https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=YOUR_FIREBASE_API

Headers:

Content-Type: application/json

Body: [raw / JSON]:

{"email":"example@gmail.com","password":"example.com","returnSecureToken":true}

Firebase API to login the user

POST API:

https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=YOUR_FIREBASE_API

Headers:

Content-Type: application/json

Body: [raw / JSON]:

{"email":"example@gmail.com","password":"example.com","returnSecureToken":true}

Firebase API to send the email verification

POST API:

https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key=YOUR_FIREBASE_API

Headers:

Content-Type: application/json

Body: [raw / JSON]:

{"requestType":"VERIFY_EMAIL", "idToken":"PASS_YOUR_TOKEN_VALUE_HERE"}

Exit mobile version