Developer Resources

API Documentation

Comprehensive API documentation for developers and partners. Integrate MonkMantra's marketing services into your applications and workflows.

RESTful API Design
OpenAPI 3.0 Specification
Multiple SDKs Available

Quick Start Guide

Get up and running with the MonkMantra API in minutes

1

Get Your API Key

Sign up for a MonkMantra account and generate your API key from the developer dashboard.

// Store your API key securely
const API_KEY = 'mk_live_...';
2

Make Your First Request

Test the API with a simple GET request to retrieve your account information.

fetch('https://api.monkmantra.com/v1/account', {
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json'
  }
})
3

Create a Campaign

Create your first marketing campaign using our campaigns endpoint.

fetch('https://api.monkmantra.com/v1/campaigns', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    name: 'My First Campaign',
    type: 'email',
    target_audience: 'subscribers'
  })
})

API Endpoints

Core endpoints to power your marketing integrations

POSTCampaigns
/api/v1/campaigns
Create a new marketing campaign
API Key required
GETCampaigns
/api/v1/campaigns/{id}
Retrieve campaign details and performance metrics
API Key required
POSTLead Management
/api/v1/leads
Submit new leads to your marketing funnel
API Key required
GETAnalytics
/api/v1/analytics/reports
Get detailed analytics and performance reports
API Key required
POSTWebhooks
/api/v1/webhooks
Set up real-time webhook notifications
API Key required

Official SDKs

Pre-built libraries for popular programming languages

🟢

Node.js

Official Node.js SDK with TypeScript support

npm install @monkmantra/sdk
🐍

Python

Comprehensive Python SDK for all API endpoints

pip install monkmantra-python
🐘

PHP

Laravel-compatible PHP SDK

composer require monkmantra/php-sdk
💎

Ruby

Ruby gem with Rails integration

gem install monkmantra

API Features

Built for enterprise-grade applications

Enterprise Security

Bank-grade encryption, OAuth 2.0, and role-based access controls protect your data.

High Performance

99.9% uptime SLA with global CDN and sub-100ms response times worldwide.

Comprehensive Coverage

Full API access to all MonkMantra features including campaigns, analytics, and automation.

Try Our Interactive API Explorer

Test API endpoints directly in your browser with our interactive documentation. No setup required.

API Explorer
GET /api/v1/campaigns
→ 200 OK
{
"status": "success",
"data": {...}
}