Skip to main content
Skip to content
Developer Hub

API Reference

Integrate WebWorldMaker's powerful messaging and AI infrastructure into your applications.

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Core REST Endpoints

POST/v1/messages/send

Send an SMS or WhatsApp message.

Request Body (JSON)

{
  "to": "+1234567890",
  "channel": "whatsapp",
  "type": "text",
  "content": {
    "text": "Hello from WebWorldMaker!"
  }
}

Model Context Protocol (MCP)

We provide a public MCP server for agents to query your analytics and messaging logs securely.

npx @webworldmaker/mcp-server --api-key=YOUR_API_KEY

Rate Limits & Gateway Quotas

To maintain ecosystem stability and deterministic latency across carrier gateways, API endpoints enforce standard token-bucket quotas:

Endpoint TierDefault QuotaBurst Limit
/v1/messages/*120 req / min250 req / min
/v1/analytics/*60 req / min100 req / min
MCP Tool Execution30 req / min60 req / min

Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. Exceeding limits returns HTTP 429 Too Many Requests with backoff guidance.