Cotter
Cotter
Blog
Dashboard
Get help on Slack 👋
0.1.0
🚀 Getting Started
Features & Concepts
📌 Quickstart Guides
All Guides & Tutorials
HTML – Sign in with Email/Phone
React – Sign in with Email/Phone
React – WebAuthn
▲ Next.js
Angular
Webflow
Bubble.io
Python SDK for a CLI
React Native – Sign in with Device
iOS – Sign in with Device
Flutter – Sign in with Device
📘 SDK Reference
Web
React Native
Flutter
iOS
Android
Python (for CLI)
API for Other Mobile Apps or CLI
Backend: Handling Response
🛡️ Protecting Your Account
Only Allow Your Website/App to Use Your API Key
Rate Limit
Enable reCAPTCHA to Protect Against Automated Abuse
🗝️ Getting Access Token
Cotter's OAuth 2.0 Tokens Specification
Getting the Tokens
Storing and Removing Tokens
Renewing Expired Tokens
Verifying JWT Tokens
Requesting Custom Fields on your JWT Token
Older API
🔌 API Reference
User API
OAuth Tokens API
OAuth Tokens from Social Login
Event Object
Reset PIN API
Older API
Validating Cotter's Identity Token
Validating Cotter's Event Response
Reset PIN API
post
Reset Pin Request
https://www.cotter.app
/api/v0/user/reset/request/:client_user_id
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
client_user_id
required
string
The Cotter User ID of the user. If you have a different
client_user_id
, use that instead.
Headers
Content-Type
required
string
application/json
API_SECRET_KEY
required
string
Your API Secret Key
API_KEY_ID
required
string
Your API Key ID
Body Parameters
name
required
string
The user's name
sending_destination
required
string
The user's email address
sending_method
required
string
The string
EMAIL
, we only send the PIN reset code via email for now.
method
required
string
The string
PIN
Response
200: OK
Cake successfully retrieved.
{
"success": true,
"challenge_id": 123,
"challenge": "abcde12345"
}
🔌 API Reference - Previous
Event Object
Next - Older API
Validating Cotter's Identity Token
Last updated
1 month ago