Moja AI's REST API and integration surfaces, with the full endpoint reference on the Moja help center.
API Reference
Moja has a REST API for managing your account programmatically, and four integration surfaces for moving call traffic and call data between Moja and your systems.
The complete, always-current reference lives in the Moja help center.
REST API
Read and write the records you otherwise manage in the portal — campaigns, targets, buyers, publishers, routing plans, RTB formulas, numbers and number pools, webhooks, custom tags, audit logs, and reporting.
| Base URL | https://external-api.moja-ai.com |
| Path prefix | /api/v1 |
| Authentication | X-API-Key: <api_key> or Authorization: Bearer <api_key> |
| Specification | OpenAPI 3.1.0 |
curl https://external-api.moja-ai.com/api/v1/campaigns \
-H 'X-API-Key: YOUR_API_KEY'Every operation is documented with its parameters, request and response schemas, error codes, and generated request snippets for cURL, JavaScript, Go, and C#. Start with the REST API guide for authentication, pagination, error handling, and rate limits.
An OpenAPI document and a Postman collection are published alongside it:
openapi.json— generate a typed client from the specpostman_collection.json— the current generated request collection, ready to import
Integration surfaces
| Surface | What it does | Reference |
|---|---|---|
| Real-time bidding | Publishers send call opportunities into a campaign; Moja auctions calls out to external buyers. | RTB reference |
| Webhooks | Outbound event notifications from Moja, and inbound webhooks that push caller metadata, tags, and field updates into Moja. | Webhooks reference |
| Revenue postbacks | Report a confirmed sale or conversion amount back against a completed call. | Postbacks reference |
| Dynamic number insertion | A JavaScript snippet plus a number pool, tying a website visitor session to the call that visitor places. | DNI reference |
These use different hosts and different authentication from the REST API. Check the reference for the surface you are building against rather than reusing credentials across them.
Reporting
Call logs and aggregated reporting are available through the REST API's Reporting operations. For QAI — transcription, scoring, and natural-language querying of your call data — see Reporting & QAI in the help center.
Need help?
- Developer documentation — the full reference for every surface above
- Email [email protected]
- Schedule a technical consultation