MFA
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"totp": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({totp: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/login/mfa', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/mfa"
payload = { "totp": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}API Gateway
MFA
MFA
POST
/
v2
/
login
/
mfa
MFA
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"totp": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({totp: '<string>'})
};
fetch('https://api.studio.prisme.ai/v2/login/mfa', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/mfa"
payload = { "totp": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}Was this page helpful?
⌘I