Passcode
Initialize passcode login
Initialize a passcode login for the user identified by user_id. Sends an email containing the actual passcode to the user's primary email address or to the address specified through email_id. Returns a representation of the passcode.
post/passcode/login/initialize
Request body
Example request
{
"user_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
"email_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
}Response
Successful passcode login initialization
Example response
{
"id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
"ttl": 300
}