> 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/get-started/concepts/access-models.md).

# API access models

IDlayr products fall into two access models. The distinction determines whether you need a mobile SDK on the device, whether the end user needs to be on cellular data, and what credentials your backend needs.

## Device APIs (device-to-backend)

The end user's device participates in the verification flow over the cellular data path, and the IDlayr **mobile SDK is required** to pin the request to the cellular interface and observe the carrier's response. These products require:

* The mobile SDK (iOS — `IDlayrKit`; Android — `idlayr-sdk-android`).
* A Cloudsmith entitlement token to fetch the SDK at build time.
* An OAuth2 access token minted by your backend and passed to the SDK at runtime.
* An active cellular data connection on the device at the moment of verification — Wi-Fi breaks the trust path.

**Products in this category:** Secure SNA, Discovery.

Both use Number Verification 1.0 (NV 1.0), which depends on the carrier attributing the active data session to a phone number. NV 2.1 — which uses carrier entitlement servers to widen coverage — is in active rollout; endpoints are tagged with their NV version on the API reference.

## Backend APIs (backend-to-backend)

Server-to-server only. Your backend calls the IDlayr API and receives a result. The end user's device may participate in the user-facing UX (in Reverse SMS the user sends an SMS), but **there is no IDlayr SDK on the device** — no Cloudsmith entitlement, no platform-specific code.

* No IDlayr mobile SDK.
* No Cloudsmith entitlement token.
* No cellular-data constraint.
* Works from any channel — native app, mobile web, desktop, IVR, server-only flows.

**Products in this category:**

* **SIM Swap** and **Eligibility** — pure backend products with no device-side step.
* **Reverse SMS** — backend integration; the device-side step is your app opening the native SMS composer via a standard `sms:` URL scheme. No SDK, no IDlayr code on the device.

## When you need both

Combining a device API (e.g. Secure SNA for device-and-number trust) with a backend API (e.g. SIM Swap to detect a recent SIM change) closes attack vectors neither product can close alone.


---

# 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/get-started/concepts/access-models.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.
