Moolre Documentation

API Reference / Sandbox

Sandbox scenarios

POSThttps://api.moolre.com/open/sandbox/scenarios

Read the sandbox test catalogue as JSON: the test numbers (last three digits), the magic amounts, the request status values and the outcome each produces. Public and read-only: no keys needed. A test suite can read this instead of hard-coding the numbers.

Headers

  • X-API-USER string optional

    Optional. Your Moolre username.

Responses

200 Success

The catalogue: environment, outcomes (test numbers, magic amounts and statuses), the trigger and reset endpoints, webhook signing, and limits.

{  "status": 1,  "code": "SBX01",  "message": "Sandbox scenarios",  "data": {    "environment": "sandbox",    "outcomes": "...",    "trigger": {      "endpoint": "POST /open/sandbox/trigger"    },    "reset": {      "endpoint": "POST /open/sandbox/reset"    },    "limits": {      "otp": "At most 3 OTP SMS per phone per 10 minutes"    }  },  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}