Request MFA email sign-in link
POST
/api/auth/mfa/email-link/request
const url = 'https://hitkeep.com/api/auth/mfa/email-link/request';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"challenge_token":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","return_url":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://hitkeep.com/api/auth/mfa/email-link/request \ --header 'Content-Type: application/json' \ --data '{ "challenge_token": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "return_url": "example" }'Sends a one-time email link for an active MFA challenge.
Request Body required
Section titled “Request Body required ” Media type application/json
object
challenge_token
required
string format: uuid
return_url
string
Example generated
{ "challenge_token": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "return_url": "example"}Responses
Section titled “ Responses ”Status
Media type application/json
object
message
string
status
string
Example generated
{ "message": "example", "status": "example"}Failed to send email sign-in link
Media type application/json
object
message
string
Example generated
{ "message": "example"}