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 every
{{PLACEHOLDER}}with a 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 POC requires CALLER_ID in its validator. Your production account may support additional fields or aliases such as CID; confirm the final contract before launch.
CALLER_IDRequired hereCaller 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{{CALLER_ID}} with actual caller data on every request.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. Your account’s production contract is authoritative.
{
"success": true,
"request_id": "req_example_123",
"eligible_routes": [
{ "route_id": "route_example", "bid": 24.50 }
],
"allocation_time_seconds": 45
}{
"success": true,
"request_id": "req_example_124",
"eligible_routes": []
}{
"success": false,
"error": "Missing or invalid CALLER_ID"
}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. Both links contain the endpoint identifier.