# Gallantree Developer Portal Build against Gallantree's loan management platform through a versioned public REST API. Read loans, capital programs, organisations, individuals, collaterals, base rates. Create loans, upload documents. Subscribe to signed webhooks and react to changes as they happen. - **Base URL:** `https://developers.gallantreecapital.com/api/v1/` - **Authentication:** [API keys](guides/authentication.md) (`x-api-key` header) or [OAuth 2.0 client credentials](guides/oauth.md) - **Webhooks:** [signed with HMAC-SHA256](guides/webhooks/verify-signature.md), delivered within seconds of the underlying event, retried on your schedule - **Environments:** [sandbox and production](getting-started/environments.md) on the same host — swap the key, not the URL ## Get started in four steps 1. **[Register an app](getting-started/register-an-app.md)** in the portal. 2. Generate a sandbox API key. The portal shows the full key **once** — copy it into your secret store immediately. 3. Make **[your first request](getting-started/first-request.md)** against the sandbox — `GET /api/v1/loans` and you'll see seed data. 4. When you're ready to receive events, **[subscribe to a webhook](guides/webhooks/subscribe.md)** and verify the signature on delivery. ## What's here - **[Getting started](getting-started/overview.md)** — orientation, register an app, first request, environments. - **[Data model](concepts/data-model.md)** — how capital programs, products, loans, organisations, individuals, and collaterals hang together. Read this before writing any integration code. - **[Guides](guides/authentication.md)** — the concepts every integration needs: authentication, key rotation, versioning, rate limits, error model, idempotency, and webhooks. - **Resources** — one section per resource, with a page for each thing you can do (list, get, create) and one for the fields it returns: **[loans](guides/resources/loans/README.md)**, **[collaterals](guides/resources/collaterals/README.md)**, **[organisations](guides/resources/organisations/README.md)**, **[individuals](guides/resources/individuals/README.md)**, **[capital programs](guides/resources/capital-programs/README.md)**, **[products and their fees](guides/resources/products/README.md)** and **[base rates](guides/resources/base-rates.md)**. - **[API reference](reference/openapi.md)** — every route, request body, response schema, and error, generated from the OpenAPI spec. - **[Error codes](reference/error-codes.md)** — the specific strings your integration will see, grouped by HTTP status. - **[Changelog](changelog/README.md)** — additions and deprecations to the v1 surface. ## A note on style Every guide ends with a runnable example. Copy, paste, replace the placeholder credentials, and it should work against sandbox. If a snippet doesn't work as documented, the bug is in the docs — [tell us](https://github.com/Token-Gesture/lms/issues/new) so we can fix it.