Connect AI Magicx to everything you use.
Powerful webhooks and a developer-friendly API to integrate AI capabilities into your existing tools. Automate workflows, sync data, and build custom integrations.
Get notified when things happen
Subscribe to events and receive real-time notifications when agents complete, jobs finish, or important billing events occur.
Failed deliveries retry with exponential backoff. Never miss an event.
Every webhook includes a signature for authenticity verification.
Full visibility into webhook deliveries, responses, and failures.
agent.run.startedagent.run.completedagent.run.failedjob.startedjob.completedjob.failedmessage.createdconversation.createdsubscription.changedcredits.warningcredits.depleted{
"event": "agent.run.completed",
"timestamp": "2024-12-31T10:30:00Z",
"data": {
"agent_id": "agt_abc123",
"run_id": "run_xyz789",
"status": "success",
"output": { ... }
}
}Trigger AI Magicx from anywhere
Create webhook endpoints that trigger agents, start jobs, or execute custom actions from external systems.
Run Agents
Trigger agent runs from external events with custom inputs.
Start Generations
Kick off image, video, or music generation jobs remotely.
Send Notifications
Push alerts and messages into your AI Magicx workspace.
Custom Actions
Define custom webhook handlers for your specific workflows.
https://api.aimagicx.com/webhooks/incoming/wh_abc123xyzSend a POST request to this URL to trigger your configured action.
import OpenAI from "openai";
// Just change the baseURL - that's it!
const client = new OpenAI({
apiKey: "nk_live_abc123...",
baseURL: "https://api.aimagicx.com/v1",
});
const response = await client.chat.completions.create({
model: "gpt-5", // or claude-4, gemini-2.5...
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message);Developer-first API design
OpenAI-compatible endpoints mean you can switch to AI Magicx with minimal code changes. Access 200+ models through a single API.
Drop-in replacement for OpenAI API. Switch providers with one line of code.
Long-running tasks return job IDs. Poll for status or use webhooks for completion.
Fine-grained permissions per key. Control access to chat, images, video, and more.
Clear rate limit info in every response. Build resilient integrations.
Real-world integration patterns
See how teams connect AI Magicx to their existing workflows.
Slack Bot Integration
Trigger AI agents from Slack messages. Get responses posted back to channels automatically.
CI/CD Pipeline
Generate release notes, update documentation, or create assets as part of your deployment.
Customer Support
Route support tickets to AI agents, get draft responses, and sync back to your helpdesk.
Works with tools you already use
Enterprise-Grade Security
Every API call and webhook is secured and auditable.
Start building with AI Magicx API
Get your API key and start integrating AI capabilities into your applications today. Free tier includes generous API limits.
Free tier available. No credit card required.