Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.hevn.finance/api/v1/auth/email_otp \ --header 'Content-Type: application/json' \ --data ' { "sessionKey": "<string>", "otpCode": "<string>" } '
import requests url = "https://api.hevn.finance/api/v1/auth/email_otp" payload = { "sessionKey": "<string>", "otpCode": "<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({sessionKey: '<string>', otpCode: '<string>'}) }; fetch('https://api.hevn.finance/api/v1/auth/email_otp', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "status": "ok" }
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Verify email OTP code. Sets email_otp_validated flag on session.
Request schema for email OTP verification.
Session key from auth/start
6-digit OTP code
6
Successful Response
Simple status response.
Was this page helpful?