/v1/auth/mfa/send-codeEmail a sign-in code
Sends a 6-digit code (valid 5 minutes) to the email factor. One send per 30 seconds, 3 per sign-in.
Request body
mfa_token*string`mfa_token` from the sign-in answer.
factor_id*string · uuidThe email factor to send to.
Response · 200
destination_masked*stringMasked address the code went to.
code_expires_at*string · date-timeWhen the code stops working (5 minutes).
Example
Request
POST https://api.platform-auth.productcraft.co/v1/auth/mfa/send-code
Content-Type: application/json
{
"mfa_token": "string",
"factor_id": "00000000-0000-0000-0000-000000000000"
}Response
{
"destination_masked": "string",
"code_expires_at": "2026-01-01T00:00:00.000Z"
}