Exchange a login challenge and a TOTP or recovery code for a session token.
curl --request POST \
--url https://api.symbiosis.markets/auth/login/totp \
--header 'Content-Type: application/json' \
--data '
{
"challenge": "<string>",
"code": "<string>"
}
'import requests
url = "https://api.symbiosis.markets/auth/login/totp"
payload = {
"challenge": "<string>",
"code": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({challenge: '<string>', code: '<string>'})
};
fetch('https://api.symbiosis.markets/auth/login/totp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kyc_challenge": "<string>",
"token": "<string>"
}Auth
Exchange a login challenge and a TOTP or recovery code for a session token.
POST
/
auth
/
login
/
totp
Exchange a login challenge and a TOTP or recovery code for a session token.
curl --request POST \
--url https://api.symbiosis.markets/auth/login/totp \
--header 'Content-Type: application/json' \
--data '
{
"challenge": "<string>",
"code": "<string>"
}
'import requests
url = "https://api.symbiosis.markets/auth/login/totp"
payload = {
"challenge": "<string>",
"code": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({challenge: '<string>', code: '<string>'})
};
fetch('https://api.symbiosis.markets/auth/login/totp', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kyc_challenge": "<string>",
"token": "<string>"
}