moda-api
moda-api
Moda's public REST API at https://api.moda.app/v1 is the right surface when there is no human in the loop — scheduled jobs, CI pipelines, webhook-driven workers, server-side integrations, custom dashboards. Authentication is Bearer token with a moda_live_… API key.
If a user is chatting with an AI agent (Claude Desktop, Cursor, etc.), use the moda-mcp skill instead — it handles OAuth, session context, and chat-shaped flows. The REST API and MCP can both run against the same Moda account.
Prerequisites
- Base URL:
https://api.moda.app/v1 - Auth:
Authorization: Bearer moda_live_<suffix>. Create keys in Settings → Developer → REST API. Keys are shown once; store in a secret manager. Seereferences/authentication.mdfor the 13 scopes. - Version: pin
Moda-Version: 2026-05-01on every request. Omitting it resolves to the current default (2026-04-12today, advancing on sunset dates). Seereferences/versioning.md.
Every write in this skill's examples uses Moda-Version: 2026-05-01. Every body JSON uses prefixed IDs (cvs_…, task_…, bk_…, file_…).
Before you call POST /v1/tasks — HARD GATE
Design tasks take 2–10 minutes. Getting the input right up front saves a lot of wasted compute and retry cycles. Run this pre-flight checklist before every task start: