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.
openapi: 3.2.0
info:
title: MoveMentors Upload API
version: 1.0.0
description: 'HTTP API for MoveMentors, the directory and booking platform for independent movement teachers and small studios.
**Public API v1** (`/api/v1`, tag "Public API v1"): read-only, no authentication. Find mentors, studios and upcoming classes. Guide: https://movementors.com/developers
**Errors**: every error is `application/problem+json` (RFC 9457) with a stable `code` and a `hint`.
**Rate limits**: 100 requests per minute per IP ("burst") plus 5,000 per day on list endpoints ("daily"). Every response carries `RateLimit-Policy` and `RateLimit` (draft-ietf-httpapi-ratelimit-headers) plus `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`; a 429 adds `Retry-After`.
**Versioning**: the major version is in the path (/api/v1). Additive changes ship in place; breaking changes ship as a new version. A deprecated version answers with `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers at least 6 months before it is switched off.
**Authenticated endpoints** (mobile + web clients): Bearer token from POST /api/auth/token, or the HttpOnly NextAuth session cookie. Agents that need to act for a user should use the MCP server at /api/mcp with OAuth 2.1.'
contact:
name: MoveMentors engineering
url: https://movementors.com/developers
x-api-lifecycle:
versioning: url-path
current: v1
versions:
v1:
status: stable
deprecatedAt: null
sunsetAt: null
deprecationNoticeMonths: 6
deprecationSignals:
- Deprecation header (RFC 9745)
- Sunset header (RFC 8594)
- Link rel=deprecation
servers:
- url: https://movementors.com
description: Production
- url: http://localhost:3000
description: Local development
tags:
- name: Upload
paths:
/api/upload/profile-image:
post:
tags:
- Upload
summary: Upload a profile image
description: Multipart form data. Server processes via Sharp (AVIF preferred, WebP fallback) and stores in Supabase Storage. Returns the public URL.
security:
- BearerAuth: []
- CookieAuth: []
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
description: Image file (JPEG/PNG/WebP, max 5MB)
required:
- file
responses:
'200':
description: Uploaded
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
format:
type: string
required:
- url
- format
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postApiUploadProfileImage
x-operation-id-source: derived
/api/upload/class-image:
post:
tags:
- Upload
summary: Upload a class cover image
security:
- BearerAuth: []
- CookieAuth: []
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
description: Image file (max 5MB)
required:
- file
responses:
'200':
description: Uploaded
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
format:
type: string
required:
- url
- format
operationId: postApiUploadClassImage
x-operation-id-source: derived
components:
schemas:
Error:
type: object
properties:
error:
type: string
required:
- error
description: Standard error response
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Short-lived access token (15 min) obtained from POST /api/auth/token. Refresh via POST /api/auth/token/refresh.
CookieAuth:
type: apiKey
in: cookie
name: authjs.session-token
description: NextAuth HttpOnly session cookie. Web-only; mobile clients should use BearerAuth instead.
externalDocs:
description: Public API guide
url: https://movementors.com/developers