# Get Public Config

Your tenant's branding and sign-in options, readable before anyone signs in: call it when your app starts.

## Overview

- The request is **signed by your server** (the tenant signature, or a server token): it carries no user token. See [Authentication](https://docs.aureahub.com/docs/authentication.md).
- `logoUrl` is your tenant's logo, a public address your app may load, or `null`: then show your own. `primaryColor` is a hex colour such as `#6142FF`, or `null`.
- `walletMode` is how your tenant's wallets are held: `custodial` (the default), `non_custodial` or `mpc` — see [Wallets & Custody](https://docs.aureahub.com/docs/guide-non-custodial-keys.md).
- `appleSignInEnabled` is `true` when Sign in with Apple is set up for your tenant; `googleWebClientId` is the Google client id your app passes to Google Sign-In, or `null`.
- `onboarding` is the onboarding slides your tenant switched on — `{ "enabled": true, "slides": [...] }`, each slide with its `imageUrl` and its texts in English and Italian (`{ "en", "it" }`) — or `null`: then show your own.
- The answer may be cached for 10 minutes (`Cache-Control: public, max-age=600`).

## Endpoint

### `GET /v1/tenant/public`

Authentication: signed by the tenant's server — headers `x-tenant-api-key`, `x-timestamp`, `x-signature` (see Authentication → Tenant signature). No user token.

Returns the tenant's branding and sign-in options. Signed by the tenant's server; no user token.

**Responses**

`200` OK

```json
{
  "logoUrl": "https://api.aureahub.com/v1/uploads/logos/3f1c9a52-6d1e-4c1b-9f0a-2a51e1c0b7d4_1791297243000.png",
  "primaryColor": "#6142FF",
  "walletMode": "custodial",
  "appleSignInEnabled": true,
  "googleWebClientId": "1234567890-abc123.apps.googleusercontent.com",
  "onboarding": null
}
```

**Example request**

```bash
curl https://api.aureahub.com/v1/tenant/public \
  -H "x-tenant-api-key: YOUR_API_KEY" \
  -H "x-timestamp: UNIX_SECONDS" \
  -H "x-signature: HMAC_SHA256_HEX"
```

A refused signature answers as on every signed route: [Authentication › Signature Errors](https://docs.aureahub.com/docs/authentication.md).

---

Web version: https://docs.aureahub.com/#tenant-public
