Search…
What is Passage?
🏃
Getting Started
Quickstart
Creating a New App
📖
Popular Guides
Correlating Users Between Passage and Your Database
Working with Callbacks
Smart Links
Multi-Device Testing with ngrok
Custom Registration Data
🧑💻 Passage for Web
Passage Elements
UI Customization
Custom Logic with Callbacks
🌐
Frontend Frameworks
React
Next.js
Vue
Angular
Connecting to API Backend
📚
Backend Libraries
Overview
Node.js
Python
Ruby
Go
⚙
API Docs
Passage.js
Authentication API
Apps
Users
WebAuthn
Magic Links
Authenticated Users
Management API
⚡️ Advanced
Deploying Your App
Platform Compatibility
Security
🔗
Helpful Links
Discord Community
Email Support
Passage Console
Powered By
GitBook
Authenticated Users
These endpoints are designed to be used from your frontend application to manage the currently authenticated user. All endpoints in this section require a valid Passage auth token.
get
https://auth.passage.id/v1
/apps/{app_id}/currentuser/
Get Current User
get
https://auth.passage.id/v1
/apps/{app_id}/currentuser/devices/
List Devices
patch
https://auth.passage.id/v1
/apps/{app_id}/currentuser/email/
Change Email
patch
https://auth.passage.id/v1
/apps/{app_id}/currentuser/phone/
Change Phone
patch
https://auth.passage.id/v1
/apps/{app_id}/currentuser/devices/{device_id}/
Update Device
delete
https://auth.passage.id/v1
/apps/{app_id}/currentuser/devices/{device_id}/
Revoke Device
post
https://auth.passage.id/v1
/apps/{app_id}/currentuser/devices/start
Start WebAuthn Add Device
post
https://auth.passage.id/v1
/apps/{app_id}/currentuser/devices/finish
Finish WebAuthn Add Device
Previous
Magic Links
Next - API Docs
Management API
Last modified
1mo ago
Copy link
Contents
get
/apps/{app_id}/currentuser/
get
/apps/{app_id}/currentuser/devices/
patch
/apps/{app_id}/currentuser/email/
patch
/apps/{app_id}/currentuser/phone/
patch
/apps/{app_id}/currentuser/devices/{device_id}/
delete
/apps/{app_id}/currentuser/devices/{device_id}/
post
/apps/{app_id}/currentuser/devices/start
post
/apps/{app_id}/currentuser/devices/finish