Automations

Create an automation

Changed on

Requires motion:automations:write for OAuth tokens. API keys use the owner account permissions. Automation access must be enabled for the account and environment. See /guides/automations. Automations execute only with GVA; Claude supports reads, pause, and delete only.

post/automations

Request

  • Base URL
    https://api.motion.so/api/motion
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://mcp.motion.so/oauth/authorize
      Token URLhttps://mcp.motion.so/oauth/token
      Scopesmotion:automations:write
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

namestring required
promptstring required

Self-contained instructions used for every future invocation.

maxConcurrentRunsinteger
maxRunsPerHourinteger
outputKind'video' | 'text' | 'auto'

Response

Success

Changes