# Office

A firm office and its location.

## Fields

| Name | Type | Format | Nullable | Description | Example |
|  --- | --- | --- | --- | --- | --- |
| `id` | integer | — | No | Unique office identifier. | `2` |
| `pmsRef` | string | — | Yes | Practice-management-system reference. | `"OFF-2"` |
| `name` | string | — | No | Office name. | `"Austin - Downtown"` |
| `active` | boolean | — | No | Whether the office is active. | `true` |
| `city` | string | — | Yes | City. | `"Austin"` |
| `stateProvince` | string | — | Yes | State or province. | `"TX"` |
| `country` | string | — | Yes | Country code. | `"US"` |
| `zip` | string | — | Yes | Postal or ZIP code. | `"78701"` |
| `isCreatedByAiwyn` | boolean | — | Yes | Whether Aiwyn created the office. | `true` |
| `isManagedByAiwyn` | boolean | — | Yes | Whether Aiwyn manages the office. | `true` |
| `createdAt` | string | date-time (ISO 8601) | Yes | Record creation timestamp. | `"2025-01-02T03:04:05Z"` |
| `updatedAt` | string | date-time (ISO 8601) | Yes | Last modification timestamp. | `"2025-01-02T03:04:05Z"` |
| `version` | integer | — | Yes | Record version. | `1` |
| `address` | string | — | Yes | Full address of the office. | `"100 Congress Ave, Suite 200, Austin, TX 78701"` |
| `addressLine1` | string | — | Yes | Address line 1. | `"100 Congress Ave"` |
| `addressLine2` | string | — | Yes | Address line 2. | `"Suite 200"` |
| `phone` | string | — | Yes | Phone number. | `"+1 512 555 0100"` |
| `fax` | string | — | Yes | Fax number. | — |
| `email` | string | email | Yes | Email address. | `"austin@example.com"` |
| `timezone` | string | — | Yes | Time zone of the office. | `"America/Chicago"` |
| `createdByStaffId` | integer | — | Yes | Staff id of whoever created the record. | `53` |
| `lastUpdatedByStaffId` | integer | — | Yes | Staff id of whoever last updated the record. | `53` |
| `customFieldValues` | object | map | Yes | Firm-defined custom fields. | `{}` |