Skip to main content
POST
/
swap
/
request-otp
Request OTP
curl --request POST \
  --url https://api.onbeam.io/swap/request-otp \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "quoteId": "<string>"
}
'
{
  "otpSent": true
}

Authorizations

x-api-key
string
header
required

Body

application/json
quoteId
string
required

Response

OTP requested

otpSent
boolean
required