Register an app
Everything you do with the Gallantree Developer API is scoped to a developer app. An app owns:
- One or more API keys (with a visible prefix, a hashed body, and an expiry).
- A list of scopes — the data the app is authorised to read or write.
- An environment —
sandbox(safe to experiment against seed data) orproduction(real lender data). - Optional security controls — IP allowlists, OAuth client credentials, tier-based rate limits.
You register an app through the Developer Portal, not this API. The portal is where you generate keys, rotate them, and configure webhooks.
Steps
- Sign in to the portal. Head to your lender's Gallantree platform and open the Developer Portal from the admin menu. If your organisation is not yet enrolled as a lender, contact your Gallantree account manager.
- Create the app. Give it a name that describes the integration (e.g.
"servicing-hub-sync"), choose an environment (sandboxfor anything you're still building), and select the scopes it needs. Scopes follow the pattern<resource>:<operation>— for exampleloans:read,organisations:write,webhooks:manage. The full list is in Authentication → Scopes. You can extend the scope list later without regenerating your keys. - Generate an API key. The portal shows the full key once. Copy it into your secret store immediately — Gallantree only stores a hash and cannot show it again. Every key begins with the
gt_prefix followed by a random suffix; the first 12 characters (the visible prefix) show up in the portal and in server logs so you can recognise which key made which call. - Record the expiry. API keys issued from the portal last 90 days, and the platform does not send expiry reminders, so set your own. You rotate by generating a second key, deploying the new one, and revoking the old one during the overlap window. See Key rotation and expiry.
Sandbox vs production
Sandbox and production apps are separate — a key issued in one will not authenticate in the other. The portal labels every app and every key with an environment pill; make sure the label matches where you intend to make calls before you commit a key to a config vault.
You can register as many apps as you need. One app per integration is a common pattern; teams sometimes split further (one app per running service) to isolate blast radius on a leaked key.
Ready to make a call?
Follow the four-step quickstart with the key you just generated.