> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchski-attract.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a global document

> Retrieve a specific global document document by ID (requires appropriate permissions)

```php Laravel wrap theme={"dark"}
use Fetchski\AttractCmsLaravel\Facades\Attract;

$globalContent = Attract::globalContent()->getGlobal(id: 'ckitdo5oq004pu69kr6oxo6fr:en:published');
```

```json 200 wrap theme={"dark"}
{
  "_id": "global",
  "slug": "global",
  "type": "@apostrophecms/global",
  "cookiePolicyVersion": "1",
  "cookieMessage": "This website uses cookies to supplement a balanced diet and provide a much deserved reward to the senses after consuming bland but nutritious meals. Accepting our cookies is optional but recommended, as they are delicious.",
  "cookieAcceptLabel": "Accept all",
  "cookieRejectLabel": "Reject all",
  "cookiePrefsTitle": "Cookie preferences",
  "createdAt": "2026-10-24T09:30:00.000Z",
  "updatedAt": "2026-10-24T09:30:00.000Z"
}
```

## In your app

A controller answers a route on your app: it calls `getGlobal()` and returns the answer.

**1. Add the controller**

```php app/Http/Controllers/GetGlobalController.php theme={"dark"}
<?php

declare(strict_types=1);

namespace App\Http\Controllers;

use Fetchski\AttractCmsLaravel\Data\GlobalContent;
use Fetchski\AttractCmsLaravel\Facades\Attract;

final class GetGlobalController
{
    public function __invoke(string $id): GlobalContent
    {
        return Attract::globalContent()->getGlobal(id: $id);
    }
}
```

**2. Add the route**

```php routes/web.php theme={"dark"}
use App\Http\Controllers\GetGlobalController;
use Illuminate\Support\Facades\Route;

Route::get('/global/{id}', GetGlobalController::class);
```

**3. Call it**

```bash Terminal theme={"dark"}
curl http://localhost:8000/global/ckitdo5oq004pu69kr6oxo6fr:en:published
```

With `php artisan serve` running, it prints its answer as JSON.

> [!TIP]
>
> To keep the call in an Action instead, this writes `app/Actions/Attract/GetGlobal.php` (an invokable Action that calls `getGlobal()`) and its test under `tests/Feature/Actions/Attract/` (Pest when your app has it):
>
> ```bash Terminal theme={"dark"}
> php artisan make:attract-action globalContent.getGlobal
> ```

## Call it from the terminal

```bash Terminal theme={"dark"}
php artisan attract:call globalContent.getGlobal id=ckitdo5oq004pu69kr6oxo6fr:en:published
```

It calls `getGlobal()` on your default site and prints its answer as JSON. See [Call any method from the terminal](https://docs.fetchski-attract.com/call-command.md) for every argument type.

## Find the id

`id` is the document’s `_id`, from a list. Ask the list for only the fields you need: each row is a document’s `id` and those fields.

```php Laravel wrap theme={"dark"}
use Fetchski\AttractCmsLaravel\Facades\Attract;

$row = Attract::globalContent()->listGlobalContentPick(fields: ['title', 'slug'])->firstWhere('slug', 'getting-started'); // ['id' => …, 'title' => …, 'slug' => …], or null
```

```bash Terminal theme={"dark"}
php artisan attract:call globalContent.listGlobalContentPick fields=title,slug
```

Pass `$row['id']` as `id`. Drafts: list with `aposMode: 'draft'` to get the draft’s id ([Find an id](https://docs.fetchski-attract.com/find-an-id.md)).

> [accordion] Required parameters
>
> Named arguments, e.g. `getGlobal(id: …)`; leave out the optional ones.
>
> **id** `string` *required*
>
> **Required.** Computed document ID (can optionally include mode and locale, e.g., id:en:published) Matches `^\S+$`.

> [accordion] Optional parameters
>
> **aposMode** `Enums\\AposMode|string|null`
>
> **Optional.** Leave it out and the site uses `"published"`. `published` (the default) or `draft`. Drafts need a credential that may see them: an API key with the type’s write scope (`content:<type>:write`), or a signed-in editor. The public and a key with only the read scope get 403. One of `draft`, `published`.
>
> **aposLocale** `?string`
>
> **Optional.** Leave it out (or pass `null`) and it isn’t sent: the site’s default applies. The locale to read or write, e.g. `en` (default: the site’s default locale).
>
> **renderAreas** `?bool`
>
> **Optional.** Leave it out and the site uses `false`. true: each area’s widgets come back rendered as HTML (`_rendered`), beside their data.

> [accordion] Returns
>
> A `GlobalContent` (`Fetchski\AttractCmsLaravel\Data\GlobalContent`). The site-wide settings document (one per site and locale), with the fields this site adds. Read its properties (`$globalContent->id`): each says whether the site always sends it. The example answer is the site’s wire JSON: some keys differ from the property names (`_id` → `id`, `_logo` → `logo`, `_logoLight` → `logoLight` …).
>
> **id** `string`
>
> **Always sent.** Unique identifier.
>
> **slug** `string`
>
> **Always sent.** Default slug field.
>
> **type** `string`
>
> **Always sent.**
>
> **cookiePolicyVersion** `string`
>
> **Always sent.** Change this — to “2”, a date, anything — and every visitor is asked again. Do that whenever what you do with the data materially changes; consent given under the old terms does not carry over.
>
> **cookieMessage** `string`
>
> **Always sent.** Banner message.
>
> **cookieAcceptLabel** `string`
>
> **Always sent.** Accept button.
>
> **cookieRejectLabel** `string`
>
> **Always sent.** Give this the same visual weight as Accept. A reject option that is harder to find than accept is the single most commonly penalized banner design.
>
> **cookiePrefsTitle** `string`
>
> **Always sent.** Preferences panel heading.
>
> **createdAt** `CarbonImmutable`
>
> **Always sent.** Created At. Format: an ISO 8601 date and time.
>
> **updatedAt** `CarbonImmutable`
>
> **Always sent.** Updated At. Format: an ISO 8601 date and time.
>
> **title** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Default title field.
>
> **copyOfId** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The `_id` of the piece/page that was copied to create this document (only present if created via `_copyingId`)
>
> **businessName** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Business name.
>
> **tagline** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Tagline.
>
> **logo** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown in the site header on the dark theme (and over the hero). Upload to the Images library first. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **logoLight** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **favicon** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Browser tab icon — the default, also used when the browser is in dark mode. Upload a square PNG or SVG (at least 64×64) to the Images library. If empty, the bundled default icon is used. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **faviconLight** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Used when the visitor’s BROWSER or device is in light mode — this follows the browser’s color scheme, not the site’s own theme toggle. If empty, the main favicon is used everywhere. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **addressLine1** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown in the footer. Use up to three lines for a full street address, or just one for a town/region.
>
> **addressLine2** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Address line 2.
>
> **addressLine3** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Address line 3.
>
> **phone** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Phone.
>
> **email** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Email.
>
> **legalName** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The registered name of the company, e.g. “Example Holdings LLC”. Fills \[Business legal name].
>
> **tradeNames** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Any other names the business operates under, e.g. “Example Studio and Example Supply”. Fills \[Trade names].
>
> **legalRegion** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Where the business is based, for governing law. Fills \[State or region].
>
> **legalCountry** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Fills \[Country].
>
> **legalVenue** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Where legal disputes are heard. Fills \[County or venue].
>
> **minimumAge** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The youngest age your website is intended for, e.g. “13”. Fills \[Minimum age].
>
> **paletteAccent** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Your main brand color — buttons, links, accents. Hover + soft tints are derived automatically. Leave empty for the built-in design color.
>
> **paletteAccentLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteOnAccent** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Text/icon color shown ON primary-colored buttons. Defaults to white — set a dark color if your primary is pale.
>
> **paletteOnAccentLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteSecondary** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Supporting color — eyebrows, offset shadows, secondary accents.
>
> **paletteSecondaryLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteTertiary** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Warm accent, used sparingly.
>
> **paletteTertiaryLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteLink** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Body-text link color (rich-text content). Leave empty to track the primary color.
>
> **paletteLinkLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteSurface** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The base page background.
>
> **paletteSurfaceLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteRaised** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Cards and raised panels that sit above the page background.
>
> **paletteRaisedLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteSunken** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Recessed / inset bands.
>
> **paletteSunkenLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteInk** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Primary text color. Mind contrast against the page background.
>
> **paletteInkLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteInkMuted** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Secondary / muted text color.
>
> **paletteInkMutedLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteLine** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Borders and dividers.
>
> **paletteLineLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteSuccess** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Positive / confirmation state (forms, alerts).
>
> **paletteSuccessLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteWarning** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Caution state.
>
> **paletteWarningLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteDanger** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Error / destructive state.
>
> **paletteDangerLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **paletteInfo** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Informational state.
>
> **paletteInfoLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **fontDisplaySource** `Enums\\FontDisplaySource|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Typeface used for headings and display type. Default is the built-in design font; the other sources replace it site-wide. One of `default`, `curated`, `cdn`, `upload`; a newer site may send others, so keep a fallback.
>
> **fontDisplayCurated** `Enums\\FontDisplayCurated|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Display font — curated pick. One of `clash-display`, `satoshi`, `general-sans`, `space-grotesk`, `bricolage-grotesque`, `archivo`, `sora`, `syne`, `outfit`, `unbounded`, `fraunces`, `playfair-display`, `zodiak`, `sentient`; a newer site may send others, so keep a fallback.
>
> **fontDisplayCdnProvider** `Enums\\FontDisplayCdnProvider|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of `bunny`, `fontshare`; a newer site may send others, so keep a fallback.
>
> **fontDisplayCdnFamily** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. "Space Grotesk" or "Clash Display".
>
> **fontDisplayCdnWeights** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 500, 700, 800. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).
>
> **fontDisplayUploads** `Collection\<int, GlobalFontDisplayUploadsItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFontDisplayUploadsItem`. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.
>
> **GlobalFontDisplayUploadsItem (Fetchski\AttractCmsLaravel\Data\GlobalFontDisplayUploadsItem)**
>
> **file** `array\<string, mixed\>`
>
> **Always sent.** File attachment reference.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **weight** `Enums\\Weight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900`; a newer site may send others, so keep a fallback.
>
> **style** `Enums\\Style|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Style. One of `normal`, `italic`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **fontDisplayFallback** `Enums\\FontDisplayFallback|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of `sans`, `serif`, `mono`; a newer site may send others, so keep a fallback.
>
> **fontBodySource** `Enums\\FontBodySource|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Typeface used for body text and UI. Default is the built-in design font; the other sources replace it site-wide. One of `default`, `curated`, `cdn`, `upload`; a newer site may send others, so keep a fallback.
>
> **fontBodyCurated** `Enums\\FontBodyCurated|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Body font — curated pick. One of `inter`, `manrope`, `public-sans`, `work-sans`, `nunito-sans`, `ibm-plex-sans`, `source-sans-3`, `dm-sans`, `karla`, `switzer`, `supreme`, `satoshi`, `general-sans`, `lora`, `source-serif-4`; a newer site may send others, so keep a fallback.
>
> **fontBodyCdnProvider** `Enums\\FontBodyCdnProvider|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of `bunny`, `fontshare`; a newer site may send others, so keep a fallback.
>
> **fontBodyCdnFamily** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. "Space Grotesk" or "Clash Display".
>
> **fontBodyCdnWeights** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 600, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).
>
> **fontBodyUploads** `Collection\<int, GlobalFontBodyUploadsItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFontBodyUploadsItem`. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.
>
> **GlobalFontBodyUploadsItem (Fetchski\AttractCmsLaravel\Data\GlobalFontBodyUploadsItem)**
>
> **file** `array\<string, mixed\>`
>
> **Always sent.** File attachment reference.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **weight** `Enums\\Weight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900`; a newer site may send others, so keep a fallback.
>
> **style** `Enums\\Style|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Style. One of `normal`, `italic`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **fontBodyFallback** `Enums\\FontBodyFallback|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of `sans`, `serif`, `mono`; a newer site may send others, so keep a fallback.
>
> **fontAccentSource** `Enums\\FontAccentSource|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Typeface used for code blocks and monospace accents. Default is the built-in design font; the other sources replace it site-wide. One of `default`, `curated`, `cdn`, `upload`; a newer site may send others, so keep a fallback.
>
> **fontAccentCurated** `Enums\\FontAccentCurated|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Accent / mono font — curated pick. One of `jetbrains-mono`, `ibm-plex-mono`, `fira-code`, `space-mono`, `source-code-pro`, `dm-mono`, `inconsolata`, `ubuntu-mono`, `courier-prime`, `red-hat-mono`, `spline-sans-mono`, `victor-mono`; a newer site may send others, so keep a fallback.
>
> **fontAccentCdnProvider** `Enums\\FontAccentCdnProvider|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of `bunny`, `fontshare`; a newer site may send others, so keep a fallback.
>
> **fontAccentCdnFamily** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. "Space Grotesk" or "Clash Display".
>
> **fontAccentCdnWeights** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold).
>
> **fontAccentUploads** `Collection\<int, GlobalFontAccentUploadsItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFontAccentUploadsItem`. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 8 items.
>
> **GlobalFontAccentUploadsItem (Fetchski\AttractCmsLaravel\Data\GlobalFontAccentUploadsItem)**
>
> **file** `array\<string, mixed\>`
>
> **Always sent.** File attachment reference.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **weight** `Enums\\Weight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `100`, `200`, `300`, `400`, `500`, `600`, `700`, `800`, `900`; a newer site may send others, so keep a fallback.
>
> **style** `Enums\\Style|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Style. One of `normal`, `italic`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **fontAccentFallback** `Enums\\FontAccentFallback|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Generic system fonts shown while the font loads (and if it fails). Curated picks set this automatically. One of `sans`, `serif`, `mono`; a newer site may send others, so keep a fallback.
>
> **contentWidth** `Enums\\ContentWidth|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The widest the page content gets: sections, layouts, the header and the footer all line up to it. Smaller screens always use their full width, minus the side margins. One of `standard`, `wide`, `xwide`; a newer site may send others, so keep a fallback.
>
> **socialLinks** `Collection\<int, GlobalSocialLinksItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalSocialLinksItem`. Each profile is optional — add only the networks you use. A link only appears once it has a URL. Pick a platform for its brand icon, or “Other / custom” to choose any icon.
>
> **GlobalSocialLinksItem (Fetchski\AttractCmsLaravel\Data\GlobalSocialLinksItem)**
>
> **platform** `Enums\\Platform|string`
>
> **Always sent.** Platform. One of `instagram`, `facebook`, `x-twitter`, `youtube`, `tiktok`, `linkedin`, `github`, `pinterest`, `whatsapp`, `snapchat`, `threads`, `bluesky`, `mastodon`, `yelp`, `google`, `spotify`, `vimeo`, `custom`; a newer site may send others, so keep a fallback.
>
> **url** `string`
>
> **Always sent.** Full link to the profile, e.g. [https://instagram.com/yourbusiness](https://instagram.com/yourbusiness). Format: an absolute URL.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **label** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Overrides the screen-reader / tooltip label. Recommended for a custom platform — defaults to the icon name (e.g. “discord” → “Discord”).
>
> **icon** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Font Awesome icon name (no “fa-” prefix), e.g. discord. Browse fontawesome.com/icons.
>
> **iconFamily** `Enums\\IconFamily|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Custom icon family. One of `classic-regular`, `duotone-regular`, `brands`, `jelly`, `jelly-duo`, `whiteboard`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **seoImage** `?ImageArea`
>
> **Sometimes sent:** `null` when the site leaves it out. An `ImageArea`. Site-wide fallback for link previews (Open Graph): used on any page that has neither its own Social share image nor a featured image. Recommended 1200×630. Widgets, top to bottom: send `{ "items": [ … ] }`, one object per widget with its `type`. Writing it replaces the whole area.
>
> **ImageArea (Fetchski\AttractCmsLaravel\Data\ImageArea)**
>
> Widgets, top to bottom: send `{ "items": [ … ] }`, one object per widget with its `type`. Writing it replaces the whole area.
>
> **metaType** `Enums\\AfterContentAreaMetaType|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Always `area`. One of `area`; a newer site may send others, so keep a fallback.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.
>
> **items** `Collection\<int, ImageWidget\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `ImageWidget`. The widgets, top to bottom. Each is an object with its `type` and that widget’s own fields; `_id` and `metaType` may be left out (the site sets them). At most 1 items.
>
> **ImageWidget (Fetchski\AttractCmsLaravel\Data\ImageWidget)**
>
> A `@apostrophecms/image` widget: its `type` and its own fields. A field left out takes its default.
>
> **type** `Enums\\ImageWidgetType|string`
>
> **Always sent.** The widget’s type: always `@apostrophecms/image`. One of `@apostrophecms/image`; a newer site may send others, so keep a fallback.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
>
> **metaType** `Enums\\MetaType|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Always `widget`. One of `widget`; a newer site may send others, so keep a fallback.
>
> **image** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **caption** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Caption.
>
> **linkTo** `Enums\\LinkTo|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Link To... One of `none`, `@apostrophecms/any-page-type`, `_url`; a newer site may send others, so keep a fallback.
>
> **apostrophecmsAnyPageType** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The related `@apostrophecms/any-page-type` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **linkHref** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. apostrophe:linkHrefHelp When set, a URL; empty or null when not.
>
> **linkHrefTitle** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Link Title.
>
> **linkTitle** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. If empty, the title of the related document will be used.
>
> **linkTarget** `Collection\<int, Enums\\LinkTarget|string\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Link Target. Each one of `_blank`.
>
> **sectionCss** `?CustomCSS`
>
> **Sometimes sent:** `null` when the site leaves it out. A `CustomCSS`. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like &:hover, @media (width >= 48rem) and \[data-theme="light"] & work inside a slot.
>
> **CustomCSS (Fetchski\AttractCmsLaravel\Data\CustomCSS)**
>
> **slots** `array\<string, string\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The CSS typed into each part slot, by slot name.
>
> **css** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The compiled CSS (read only: rebuilt from `slots`).
>
> **mark** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The site’s check mark for `css` (read only).
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **seoStructuredData** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Adds schema.org structured data about the business to every page, built from the Brand tab’s business name, address, phone and email plus the Social Links list. Helps search engines show rich results. Nothing is published until this is on and a business name is set.
>
> **seoStructuredDataType** `Enums\\SeoStructuredDataType|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The schema.org type that best describes the business. “Local business” fits most sites with a physical location or service area. One of `LocalBusiness`, `Organization`, `ProfessionalService`, `Store`; a newer site may send others, so keep a fallback.
>
> **seoServiceAreas** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Adds the Service Area Map’s coverage (place names, service radius) to the business structured data on every page, and the full zip-code/boundary detail on pages with a Service Area Map section. Helps search engines and AI answers understand where the business serves — there is no visual search result for this, and it never affects map-pack ranking. Keep it consistent with the areas on the business’s Google Business Profile. Demo map data is never published.
>
> **seoServiceType** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional, plain words — e.g. “House cleaning” or “Airport transfers”. When set, the structured data pairs it with the service areas as a schema.org Service; when empty the areas attach directly to the business.
>
> **analyticsProvider** `Enums\\AnalyticsProvider|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Plausible is a privacy-friendly, cookieless analytics service. Visitor page views are counted anonymously; logged-in editors are never tracked. One of `none`, `plausible`; a newer site may send others, so keep a fallback.
>
> **plausibleScriptUrl** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Paste the script address from your site's snippet in Plausible → Site Settings → Site Installation (it looks like [https://plausible.io/js/pa-XXXXXXXX.js](https://plausible.io/js/pa-XXXXXXXX.js) and is unique per site). Analytics stay off until this is set. Optional measurements (outbound links, file downloads, form submissions) are toggled in the Plausible dashboard — no change needed here. When set, a URL; empty or null when not.
>
> **cookieBannerEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Off hides the banner AND stops every non-essential cookie and third-party embed — declining is the only safe reading of "never asked". Turn it off only on a site that sets nothing beyond the strictly necessary.
>
> **cookieEnforcement** `Enums\\CookieEnforcement|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Where opt-in applies, nothing non-essential runs until the visitor agrees. Everyone else sees the same banner as a notice: analytics and embedded content work immediately, and declining switches them off. The first option follows the law that is strictest about being asked first, without putting a wall in front of visitors whose law does not require one. One of `eu`, `all`, `notice`; a newer site may send others, so keep a fallback.
>
> **cookieUnknownRegion** `Enums\\CookieUnknownRegion|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Country comes from your CDN or proxy (Cloudflare’s header, or one you configure). Without it the site falls back to this, plus a browser time-zone check that quietly upgrades an apparently European visitor to opt-in. Put Cloudflare or a GeoIP header in front of the site and this setting stops mattering. One of `lenient`, `strict`; a newer site may send others, so keep a fallback.
>
> **cookieLayout** `Enums\\CookieLayout|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Banner position. One of `left`, `right`, `center`, `full`; a newer site may send others, so keep a fallback.
>
> **cookieShowCustomize** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Opens the per-category preferences panel. Leaving it on is the safer choice: accept-or-reject with no middle option is what regulators have been fining sites over.
>
> **cookieShowLauncher** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A small button pinned to the bottom corner, over the page. Off by default because the footer link below already offers this — turn it on if you want the control visible without scrolling.
>
> **cookieShowFooterLink** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Puts the reopen control at the bottom of every page, under the “Powered by” line — where visitors look for it. Uses the reopen label from the Cookie banner wording tab. Leave this on unless the floating button above is on instead: consent must stay as easy to withdraw as it was to give.
>
> **cookieRespectGpc** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. GPC is a browser-level "do not sell or share my data" signal, legally binding in several US states. When on, a visitor sending it starts with everything non-essential switched off — they can still turn categories on by hand.
>
> **cookieReloadOnWithdraw** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A third-party script that has already run cannot be switched off in place: it keeps running until the next full page load (each vendor is still told about the withdrawal straight away). On, the page reloads as soon as a visitor switches a category OFF, so nothing they declined keeps running. Off by default: the reload interrupts whatever the visitor was doing, and most visitors are not in a region that requires it.
>
> **cookieLifetimeDays** `?int`
>
> **Sometimes sent:** `null` when the site leaves it out. How long a visitor’s answer stands before the banner returns. Six months is the common practice and twelve is the usual ceiling. 1 to 365.
>
> **cookieConsentLogRecords** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Stores a receipt for each decision (which categories, when, under which policy version) so you can show consent was given. Kept for two years, then deleted automatically.
>
> **cookieTitle** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty for the message alone, which is how most banners read best.
>
> **cookiePolicyLinkText** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Rendered after the message as a link to the policy page. Leave empty to omit it.
>
> **cookiePolicyUrl** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A path on this site or a full URL. The default matches the parked Cookie Policy page.
>
> **cookieCustomizeLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Customize button.
>
> **cookieSaveLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Save-choices button.
>
> **cookieLauncherLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Reopen control label.
>
> **cookiePrefsIntro** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Preferences panel intro.
>
> **cookieCatNecessaryLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Strictly necessary — label.
>
> **cookieCatNecessaryDescription** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.
>
> **cookieCatFunctionalLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Functional — label.
>
> **cookieCatFunctionalDescription** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.
>
> **cookieCatAnalyticsLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Analytics — label.
>
> **cookieCatAnalyticsDescription** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.
>
> **cookieCatMarketingLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Marketing — label.
>
> **cookieCatMarketingDescription** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown beside this category’s switch in the preferences panel. Say what the visitor gains or loses, not which vendors are involved.
>
> **cookieBlockedTitle** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Shown in place of an embed (a map, a social video) that is waiting on consent.
>
> **cookieBlockedBody** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Blocked-content message.
>
> **cookieBlockedButton** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Blocked-content button.
>
> **maintenanceMode** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Takes the public site offline. Visitors and search engines see a “be right back” page (served with the correct temporary-outage signals, so search rankings are preserved); logged-in editors keep the full site and can continue editing. A new site starts with this on: turn it off when the site is ready to go live.
>
> **maintenanceRetryAfter** `Enums\\MaintenanceRetryAfter|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. How long search engines should wait before checking back (the Retry-After hint). A rough estimate is fine — it is a hint, not a promise, and nothing switches back automatically. One of `3600`, `14400`, `43200`, `86400`, `259200`, `604800`; a newer site may send others, so keep a fallback.
>
> **maintenanceMessage** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional short message shown on the maintenance page (e.g. what is happening or when you expect to be back). Leave empty for a generic “we’ll be back soon” line.
>
> **recaptchaSiteKey** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Public reCAPTCHA v3 site key. Managed automatically from Connections → Spam protection — edit it there, not here.
>
> **requestLogEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Whether anonymous page views are being recorded. Managed automatically from Visitor data → Request log — edit it there, not here.
>
> **requestLogVisitorCookie** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Whether anonymous visitors get the first-party visitor-ID cookie. Managed automatically from Visitor data → Request log — edit it there, not here.
>
> **conversionsEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Whether conversions and ad attribution are being recorded. Managed automatically from Visitor data → Conversions — edit it there, not here.
>
> **conversionLinkedDomains** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Sites visitors continue to (a booking site), for cross-domain ad attribution. Managed automatically from Visitor data → Conversions — edit it there, not here.
>
> **googleMapsApiKey** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Public (referrer-restricted) Maps JavaScript key — the Service Area Map loads Google Maps with it. Managed automatically from Connections → Google Maps — edit it there, not here.
>
> **animationsEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Master switch for the site’s scroll and entrance motion (section reveals, count-ups, marquees, the hero). When off, no animation code is loaded and every section appears in its final, static state. Visitors whose device requests reduced motion always get the static experience regardless of this setting.
>
> **designCss** `?DesignLayer`
>
> **Sometimes sent:** `null` when the site leaves it out. A `DesignLayer`. Site-wide CSS for every section of a type and for shared elements (buttons, the header, the footer…). Type into the slot of the part you want to style; a section’s own CSS tab wins over this.
>
> **DesignLayer (Fetchski\AttractCmsLaravel\Data\DesignLayer)**
>
> **slots** `array\<string, string\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The CSS typed into each part slot, by slot name.
>
> **css** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The compiled CSS (read only: rebuilt from `slots`).
>
> **mark** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The site’s check mark for `css` (read only).
>
> **headerStyle** `Enums\\HeaderStyle|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Floating rests transparent over the hero and morphs to glass on scroll; Glass is frosted from the top; Solid is an opaque bar (uses the bar background color). One of `floating`, `glass`, `solid`; a newer site may send others, so keep a fallback.
>
> **headerWidth** `Enums\\HeaderWidth|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Island floats as a contained pill; Full width spans edge-to-edge (squared corners, content still centered). Full width ignores the corner radius below. One of `island`, `full`; a newer site may send others, so keep a fallback.
>
> **headerBarRadius** `Enums\\HeaderBarRadius|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Applies to the Island bar (Full width is always squared). One of `pill`, `rounded`, `slight`, `square`; a newer site may send others, so keep a fallback.
>
> **headerBackgroundColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The bar fill for Glass / Solid styles (and the glass tint when scrolled). Leave empty to use the raised surface color.
>
> **headerBackgroundColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerBorder** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A hairline outline around the bar (shown when glass / solid / scrolled).
>
> **headerShadow** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A soft drop shadow under the bar (when glass / solid / scrolled).
>
> **headerHideOnScroll** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. The bar slides away when scrolling down and returns when scrolling up.
>
> **headerGlassOnScroll** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. The floating bar stays transparent at the top and becomes a glass pill once the page scrolls. Turn off to keep it transparent.
>
> **headerDarkBothThemes** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Keeps the whole navbar (bar, logo, wordmark, links, dropdown, button and mobile menu) in its dark-theme look even when a visitor switches to the light theme, e.g. a header that always sits over a dark hero photo. While on, the light-theme header colors and the light-theme logo are not used. Off follows the site theme.
>
> **headerNavBreakpoint** `Enums\\HeaderNavBreakpoint|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Below this width the links collapse into the mobile menu (hamburger). Raise it if you have many or long links. One of `md`, `lg`, `xl`; a newer site may send others, so keep a fallback.
>
> **headerLogoHeight** `Enums\\HeaderLogoHeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Logo height. One of `small`, `medium`, `large`; a newer site may send others, so keep a fallback.
>
> **headerLogoHover** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A subtle tilt + scale when the cursor is over the logo lockup.
>
> **headerShowWordmark** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. The business name in type beside the logo. Turn off when the logo already includes the name.
>
> **headerWordmarkText** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional override of the text wordmark. Leave empty to use the business name.
>
> **headerWordmarkSplit** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Render the first word large and the rest as a small tracked-out caption beneath it. Off renders the whole wordmark on one line.
>
> **headerNameColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerNameColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerNameWeight** `Enums\\HeaderNameWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **headerNameSize** `Enums\\HeaderNameSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **headerSublineColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerSublineColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerSublineWeight** `Enums\\HeaderSublineWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **headerNav** `Collection\<int, GlobalHeaderNavItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalHeaderNavItem`. Header navigation.
>
> **GlobalHeaderNavItem (Fetchski\AttractCmsLaravel\Data\GlobalHeaderNavItem)**
>
> **label** `string`
>
> **Always sent.** Label.
>
> **url** `string`
>
> **Always sent.** URL.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **placement** `Enums\\Placement|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Desktop only — every link is listed in the mobile menu. One of `visible`, `more`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **headerMoreLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Label for the overflow dropdown that holds links placed in “More”.
>
> **headerNavLinkColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerNavLinkColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerNavLinkWeight** `Enums\\HeaderNavLinkWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **headerNavLinkSize** `Enums\\HeaderNavLinkSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **headerNavIndicator** `Enums\\HeaderNavIndicator|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. How the hovered / active link is marked. One of `sweep`, `grow`, `pill`, `none`; a newer site may send others, so keep a fallback.
>
> **headerNavHoverColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty to use the site accent color.
>
> **headerNavHoverColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerNavActiveColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Color + indicator for the current page’s link. Leave empty to use the secondary (mint) color.
>
> **headerNavActiveColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerCtaLabel** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The visible button text. Leave empty to hide the button.
>
> **headerCtaUrl** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Where the button goes — a path (/blog) or full URL.
>
> **headerCtaNewTab** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Opens the link in a new browser tab (adds rel="noopener noreferrer").
>
> **headerCtaVariant** `Enums\\HeaderCtaVariant|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of `solid`, `outline`, `soft`, `link`; a newer site may send others, so keep a fallback.
>
> **headerCtaSize** `Enums\\HeaderCtaSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Button size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **headerCtaRadius** `Enums\\HeaderCtaRadius|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Corner radius. One of `pill`, `rounded`, `slight`, `square`; a newer site may send others, so keep a fallback.
>
> **headerCtaColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.
>
> **headerCtaColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerCtaTextColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The text/icon color. Clear it to derive from the button color (readable on solid fills).
>
> **headerCtaTextColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerCtaHoverColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Drives the hover treatment. Leave empty to derive it from the button color.
>
> **headerCtaHoverColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerCtaStyle** `Enums\\HeaderCtaStyle|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of `none`, `single`, `dual`, `glow`, `sweep`, `thicken`; a newer site may send others, so keep a fallback.
>
> **headerCtaShadowColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.
>
> **headerCtaShadowColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerCtaAnimation** `Enums\\HeaderCtaAnimation|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Hover motion. One of `lift`, `scale`, `lift-scale`, `none`; a newer site may send others, so keep a fallback.
>
> **headerCtaIcon** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.
>
> **headerCtaIconFamily** `Enums\\HeaderCtaIconFamily|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Icon family. One of `classic-regular`, `duotone-regular`, `brands`, `jelly`, `jelly-duo`, `whiteboard`; a newer site may send others, so keep a fallback.
>
> **headerCtaIconPosition** `Enums\\HeaderCtaIconPosition|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Which side of the label the icon sits on (when an icon name is set). One of `before`, `after`; a newer site may send others, so keep a fallback.
>
> **headerCtaIconNudge** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. The icon slides toward its side on hover (e.g. an arrow edges outward).
>
> **headerMobileSide** `Enums\\HeaderMobileSide|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Drawer side. One of `right`, `left`; a newer site may send others, so keep a fallback.
>
> **headerMobileWidth** `Enums\\HeaderMobileWidth|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Drawer width. One of `narrow`, `normal`, `wide`; a newer site may send others, so keep a fallback.
>
> **headerMobileBackgroundColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty to use the site surface color.
>
> **headerMobileBackgroundColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerMobileShowLogo** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Show logo in drawer.
>
> **headerMobileShowCta** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Repeat the header button at the bottom of the mobile drawer.
>
> **headerMobileShowScrollCue** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A small animated hint shown when the menu links overflow.
>
> **headerMobileLinkColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerMobileLinkColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **headerMobileLinkWeight** `Enums\\HeaderMobileLinkWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **headerMobileLinkSize** `Enums\\HeaderMobileLinkSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **headerMobileLinkHoverColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty to use the site accent color.
>
> **headerMobileLinkHoverColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerBackgroundType** `Enums\\FooterBackgroundType|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Site default keeps the footer’s sunken surface; Solid color and Image override it. The site surface color is the fallback when a color is left empty. One of `default`, `solid`, `image`; a newer site may send others, so keep a fallback.
>
> **footerBackgroundColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Used for a Solid background (and as the fallback behind an Image). Leave empty to use the site surface color.
>
> **footerBackgroundColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerImage** `?ImageArea`
>
> **Sometimes sent:** `null` when the site leaves it out. An `ImageArea`. Widgets, top to bottom: send `{ "items": [ … ] }`, one object per widget with its `type`. Writing it replaces the whole area. Its fields are listed under the first `ImageArea` above.
>
> **footerOverlayColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Scrim over the image to keep the footer legible. Leave empty to use the surface color.
>
> **footerOverlayColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerOverlayOpacity** `?float`
>
> **Sometimes sent:** `null` when the site leaves it out. Overlay opacity (%). 0 to 100.
>
> **footerPadding** `Enums\\FooterPadding|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Vertical padding. One of `tight`, `normal`, `roomy`; a newer site may send others, so keep a fallback.
>
> **footerTopBorder** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A hairline rule along the top edge of the footer.
>
> **footerBackToTop** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Show “Back to top” button.
>
> **footerLogo** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional logo shown at the top of the company column, used on the dark theme. Leave both footer logos empty to use the site logo (Site settings → Brand); with no logo at all the business name leads. Upload to the Images library first. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **footerLogoLight** `Collection\<int, array\<string, mixed\>\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional darker logo for the light theme. If empty, the white logo is auto-inverted. The related `@apostrophecms/image` documents, in order (empty when none). To set it, send a list of `{ "_id": "…" }`, one per document (one at most); a document the site can’t find is left out. At most 1 items.
>
> **footerLogoHeight** `Enums\\FooterLogoHeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Logo height. One of `small`, `medium`, `large`; a newer site may send others, so keep a fallback.
>
> **footerLogoAlign** `Enums\\FooterLogoAlign|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Aligns the logo within the company column (e.g. centered above the business name). One of `left`, `center`, `right`; a newer site may send others, so keep a fallback.
>
> **footerShowName** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. The business name as a heading at the top of the column. Turn off when the logo already carries the name.
>
> **footerShowTagline** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Show tagline.
>
> **footerShowContact** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Show address, phone & email.
>
> **footerNameColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerNameColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerNameWeight** `Enums\\FooterNameWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerNameSize** `Enums\\FooterNameSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **footerBrandColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerBrandColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerBrandWeight** `Enums\\FooterBrandWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerBrandSize** `Enums\\FooterBrandSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **footerLinkGroups** `Collection\<int, GlobalFooterLinkGroupsItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFooterLinkGroupsItem`. Each group becomes a column in the footer. Add a Legal group for Terms & Privacy, etc.
>
> **GlobalFooterLinkGroupsItem (Fetchski\AttractCmsLaravel\Data\GlobalFooterLinkGroupsItem)**
>
> **heading** `string`
>
> **Always sent.** Group heading.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **links** `Collection\<int, GlobalFooterLinkGroupsItemLinksItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFooterLinkGroupsItemLinksItem`. Links.
>
> **GlobalFooterLinkGroupsItemLinksItem (Fetchski\AttractCmsLaravel\Data\GlobalFooterLinkGroupsItemLinksItem)**
>
> **label** `string`
>
> **Always sent.** Label.
>
> **url** `string`
>
> **Always sent.** URL.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **external** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Opens in a new tab with an arrow indicator.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **footerLinkColumns** `Enums\\FooterLinkColumns|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. How many columns the link groups flow into. Auto fits to the available width; a fixed count packs shorter groups together (e.g. Legal stacked under Elsewhere). Groups are never split across columns. One of `auto`, `2`, `3`, `4`; a newer site may send others, so keep a fallback.
>
> **footerHeadingColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerHeadingColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerHeadingWeight** `Enums\\FooterHeadingWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerHeadingSize** `Enums\\FooterHeadingSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`, `xlarge`; a newer site may send others, so keep a fallback.
>
> **footerLinkColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerLinkColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerLinkWeight** `Enums\\FooterLinkWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerLinkSize** `Enums\\FooterLinkSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **footerLinkHoverColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty to use the site accent color.
>
> **footerLinkHoverColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerLinkHoverEffect** `Enums\\FooterLinkHoverEffect|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Hover effect. One of `none`, `slide`, `underline`; a newer site may send others, so keep a fallback.
>
> **footerMarqueeEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A slow ribbon of phrases scrolling across the top of the footer. Any page can override this for itself in Page Settings → Footer.
>
> **footerMarquee** `Collection\<int, GlobalFooterMarqueeItem\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. A list of `GlobalFooterMarqueeItem`. Each phrase can carry its own icon; without one, a dot separates it from the next phrase.
>
> **GlobalFooterMarqueeItem (Fetchski\AttractCmsLaravel\Data\GlobalFooterMarqueeItem)**
>
> **phrase** `string`
>
> **Always sent.** Phrase.
>
> **id** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The row’s id, unique in its array.
>
> **icon** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.
>
> **iconFamily** `Enums\\IconFamily|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Icon family. One of `classic-regular`, `duotone-regular`, `brands`, `jelly`, `jelly-duo`, `whiteboard`; a newer site may send others, so keep a fallback.
>
> **iconColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional — leave empty to use the design’s own color rhythm.
>
> **iconAnimation** `Enums\\IconAnimation|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Icon animation. One of `none`, `fa-beat`, `fa-bounce`, `fa-fade`, `fa-beat-fade`, `fa-flip`, `fa-shake`, `fa-spin`; a newer site may send others, so keep a fallback.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.
>
> **footerMarqueeSpeed** `Enums\\FooterMarqueeSpeed|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Marquee speed. One of `slow`, `normal`, `fast`; a newer site may send others, so keep a fallback.
>
> **footerMarqueeMotionPause** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Adds a small, unobtrusive pause/play control so visitors can stop the auto-playing background motion (WCAG 2.2.2). Only appears when a moving background is set.
>
> **footerMarqueeColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty for the muted default.
>
> **footerMarqueeColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerMarqueeWeight** `Enums\\FooterMarqueeWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerWordmarkEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A giant outlined word along the bottom of the footer. Reveals/fills on hover.
>
> **footerWordmark** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Keep it to one short word — it renders at display size. Leave empty to use the business name.
>
> **footerWordmarkSize** `Enums\\FooterWordmarkSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Watermark size. One of `display`, `large`, `medium`; a newer site may send others, so keep a fallback.
>
> **footerWordmarkAlign** `Enums\\FooterWordmarkAlign|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Watermark alignment. One of `left`, `center`, `right`; a newer site may send others, so keep a fallback.
>
> **footerWordmarkFill** `Enums\\FooterWordmarkFill|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Outlined letters that fill on hover one at a time, all at once, or always-solid (no ghost effect). One of `letter`, `word`, `solid`; a newer site may send others, so keep a fallback.
>
> **footerWordmarkColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Overrides the wordmark fill + outline tint. Leave empty to track the theme’s text color.
>
> **footerWordmarkColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerCopyrightText** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Type \{year} where this year goes (it updates itself every January) and \{business} for the business name. Left empty, the site shows “© \{year} \{business}. All rights reserved.”
>
> **footerNote** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional short line shown beside the copyright (e.g. a slogan or license number).
>
> **footerCopyrightColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerCopyrightColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerCopyrightWeight** `Enums\\FooterCopyrightWeight|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Weight. One of `normal`, `medium`, `semibold`, `bold`, `extrabold`; a newer site may send others, so keep a fallback.
>
> **footerCopyrightSize** `Enums\\FooterCopyrightSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Size. One of `small`, `normal`, `large`; a newer site may send others, so keep a fallback.
>
> **footerShowSocial** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. Render the site’s social profiles (configured in the “Social Links” tab) in the footer.
>
> **footerSocialHeading** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional small heading above the icons (e.g. “Follow us”). Leave empty for none.
>
> **footerSocialPlacement** `Enums\\FooterSocialPlacement|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. In the company column (under the contact details) or as its own centered row above the copyright bar. One of `brand`, `bar`; a newer site may send others, so keep a fallback.
>
> **footerSocialBarBorder** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. A hairline rule above the dedicated social row, for a touch of separation from the watermark.
>
> **footerSocialVariant** `Enums\\FooterSocialVariant|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Icon style. One of `bare`, `outline`, `solid`; a newer site may send others, so keep a fallback.
>
> **footerSocialSize** `Enums\\FooterSocialSize|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Icon size. One of `small`, `normal`, `large`, `xlarge`; a newer site may send others, so keep a fallback.
>
> **footerSocialSpacing** `Enums\\FooterSocialSpacing|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Gap between the icons. One of `tight`, `normal`, `loose`; a newer site may send others, so keep a fallback.
>
> **footerSocialHeadingColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Optional. Leave empty to match the footer’s other group headings (Footer: Links tab).
>
> **footerSocialHeadingColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerSocialColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Resting icon color. Leave empty for the muted default.
>
> **footerSocialColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **footerSocialHover** `Enums\\FooterSocialHover|string|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Hover to each platform’s own brand color, or to the site accent (or a chosen hover color). One of `brand`, `accent`; a newer site may send others, so keep a fallback.
>
> **footerSocialHoverColor** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. Used when “Hover color” is Accent / custom. Leave empty for the site accent.
>
> **footerSocialHoverColorLight** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. A CSS color (`#625bff`, `#625bffff`, `rgb(…)`, `hsl(…)`, a color name) or a palette token’s name (`--fetchski-accent`).
>
> **formUploadsEnabled** `?bool`
>
> **Sometimes sent:** `null` when the site leaves it out. OFF by default. While off, the server rejects every file submitted through a public form, regardless of the form’s fields. Turn on only after setting the limits below — anonymous file uploads are a deliberate, security-sensitive choice.
>
> **formUploadMaxFiles** `?int`
>
> **Sometimes sent:** `null` when the site leaves it out. How many files one submission may include (hard ceiling 8). 1 to 8.
>
> **formUploadMaxSizeMb** `?int`
>
> **Sometimes sent:** `null` when the site leaves it out. Largest single file accepted, in megabytes (hard ceiling 10 MB). 1 to 10.
>
> **formUploadAllowedTypes** `Collection\<int, Enums\\FormUploadAllowedTypes|string\>|null`
>
> **Sometimes sent:** `null` when the site leaves it out. Only these categories are accepted. Each file’s actual contents are verified by signature (magic bytes), not just its extension, so a renamed file is rejected. SVG and other script-capable formats can never be enabled here. Each one of `image`, `pdf`, `office`, `text`.
>
> **aposShareKey** `?string`
>
> **Sometimes sent:** `null` when the site leaves it out. The draft’s preview share key, while its share link is on: the link is the draft’s `_url` with `aposShareKey` and `aposShareId` (the draft’s `_id`) in its query. Absent otherwise, and on published documents.
>
> **fields** `array\<string, mixed\>`
>
> **Always there:** `[]` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too. An object in it that a PHP array would read as a list (`{}`, `{"0": …}`) is a `stdClass`, so it is sent back as an object.

> [accordion] Errors
>
> Nothing to catch: the SDK retries what is safe, and Laravel logs and renders the rest (see [Errors and testing](https://docs.fetchski-attract.com/laravel/errors.md)).
>
> **ValidationFailed** `400`
>
> The site refused what was sent: `errors()` lists each field’s problem, `siteMessage()` the first.
>
> **Retried first:** No. **Read:** `errors()` (field → messages), `siteMessage()`.
>
> **AuthenticationFailed** `401`
>
> The API key is missing or refused (malformed, revoked, expired), or a signature its signing mode needs is missing or stale.
>
> **Retried first:** No. **Read:** `siteMessage()`, `errorName()`, `data()`.
>
> **Forbidden** `403`
>
> The key may not do this: a scope it lacks, or an address outside its allowlist. `siteMessage()` names it.
>
> **Retried first:** No. **Read:** `siteMessage()`, `errorName()`, `data()`.
>
> **NotFound** `404`
>
> Nothing matches, or the caller may not see it.
>
> **Retried first:** No. **Read:** `siteMessage()`, `errorName()`, `data()`.
>
> **SiteError** `500`
>
> The site failed. Its logs say why.
>
> **Retried first:** No (only a 502, 503 or 504 is retried). **Read:** `siteMessage()`, `errorName()`, `data()`.
>
> **SiteUnreachable** `no answer`
>
> No answer: DNS, a refused connection, TLS, or the timeout (15 s per attempt by default).
>
> **Retried first:** Yes, after 0.5 s then 1 s. **Read:** `reason()`, `neverConnected()`.
>
> **RequestNotSent** `not sent`
>
> The client refused to send it (e.g. a path segment of `..`); the site never saw it.
>
> **Retried first:** No. **Read:** `reason()` (what to change).
>
> **SiteRequestFailed** `any other`
>
> Any other status, or a success whose JSON doesn’t match this SDK version’s types (update the SDK).
>
> **Retried first:** No. **Read:** `reason()`, `status()`.
>
> **UnknownSite** `setup`
>
> `Attract::site('acme')` named a slug that isn’t under `sites` in `config/fetchski-attract.php`.
>
> **Retried first:** No: nothing was sent. **Read:** `getMessage()`, `$e->slug`.
>
> **SiteConfigurationError** `setup`
>
> The site’s config entry is wrong: no `url`, a malformed `api_key`, a key filed under another slug, or no default site.
>
> **Retried first:** No: nothing was sent. **Read:** `getMessage()` (what to fix).

## Behavior

* **Access:** an API key with `global:read` (or a master above it: `global:all`, `admin:all`) reads the published documents; drafts (`aposMode=draft`, or a draft `_id`) need `global:write` (or a master above it). A signed-in person may call it as far as their own permissions allow; anyone else gets 404.
* **Rate limit:** the key’s own reads-per-minute limit, set when the key is created (default 600); over it, 429 with `Retry-After`. The client waits and retries for you; you see `RateLimited` only if that runs out.
* **Retries:** a read is safe to repeat: the client retries it on no answer, a 502/503/504 and a 429.
* **Timeout:** 15 s per attempt by default; raise `timeout` in `config/fetchski-attract.php` for longer.

## More examples

```php Or null wrap theme={"dark"}
use Fetchski\AttractCmsLaravel\Facades\Attract;

$globalContent = Attract::globalContent()->findGlobal(id: 'ckitdo5oq004pu69kr6oxo6fr:en:published'); // ?GlobalContent: null when the site answers 404
```

## Test it

It calls the route above with the SDK faked: the fake answers every call with a valid example, so nothing leaves your machine and no config or key is needed. Save it as `tests/Feature/GetGlobalTest.php`, then run your tests:

```php tests/Feature/GetGlobalTest.php theme={"dark"}
<?php

declare(strict_types=1);

namespace Tests\Feature;

use Fetchski\AttractCmsLaravel\Facades\Attract;
use Tests\TestCase;

final class GetGlobalTest extends TestCase
{
    public function test_get_global(): void
    {
        Attract::fake();

        $this->getJson('/global/ckitdo5oq004pu69kr6oxo6fr:en:published')->assertOk();

        Attract::assertCalled('globalContent.getGlobal', fn (array $args): bool => $args['id'] === 'ckitdo5oq004pu69kr6oxo6fr:en:published');
    }
}
```

```bash Terminal theme={"dark"}
php artisan test
```

**Answer with your own values:** fake `globalContent.getGlobal` with `GlobalContent::factory()->make([...])`, the fields you give over a valid example.

```php tests/Feature/GetGlobalAnswerTest.php theme={"dark"}
<?php

declare(strict_types=1);

namespace Tests\Feature;

use Fetchski\AttractCmsLaravel\Data\GlobalContent;
use Fetchski\AttractCmsLaravel\Facades\Attract;
use Tests\TestCase;

final class GetGlobalAnswerTest extends TestCase
{
    public function test_get_global_answers_your_values(): void
    {
        Attract::fake([
            'globalContent.getGlobal' => GlobalContent::factory()->make(['id' => 'Your value']),
        ]);

        $globalContent = Attract::globalContent()->getGlobal(id: 'ckitdo5oq004pu69kr6oxo6fr:en:published');

        $this->assertSame('Your value', $globalContent->id);
    }
}
```

## Related

> [card] [List global documents](https://docs.fetchski-attract.com/laravel/reference/global-content/list-global-content.md)
>
> `Attract::globalContent()->listGlobalContent()`

> [card] [Create a global document](https://docs.fetchski-attract.com/laravel/reference/global-content/create-global.md)
>
> `Attract::globalContent()->createGlobal()`

> [card] [Archive global documents](https://docs.fetchski-attract.com/laravel/reference/global-content/archive-globals.md)
>
> `Attract::globalContent()->archiveGlobals()`

> [card] [Copy global documents to another locale](https://docs.fetchski-attract.com/laravel/reference/global-content/localize-globals.md)
>
> `Attract::globalContent()->localizeGlobals()`

> [card] [Publish global documents](https://docs.fetchski-attract.com/laravel/reference/global-content/publish-globals.md)
>
> `Attract::globalContent()->publishGlobals()`

> [card] [Restore global documents](https://docs.fetchski-attract.com/laravel/reference/global-content/restore-globals.md)
>
> `Attract::globalContent()->restoreGlobals()`

> [card] [GET /@apostrophecms/global/\{\_id}](https://docs.fetchski-attract.com/api-reference/global-content/get-a-global-document.md)
>
> The endpoint this calls, in the API reference: the HTTP request and answer, and every rule the site checks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.