Playground API — Free Stateful Mock REST & GraphQL Service Auth API

The Auth API from Playground API — Free Stateful Mock REST & GraphQL Service — 4 operation(s) for auth.

Operations 5

POST /api/v1/auth/login Authenticate user with username/email & password to receive signed JWT access… #
POST /api/v1/auth/register Register a new session user and immediately receive signed JWT tokens #
POST /api/v1/auth/refresh Exchange a valid refresh token for a fresh 15-minute JWT access token #
GET /api/v1/auth/me Retrieve current authenticated user profile using Authorization: Bearer #
PATCH /api/v1/auth/me Update current authenticated user profile in the session sandbox using… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/playground-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

playground-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Playground Auth API
  version: 1.0.0
  description: Zero-config per-identity sandboxed mock REST API with relational filtering, dynamic sorting, and network simulation.
servers:
- url: http://playground-api-backend.vercel.app
  description: Default Server
tags:
- name: Auth
paths:
  /api/v1/auth/login:
    post:
      summary: Authenticate user with username/email & password to receive signed JWT access…
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example: {}
      requestBody:
        required: true
        content:
          application/json:
            example:
              username: Bret
              password: password123
      tags:
      - Auth
      operationId: postApiV1AuthLogin
      x-operation-id-source: derived
  /api/v1/auth/register:
    post:
      summary: Register a new session user and immediately receive signed JWT tokens
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example: {}
      requestBody:
        required: true
        content:
          application/json:
            example:
              name: Alice Smith
              username: alice
              email: alice@example.com
              password: password123
      tags:
      - Auth
      operationId: postApiV1AuthRegister
      x-operation-id-source: derived
  /api/v1/auth/refresh:
    post:
      summary: Exchange a valid refresh token for a fresh 15-minute JWT access token
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example: {}
      requestBody:
        required: true
        content:
          application/json:
            example:
              refreshToken: eyJhbGciOiJIUzI1NiIsInR5cCI6...
      tags:
      - Auth
      operationId: postApiV1AuthRefresh
      x-operation-id-source: derived
  /api/v1/auth/me:
    get:
      summary: 'Retrieve current authenticated user profile using Authorization: Bearer'
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example: {}
      tags:
      - Auth
      operationId: getApiV1AuthMe
      x-operation-id-source: derived
    patch:
      summary: Update current authenticated user profile in the session sandbox using…
      parameters: []
      responses:
        '200':
          description: Successful Operation
          content:
            application/json:
              example: {}
      requestBody:
        required: true
        content:
          application/json:
            example:
              name: Bret - Updated Profile
              email: bret.new@example.com
      tags:
      - Auth
      operationId: patchApiV1AuthMe
      x-operation-id-source: derived