Confirming New User

From DreamFactory
Jump to: navigation, search
DreamFactoryTutorialsConfirming New User

When a new user is created, the system can send them an invite email that contains a confirmation URL and confirmation code. When they click the link in the email a form is presented that requests the following info in order to confirm them as a new user. DreamFactory normally handles all of this for you, but you can use the API below to implement the same functionality in your own app.

API Endpoint

POST https://{url}/api/v2/user/password

Request body:

{
  "code": "confirm_code"
  "email": "user_email",
  "new_password": "password",
  "verify_password": "password"
}

Example - Confirming New User

  • Request body:
{
  "code": "abc123"
  "email": "[email protected]",
  "new_password": "secret",
  "verify_password": "secret"
}
  • Request URL:
POST https://foo.com/api/v2/user/password