Skip to Content
API ReferenceAuth Apps

Auth Apps

Manage authentication services for your applications (Firebase Auth alternative). All endpoints require Authorization: Bearer TOKEN.

Create Auth App

POST /api/v1/auth-apps

Body:

{ "name": "My App Auth", "project_id": "prj_abc123", "providers": { "email": true, "google": true, "github": true } }

List Auth Apps

GET /api/v1/auth-apps

Get Auth App

GET /api/v1/auth-apps/:id

Update Auth App

PUT /api/v1/auth-apps/:id

Body: Any fields from the create request.

Delete Auth App

DELETE /api/v1/auth-apps/:id

Get Statistics

GET /api/v1/auth-apps/:id/stats

Response: 200

{ "total_users": 1542, "active_users": 890, "logins_today": 87, "signups_today": 12 }

Rotate Signing Keys

Invalidates all existing user tokens.

POST /api/v1/auth-apps/:id/rotate-keys

List Users

GET /api/v1/auth-apps/:id/users?page=1&limit=20&search=john
ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber20Results per page
searchstringSearch by name or email

Disable / Enable User

POST /api/v1/auth-apps/:id/users/:userId

Body:

{ "action": "disable" }

Actions: disable, enable

Delete User

DELETE /api/v1/auth-apps/:id/users/:userId