snippets.authMobileOTPVerify() — supabase Function Reference
Architecture documentation for the snippets.authMobileOTPVerify() function in Snippets.ts from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/Docs/Snippets.ts lines 634–659
authMobileOTPVerify: (endpoint: string, apiKey: string) => ({
title: 'Verify Pin',
bash: {
language: 'bash',
code: `
curl -X POST '${endpoint}/auth/v1/verify' \\
-H "apikey: ${apiKey}" \\
-H "Content-Type: application/json" \\
-d '{
"type": "sms",
"phone": "+13334445555",
"token": "123456"
}'
`,
},
js: {
language: 'js',
code: `
let { data, error } = await supabase.auth.verifyOtp({
phone: '+13334445555',
token: '123456',
type: 'sms'
})
`,
},
}),
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free