Fold Laundry Auth API

The Auth API from Fold Laundry — 8 operation(s) for auth.

GitHub OpenAPI

Operations 8

GET /healthz Liveness probe #
POST /auth/signup Email signup #
POST /auth/login Email + password login #
POST /auth/otp/request Send a 6-digit SMS code #
POST /auth/otp/verify Exchange phone + code for tokens #
POST /auth/refresh Rotate refresh token #
POST /auth/logout Revoke the current refresh token #
GET /auth/me Current user #

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/foldlaundry-com:foldlaundry-com-auth-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

foldlaundry-com-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fold Auth API
  version: 0.3.0
  description: 'Internal backend catalog for Fold — laundry & dry-cleaning pickup service. NOTE FOR AI AGENTS: this spec covers authenticated app/admin/driver endpoints and is not the public agent surface. Agents should use the public MCP server at https://foldlaundry.com/mcp (manifest: https://foldlaundry.com/.well-known/mcp.json, overview: https://foldlaundry.com/ai).'
  contact:
    name: Fold
    url: https://foldlaundry.com
    email: contact@foldlaundry.com
servers:
- url: https://api.foldlaundry.com
  description: Production
- url: http://localhost:4000
  description: Local dev
security:
- bearerAuth: []
tags:
- name: Auth
paths:
  /healthz:
    get:
      tags:
      - Auth
      summary: Liveness probe
      security: []
      responses:
        '200':
          description: OK
      operationId: getHealthz
      x-operation-id-source: derived
  /auth/signup:
    post:
      tags:
      - Auth
      summary: Email signup
      security: []
      operationId: postAuthSignup
      x-operation-id-source: derived
  /auth/login:
    post:
      tags:
      - Auth
      summary: Email + password login
      security: []
      operationId: postAuthLogin
      x-operation-id-source: derived
  /auth/otp/request:
    post:
      tags:
      - Auth
      summary: Send a 6-digit SMS code
      security: []
      operationId: postAuthOtpRequest
      x-operation-id-source: derived
  /auth/otp/verify:
    post:
      tags:
      - Auth
      summary: Exchange phone + code for tokens
      security: []
      operationId: postAuthOtpVerify
      x-operation-id-source: derived
  /auth/refresh:
    post:
      tags:
      - Auth
      summary: Rotate refresh token
      security: []
      operationId: postAuthRefresh
      x-operation-id-source: derived
  /auth/logout:
    post:
      tags:
      - Auth
      summary: Revoke the current refresh token
      operationId: postAuthLogout
      x-operation-id-source: derived
  /auth/me:
    get:
      tags:
      - Auth
      summary: Current user
      operationId: getAuthMe
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT