81trust / 100
Skill User Onboarding
by Skill: User onboarding in Documents & files
x402 APIPassing, checked 2 h ago
Take a signup form submission and run the full onboarding workup deterministically: validate the email, score the chosen password, mint a stable internal ID, derive a URL-safe handle from the display name, generate a recovery / API secret, hash the password for storage, and verify the 2FA setup code. One pass, every step a pure-CPU call.
POST https://agent402.tools/api/skill/user-onboarding
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 194 ms typical, 376 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/skill/user-onboarding" \
-H "content-type: application/json" \
-d '{"displayName":"Ada Lovelace","email":"[email protected]","password":"S0meStrongPassw0rd!","totpCode":"492039","totpSecret":"JBSWY3DPEHPK3PXP"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fskill%2Fuser-onboarding
const res = await pay("https://agent402.tools/api/skill/user-onboarding", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"displayName":"Ada Lovelace","email":"[email protected]","password":"S0meStrongPassw0rd!","totpCode":"492039","totpSecret":"JBSWY3DPEHPK3PXP"}),
});
console.log(await res.json());Example input
{
"displayName": "Ada Lovelace",
"email": "[email protected]",
"password": "S0meStrongPassw0rd!",
"totpCode": "492039",
"totpSecret": "JBSWY3DPEHPK3PXP"
}Example output
{
"args": {
"displayName": "Ada Lovelace",
"email": "[email protected]",
"password": "S0meStrongPassw0rd!",
"totpCode": "492039",
"totpSecret": "JBSWY3DPEHPK3PXP"
},
"pack": "user-onboarding",
"steps": [
{
"ok": true,
"result": {},
"slug": "email-validate"
},
{
"ok": true,
"result": {},
"slug": "password-strength"
},
{
"ok": true,
"result": {},
"slug": "uuid"
},
{
"ok": true,
"result": {},
"slug": "slugify"
},
{
"ok": true,
"result": {},
"slug": "password"
},
{
"ok": true,
"result": {},
"slug": "hash"
},
{
"ok": true,
"result": {},
"slug": "totp"
}
],
"summary": "7/7 steps succeeded"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 187 ms | $0.008 |
| 5 h ago | Passed | 402 | 196 ms | $0.008 |
| 9 h ago | Passed | 402 | 193 ms | $0.008 |
| 13 h ago | Passed | 402 | 199 ms | $0.008 |
| 16 h ago | Passed | 402 | 191 ms | $0.008 |
| 21 h ago | Passed | 402 | 194 ms | $0.008 |
| 24 h ago | Passed | 402 | 190 ms | $0.008 |
| 27 h ago | Passed | 402 | 376 ms | $0.008 |
| 32 h ago | Passed | 402 | 449 ms | $0.008 |