> For the complete documentation index, see [llms.txt](https://docs.idlayr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idlayr.com/products/eligibility/testing.md).

# Testing in sandbox

{% hint style="info" %}
**Backend API** · GA
{% endhint %}

Test Eligibility without real MNO traffic by using a sandbox project. The last digits of the `phone_number` (or specific test IPs) drive the simulated outcome.

See [Project modes](/get-started/concepts/project-modes.md) for the general sandbox model.

## How sandbox testing works

In sandbox mode, IDlayr returns simulated eligibility responses based on the MSISDN suffix or test IP. The shape of the response is the same as production.

## By Mobile IP Address — IP suffix map

| IP ends with           | HTTP status | Meaning                 |
| ---------------------- | ----------- | ----------------------- |
| Even last digit        | 200         | Success, eligible       |
| Odd last digit         | 412         | Not a mobile IP address |
| `99` (last two digits) | 400         | MNO not supported       |

## By Phone Number — MSISDN suffix map

Phone-number sandbox values follow the conventional MSISDN-suffix pattern used across IDlayr products (even/odd last digit drives match/no-match; `00`, `55`, `99` drive error states). The specific outcome values for the v1 phone-number endpoint will be confirmed at onboarding.

For the cross-product overview of sandbox — what's simulated, what isn't, sandbox retention — see [Sandbox testing](/get-started/sandbox-testing.md).

## What sandbox doesn't simulate

* Real production carrier coverage shifts.
* Live MNO query latency variance.

Run a small set of production checks against real numbers in your target markets before going live.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.idlayr.com/products/eligibility/testing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
