Sprixen Authentication API

The Authentication API from Sprixen — 5 operation(s) for authentication.

GitHub OpenAPI

Operations 6

GET /v1/auth/google Get Google OAuth URL #
GET /v1/auth/google/callback Google OAuth callback (browser redirect) #
POST /v1/auth/google/callback Google OAuth callback (SPA POST — code + state in body) #
POST /v1/auth/logout Logout — invalidate current session and clear cookie #
GET /v1/auth/me Get current authenticated user #
GET /v1/auth/token Get current session token (for API clients) #

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/sprixen-com:sprixen-com-authentication-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

sprixen-com-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sprixen Authentication API
  description: Sprixen AI Game Asset Generator, REST API & MCP Server
  version: '1.0'
  contact: {}
servers:
- url: https://api.sprixen.com
  description: Production
- url: http://localhost:8080
  description: Local Development
tags:
- name: Authentication
paths:
  /v1/auth/google:
    get:
      operationId: AuthController_getGoogleAuthUrl
      summary: Get Google OAuth URL
      parameters:
      - name: callback_url
        required: true
        in: query
        description: Frontend callback URL after auth
        schema:
          example: http://localhost:3000/auth/callback
          type: string
      responses:
        '200':
          description: Google OAuth URL returned
      tags:
      - Authentication
  /v1/auth/google/callback:
    get:
      operationId: AuthController_googleCallback
      summary: Google OAuth callback (browser redirect)
      parameters:
      - name: code
        required: true
        in: query
        schema:
          type: string
      - name: state
        required: true
        in: query
        schema:
          type: string
      - name: error
        required: true
        in: query
        schema:
          type: string
      responses:
        '302':
          description: Redirect to frontend
      tags:
      - Authentication
    post:
      operationId: AuthController_googleCallbackPost
      summary: Google OAuth callback (SPA POST — code + state in body)
      parameters: []
      responses:
        '200':
          description: Auth successful — cookie set, user returned
        '400':
          description: Missing code or state
        '401':
          description: Invalid or expired state nonce
      tags:
      - Authentication
  /v1/auth/logout:
    post:
      operationId: AuthController_logout
      summary: Logout — invalidate current session and clear cookie
      parameters: []
      responses:
        '200':
          description: Logged out successfully
      tags:
      - Authentication
  /v1/auth/me:
    get:
      operationId: AuthController_me
      summary: Get current authenticated user
      parameters: []
      responses:
        '200':
          description: User profile returned
      tags:
      - Authentication
      security:
      - bearer: []
  /v1/auth/token:
    get:
      operationId: AuthController_getToken
      summary: Get current session token (for API clients)
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Authentication
      security:
      - bearer: []
components:
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Sprixen API key (spx_live_...)
      name: Authorization
      in: header
    cookie:
      type: apiKey
      in: cookie
      name: sprixen_session