Skip to main content
The Macaly API enables external applications to create chat sessions, build web applications with AI, and deploy them to production programmatically.
The API is available exclusively on Enterprise plans. Contact us to learn more about enterprise pricing and features.

Base URL

Quick Start

  1. Get an API Key - See Authentication
  2. Create a Chat - Send a prompt to start building
  3. Poll for Completion - Wait for the AI to finish
  4. Deploy - Publish your app to production

Available Endpoints

Rate Limits and Credits

  • API requests consume credits from your team’s balance
  • Each chat creation costs the same as using the web interface
  • Failed API key attempts are rate limited (5 per minute per IP)
  • Monitor your usage in Settings → Usage & Limits

Error Handling

All errors return JSON with an error field:

HTTP Status Codes