Login page step 1: send a one-time code to an email address.
POST
/oauth/login
const url = 'https://api.contentsurface.io/oauth/login';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.contentsurface.io/oauth/loginThe sign-in page’s first step, posted by the page itself: emails a six-digit code to the address if it belongs to a user of the tenant, without saying whether it does. Not for applications.
Responses
Section titled “Responses”OK