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

# Guides

Short pages on what the endpoint reference leaves out: which id to send, what state a loan must be in, what an error means, what to retry, and what changed. Start with the [Quickstart](https://api-docs.hengelending.com/api/quickstart) if you have not made a call yet.

* [API credentials](https://api-docs.hengelending.com/api/guides/api-credentials.md): create, rotate and revoke your company's client id and secret yourself, and which scopes a new credential has.
* [Scopes](https://api-docs.hengelending.com/api/guides/scopes.md): every scope, what it allows, which a new credential has, and the older names still accepted.
* [Identifiers](https://api-docs.hengelending.com/api/guides/identifiers.md): the loan id, the LOS loan id and the loan number, and how to get from one to another.
* [Loan lifecycle](https://api-docs.hengelending.com/api/guides/loan-lifecycle.md): created, started, submitted, then the LOS statuses. What you can call in each state and which webhooks fire.
* [Errors](https://api-docs.hengelending.com/api/guides/errors.md): the error bodies, every status code the API returns and what to do about each.
* [Limits and reliability](https://api-docs.hengelending.com/api/guides/limits-and-reliability.md): rate limits, size limits, webhook delivery, which billed calls are safe to retry, and what to send support.
* [Changelog and versioning](https://api-docs.hengelending.com/api/guides/changelog-and-versioning.md): what counts as a breaking change and a dated list of changes.


---

# 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://api-docs.hengelending.com/api/guides.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.
