Test Dispatch Engine
Fire a live OTP payload to verify edge routing latency and inbox placement.
dispatch_otp.js
const authepy = require('@authepy/server');
// Your backend injects the real Secret Key
const client = new AuthepyClient(process.env.AUTHEPY_SECRET_KEY);
await client.otp.send({
projectId: 'proj_01J0X',
email: 'test@example.com'
});
curl -X POST https://api.authepy.com/v1/otp/send \
-H "Authorization: Bearer ath_sec_test_xxxxxx" \
-H "Content-Type: application/json" \
-d "{
\"projectId\": \"proj_01J0X\",
\"email\": \"test@example.com\"
}"
Live Network Stream