> 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/api-reference/eligibility/introduction.md).

# Introduction

The IDlayr Eligibility API answers a single question: **which IDlayr products is this user eligible to use?** Use it before starting a verification flow to decide whether to proceed or fall back to an alternative path.

A user is eligible for a given IDlayr product only when all three of these hold:

* **Connectivity** — IDlayr has connectivity to the user's MNO.
* **Authorisation** — your project is approved to use that MNO and has the corresponding allowed network in place.
* **Product support** — the user's MNO (or MVNO) is supported for the IDlayr product in question (Secure SNA, SIM Swap, Reverse SMS, Discovery).

Eligibility is therefore both a technical check (is there connectivity?) and a commercial check (is your project authorised?). When any of the three conditions fails for a product, that product is not returned in the response.

Two lookups are available:

* **By mobile IP address** — resolve the mobile network behind a device IP (IPv4 or IPv6) and the products the user is eligible for on that network.
* **By phone number** — resolve the mobile network a phone number belongs to (via HLR) and the products the user is eligible for.

Both are synchronous reads. Requests authenticate with an OAuth2 Access Token in the `Authorization` header (`Bearer {access_token}`). Tokens are created using a project's `client_id` and `client_secret`.


---

# 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/api-reference/eligibility/introduction.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.
