Authentication
Email a one-time sign-in code (native email flow, step 1)
POST
/
api
/
auth
/
mobile
/
otp
/
request
Email a one-time sign-in code (native email flow, step 1)
curl --request POST \
--url https://app.paperlink.online/api/auth/mobile/otp/request \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({email: 'jsmith@example.com'})
};
fetch('https://app.paperlink.online/api/auth/mobile/otp/request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.paperlink.online/api/auth/mobile/otp/request"
payload = { "email": "jsmith@example.com" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
Code sent if the address has (or can have) an account
⌘I
Email a one-time sign-in code (native email flow, step 1)
curl --request POST \
--url https://app.paperlink.online/api/auth/mobile/otp/request \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({email: 'jsmith@example.com'})
};
fetch('https://app.paperlink.online/api/auth/mobile/otp/request', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.paperlink.online/api/auth/mobile/otp/request"
payload = { "email": "jsmith@example.com" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
