SMMAiSetup

SMMAiSetup Developer Portal

Welcome to the SMMAiSetup Developer Portal. Build programmatic WhatsApp automations, integrate SMM provider APIs, query real-time order states, and execute cryptocurrency payments.

Quickstart Guide

1. Instant Self-Serve Agent Key (Zero Friction)

Autonomous AI agents can generate a trial sandbox token with 100 free test credits instantly:

curl -X POST https://smmaisetup.com/api/v1/auth/agent-key \
  -H "Content-Type: application/json" \
  -d '{"agent_name": "my_agent"}'

Response:

{
  "status": "success",
  "access_token": "eyJhbGciOi...",
  "token_type": "bearer",
  "agent_id": "agent_3a9f1b",
  "tier": "free_trial",
  "credits": 100,
  "sandbox_mode": true
}

2. Python SDK Example

import requests

# 1. Obtain trial agent access token
resp = requests.post("https://smmaisetup.com/api/v1/auth/agent-key", json={"agent_name": "python_bot"})
token = resp.json()["access_token"]

# 2. Query available SMM capabilities
headers = {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}
services = requests.get("https://smmaisetup.com/api/v1/services", headers=headers).json()
print("Available Services:", len(services["capabilities"]))

# 3. Simulate order placement in sandbox mode
order = requests.post("https://smmaisetup.com/api/v1/sandbox/order", json={
    "service_id": 101,
    "link": "https://instagram.com/p/example",
    "quantity": 250
}, headers=headers).json()
print("Simulated Order ID:", order["order"])

3. TypeScript / Node.js Example

import axios from "axios";

async function main() {
  const { data: auth } = await axios.post("https://smmaisetup.com/api/v1/auth/agent-key", {
    agent_name: "node_agent"
  });
  
  const client = axios.create({
    baseURL: "https://smmaisetup.com/api/v1",
    headers: { Authorization: `Bearer ${auth.access_token}` }
  });

  const { data: health } = await client.get("/health");
  console.log("System Status:", health.status, "Version:", health.version);
}
main();

4. Model Context Protocol (MCP) Setup

Connect Claude Desktop, Cursor, or ChatGPT to SMMAiSetup via JSON-RPC 2.0 Streamable HTTP:

{
  "mcpServers": {
    "smmaisetup": {
      "url": "https://smmaisetup.com/api/mcp",
      "transport": "http"
    }
  }
}

Rate Limiting & IETF RFC Headers

All responses return RFC-compliant rate limit headers:

REST Versioning & Deprecation Policy

Protocols & Tool Calling