Cotter
Blog
Dashboard
Get help on Slack π
Searchβ¦
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
User Object
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
Powered By
GitBook
User API
post
https://www.cotter.app
/api/v0/user/create
Create a User
Example Curl Request:
1
curl -XPOST \
2
-H 'API_KEY_ID: <your API KEY ID>' \
3
-H "Content-Type: application/json" \
4
-d '{"identifier": "
[email protected]
"}' \
5
'https://www.cotter.app/api/v0/user/create'
Copied!
get
https://www.cotter.app
/api/v0/user?identifier=<identifier>
Get User
get
https://www.cotter.app
/api/v0/user/list?page=0
Get All Users
Previous
During enrolling Trusted Devices
Next
User Object
Last modified
11mo ago
Copy link
Contents
post
Create a User
get
Get User
get
Get All Users