Skip to main content
POST
/
v1
/
access
/
otp
Create OTP
curl --request POST \
  --url https://api.oneofnone.io/v1/access/otp \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "email": "jsmith@example.com",
  "expires": 123
}
'
{
  "message": "<string>",
  "email": "jsmith@example.com",
  "id": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json
email
string<email>
required
expires
integer

Response

Successful response

message
string
required
email
string<email>
required
id
number