Authentication Domain

Authentication API

User management, login, refresh, logout, profile, and batch auth flows

API Prefix

/api/auth

Every endpoint hangs off this prefix so you can compose requests consistently.

Endpoint coverage

9

Curated routes spanning common workflows

Playground ready

Deep link directly into the playground with your preferred method and path.

Open in Playground

Capabilities

What you can simulate

Mix and match endpoints to validate dashboards, onboarding flows, error states, and integration docs before touching production systems.

1

Passwordless and MFA-ready login flows

2

Refresh tokens, sessions, and device trust

3

Role and permission scaffolding

4

Short-lived JWT access tokens

5

Account verification + recovery steps

6

User directory with profile metadata

7

Audit trails for compliance demos

Endpoints

Available routes

Each endpoint responds with JSON objects modeled after production systems, complete with pagination, filtering, and optional latency controls for stress testing.

POST

/api/auth/register

Try it
POST

/api/auth/login

Try it
POST

/api/auth/refresh

Try it
POST

/api/auth/logout

Try it
GET

/api/auth/me

Try it
GET

/api/auth/users

Try it
GET

/api/auth/users/batch?ids=usr_120000,usr_120001

Try it
POST

/api/auth/users/batch

Try it
GET

/api/auth/profile?user_id=usr_123456

Try it
auth

Launch secure onboarding flows fast

Prototype login, registration, and account recovery in minutes without stitching mock data yourself.

Explore more

Other mock API domains

Browse the full library of free mock API domains for your next project.