> For the complete documentation index, see [llms.txt](https://docs.identomat.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.identomat.com/get-started/api-access.md). Agents can also search and read this documentation through its [MCP server](https://docs.identomat.com/~gitbook/mcp).

# API access

To begin integrating with Identomat, you’ll need an API key to authenticate your requests.

### **Obtaining an API key**

1. Log in to Manage and open **Developers → API keys**.
2. Click **Generate key** for a standard key, or **Generate key with HMAC** for a key that also signs each request (recommended for production, see below).
3. **Copy the key and store it securely.** It is shown only once. If you lose it, you’ll need to generate a new one.
4. **Restrict it to your IPs (optional).** Add your server IP addresses to the key’s IP whitelist so requests from any other IP are rejected. If the list is empty, the key works from any IP. You can add or remove IPs at any time.

The API keys table shows each key’s name, type, IP whitelist and creation date.

💡 **HMAC request signing:** With an HMAC key, your secret key is used to sign each request locally rather than being sent with it. Identomat checks the signature on its side, so a leaked key alone isn’t enough to forge a request.&#x20;

#### **Receiving results on your server**

To be notified when a session is decided, without polling, set up a webhook in **Developers → Webhooks**.&#x20;

### Procedure

The integration procedure consists of the following steps:

1. **Acquiring a `session_token`.**
2. **Redirecting the user's browser to widget.identomat.com.**
3. **Checking for a result.**

To acquire a `session_token`, the company server needs to call the **/begin** endpoint and provide the following arguments: `company_key`, `flags` and `steps`. The steps array contains the configuration for individual steps in the identification process, each of which can have its own set of flags specific to that step.&#x20;

**The endpoint used to create a session\_token:**

```
https://widget.identomat.com/begin/
```

For more details, see:

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Developer guide</strong></mark></td><td>Step-by-step instructions and best practices for integrating and customizing our identity verification solutions.</td><td></td><td><a href="https://docs.identomat.com/developer-tools/developer-guide.md">Developer guide</a></td></tr><tr><td><mark style="color:blue;"><strong>API Reference</strong></mark></td><td>Comprehensive details on endpoints, parameters, and response formats for seamless API integration.</td><td></td><td><a href="https://docs.identomat.com/developer-tools/api-reference.md">API reference</a></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.identomat.com/get-started/api-access.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
