{"uid":"cap_nw6t-7K0hrbt5TACJjDPA","slug":"agent402-tools-user-onboarding-workflow-2d64aaab","name":"agent402.tools User Onboarding Workflow","description":"Bundled execution of the User onboarding workflow - 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.","url":"https://agent402.tools/api/skill/user-onboarding","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"email":{"type":"string","description":"User-supplied email address"},"password":{"type":"string","description":"User-chosen password (plaintext, will be scored then hashed; never logged)"},"totpCode":{"type":"string","description":"6-digit code the user typed in to confirm their authenticator app is wired up"},"totpSecret":{"type":"string","description":"Base32 TOTP secret generated during 2FA enrollment (server-side state)"},"displayName":{"type":"string","description":"User-supplied display name (will be slugified into a URL handle)"}}},"responseSchema":{"type":"json","example":{"args":{"email":"ada@example.com","password":"S0meStrongPassw0rd!","totpCode":"492039","totpSecret":"JBSWY3DPEHPK3PXP","displayName":"Ada Lovelace"},"pack":"user-onboarding","steps":[{"ok":true,"slug":"email-validate","result":{}},{"ok":true,"slug":"password-strength","result":{}},{"ok":true,"slug":"uuid","result":{}},{"ok":true,"slug":"slugify","result":{}},{"ok":true,"slug":"password","result":{}},{"ok":true,"slug":"hash","result":{}},{"ok":true,"slug":"totp","result":{}}],"summary":"7/7 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BOQibO6zt5pOq1kObNDEy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs the full user onboarding pipeline in one call: validates email, scores and hashes password, verifies TOTP 2FA, mints an internal user ID, and derives a URL-safe handle from the display name.","exampleAgentPrompt":"Run the full onboarding workflow for a new user signing up with email 'jane.doe@example.com', password 'Tr0ub4dor&3', display name 'Jane Doe', and their TOTP confirmation code '482910' along with the base32 TOTP secret 'JBSWY3DPEHPK3PXP' — validate everything, score the password, mint their user ID, and generate a URL handle.","exampleUseCases":null,"resultDescription":"Returns the results of the full onboarding pipeline: email validation status, password strength score and hashed value, TOTP verification outcome, a newly minted stable internal user ID, and a URL-safe handle derived from the display name — all in a single deterministic response.","failureModes":["Invalid or malformed email address returns a validation error","Weak password fails scoring threshold and returns a rejection with score details","Incorrect or expired TOTP code returns a 2FA verification failure","Missing required fields (email, password, totpCode, totpSecret, displayName) return a 400-level error","Display name that cannot be slugified into a valid handle returns a processing error","Service unavailable or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need to execute the entire new-user onboarding pipeline atomically in a single API call rather than chaining separate validation, password scoring, ID generation, 2FA verification, and slug-derivation steps. Ideal for agents orchestrating user registration flows where determinism and bundled execution reduce round-trips and state management complexity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:22.609Z","isFirstParty":false}