Authentication
Dispatch MFA Verification Code (OTP)
POST
/api/identity/mfa/sendOverview
Sends a one-time passcode (OTP) to the user's selected MFA channel (e.g., registered email or SMS).
Authentication & Headers
- Auth: Public (Scoped to MFA challenge session token)
- Required Header:
API-Version: 1
Parameters & Request Body
mfa_token(string, required): Temporary session token issued by/api/identity/token.method_id(string, required): Verification method chosen by user (email_otportotp).
Request body
application/json
mfa_tokenstringrequiredmethod_idstringrequired{
"mfa_token": "string",
"method_id": "string"
} Responses
200 OTP verification code dispatched successfully
422 Validation Error
detailobject[]detail[].locstring | integer[]requireddetail[].msgstringrequireddetail[].typestringrequireddetail[].inputobjectdetail[].ctxobject{
"detail": [
{
"loc": [
null
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Example
curl -X POST "$PINTER_URL/api/identity/mfa/send" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mfa_token":"string","method_id":"string"}'