multi-factor-authentications
Create a multi-factor authentication
Create a new MFA record and send a verification code via the specified channel.
POST
Body
application/json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new MFA record and send a verification code via the specified channel.
curl --request POST \
--url https://api.fluid.app/api/multi_factor_authentications \
--header 'Content-Type: application/json' \
--data '
{
"multi_factor_authentication": {
"multi_factorable_type": "UserCompany",
"multi_factorable_id": 90210,
"verification_channel": "email"
}
}
'{
"multi_factor_authentication": {
"uuid": "<string>",
"authenticated": true,
"verification_code_expires_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Show child attributes
Created
MFA record created — returned by send_mfa, resend_mfa, and multi_factor_authentications create
curl --request POST \
--url https://api.fluid.app/api/multi_factor_authentications \
--header 'Content-Type: application/json' \
--data '
{
"multi_factor_authentication": {
"multi_factorable_type": "UserCompany",
"multi_factorable_id": 90210,
"verification_channel": "email"
}
}
'{
"multi_factor_authentication": {
"uuid": "<string>",
"authenticated": true,
"verification_code_expires_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}