Connect to Moja RTB with confidence.
Paste your inbound RTB URL to generate a prefilled setup guide and validate a payload locally—without sending a live ping.
Your endpoint
The endpoint below is a non-live example. Paste your assigned Moja URL above to replace it with your endpoint.
https://rtb.moja.cloud/inbound_rtb/your-publisher-endpoint-idRequest flow
- 1Collect caller data
Prepare the caller ID and any optional routing attributes available before the call.
- 2Send a GET request
Add values as URL query parameters. Replace the entire
{{PLACEHOLDER}}token—including both curly braces—with the real value. - 3Read the response
Use the returned eligibility and allocation details to decide the next routing step.
- 4Route the matching call
Follow the production contract supplied with your Moja account; do not reuse an expired allocation.
Payload reference
This campaign requests the fields below. The local validator and request template follow this field schema.
CALLER_IDRequired for this campaignCaller phone number. E.164 (+12125550184) is preferred; CID may be supported by account configuration.+12125550184FIRST_NAMEOptionalCaller first name.JaneLAST_NAMEOptionalCaller last name.DoeZIP_CODEOptional5-digit US postal code or ZIP+4.10001STATEOptional2-letter US state code.NY{{ and }}. For example, send CALLER_ID=+12125550184—never CALLER_ID={{+12125550184}}.https://rtb.moja.cloud/inbound_rtb/your-publisher-endpoint-id?CALLER_ID={{CALLER_ID}}&FIRST_NAME={{FIRST_NAME}}&LAST_NAME={{LAST_NAME}}&ZIP_CODE={{ZIP_CODE}}&STATE={{STATE}}Response examples
Illustrative response shapes for integration planning. HTTP 200 or success: true means Moja processed the request—not that the caller data was validated or a route is available. Use eligible_routes to determine eligibility. Your account’s production contract is authoritative.
{
"success": true,
"request_id": "1d0db814-812a-4201-9d2e-4c64efffXXXX",
"inbound_rtb_id": "inbound_rtb_1790807650364_b5e7XXXX",
"allocation_time_seconds": 30,
"eligible_routes": [
{
"number": "+18335553435",
"payout": 8.24,
"duration": 211
}
],
"total_routes": 1,
"allocated_count": 1,
"timestamp": "2026-10-01T21:59:54.324Z"
}{
"success": true,
"request_id": "req_example_124",
"eligible_routes": []
}{
"success": true,
"request_id": "req_example_125",
"eligible_routes": []
}Payload lab
Paste your assigned endpoint to enable validation.
https://rtb.moja.cloud/inbound_rtb/your-publisher-endpoint-id?CALLER_ID={{CALLER_ID}}&FIRST_NAME={{FIRST_NAME}}&LAST_NAME={{LAST_NAME}}&ZIP_CODE={{ZIP_CODE}}&STATE={{STATE}}Share this guide
Generate the guide first, then share the hash link whenever possible. All exports and links contain the endpoint identifier.
A self-contained branded guide that works offline.
Opens the branded guide in your browser’s Save as PDF dialog.
Clean Markdown for Slack, email, or internal docs.