Pre-flight signup email policy check for magic link
curl --request GET \
--url https://flows.super.ai/api/auth/signup-email-policyimport requests
url = "https://flows.super.ai/api/auth/signup-email-policy"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://flows.super.ai/api/auth/signup-email-policy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flows.super.ai/api/auth/signup-email-policy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flows.super.ai/api/auth/signup-email-policy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flows.super.ai/api/auth/signup-email-policy")
.asString();require 'uri'
require 'net/http'
url = URI("https://flows.super.ai/api/auth/signup-email-policy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"allowed": true,
"reason": "disposable_email"
}auth
Pre-flight signup email policy check for magic link
Pre-flight UX check used by the signup form before sending a magic link.
Unauthenticated and purely domain-list based — it performs no account lookup, so it cannot be used to enumerate accounts. Hard enforcement stays in POST /auth/self-service/complete; clients bypassing this check are still rejected there. Mirrors the GET /auth/login-method pre-flight pattern.
GET
/
api
/
auth
/
signup-email-policy
Pre-flight signup email policy check for magic link
curl --request GET \
--url https://flows.super.ai/api/auth/signup-email-policyimport requests
url = "https://flows.super.ai/api/auth/signup-email-policy"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://flows.super.ai/api/auth/signup-email-policy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://flows.super.ai/api/auth/signup-email-policy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flows.super.ai/api/auth/signup-email-policy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flows.super.ai/api/auth/signup-email-policy")
.asString();require 'uri'
require 'net/http'
url = URI("https://flows.super.ai/api/auth/signup-email-policy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"allowed": true,
"reason": "disposable_email"
}Query Parameters
Email address to evaluate
Response
Policy evaluated
Pre-flight evaluation of the signup email policy for the magic-link path.
Whether this email may sign up via magic link.
Rejection reason when not allowed: disposable_email, personal_email_not_allowed, or academic_email_not_allowed.
Available options:
disposable_email, personal_email_not_allowed, academic_email_not_allowed, undeliverable_email