---
updatedAt: 2026-04-27T15:48:57.000Z
agentTools:
  projectIndex: https://harvestdocs.greenhouse.io/llms.txt
---

# List offices

Offices are the organization's recruiting locations (e.g. `San Francisco`, `New York`, `Remote (US)`) and the foundational scoping unit for jobs, candidates, custom-field visibility, and pay-range display. Each organization defines its own office set, optionally organized as a hierarchy via `parent_id`. Use this endpoint to enumerate the office tree for filtering, lookup, or downstream resource scoping.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Harvest API",
    "version": "v3"
  },
  "servers": [
    {
      "url": "https://harvest.greenhouse.io"
    }
  ],
  "security": [
    {
      "bearer": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "description": "JWT access_token from /auth/token. Omit the `sub` claim to act as your integration user, which has organization-wide access. Set `sub` to a Site Admin's user id to act as that user instead — the request is then limited to what that Site Admin can see in Greenhouse, including advanced permissions. Notably, private data such as offers, salary information, private notes, and private fields requires the \"See private notes, private fields, salary info, manage offers, request approval, and approve jobs/offers\" advanced permission; without it, list endpoints for those resources return an empty result and writes are rejected with `403 Forbidden`.",
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth2 Authentication",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.greenhouse.io/token",
            "scopes": {
              "harvest:ai_opt_out_statuses:list": "List ai opt out statuses",
              "harvest:application_stages:list": "List application stages",
              "harvest:applications:list": "List applications",
              "harvest:applications:destroy": "Destroy applications",
              "harvest:applications:create": "Create applications",
              "harvest:applications:update": "Update applications",
              "harvest:applications:hire": "Hire applications",
              "harvest:applications:convert_to_candidate": "Convert to candidate applications",
              "harvest:applications:reject": "Reject applications",
              "harvest:applications:unreject": "Unreject applications",
              "harvest:applications:move": "Move applications",
              "harvest:applied_candidate_tags:list": "List applied candidate tags",
              "harvest:applied_candidate_tags:create": "Create applied candidate tags",
              "harvest:applied_candidate_tags:destroy": "Destroy applied candidate tags",
              "harvest:approval_flows:list": "List approval flows",
              "harvest:approval_flows:create": "Create approval flows",
              "harvest:approval_flows:update": "Update approval flows",
              "harvest:approval_flows:request_approvals": "Request approvals",
              "harvest:approval_flows:replace_approver_groups": "Replace approver groups",
              "harvest:approver_groups:list": "List approver groups",
              "harvest:approver_groups:replace_approver": "Replace approvers",
              "harvest:approvers:list": "List approvers",
              "harvest:attachments:list": "List attachments",
              "harvest:attachments:create": "Create attachments",
              "harvest:attachments:destroy": "Destroy attachments",
              "harvest:blocked_spam_sources:list": "List blocked spam sources",
              "harvest:blocked_spam_sources:create": "Create blocked spam sources",
              "harvest:blocked_spam_sources:destroy": "Destroy blocked spam sources",
              "harvest:blocked_spam_sources:update": "Update blocked spam sources",
              "harvest:bulk_requests:list": "List bulk requests",
              "harvest:candidate_attribute_types:list": "List candidate attribute types",
              "harvest:candidate_educations:list": "List candidate educations",
              "harvest:candidate_educations:destroy": "Destroy candidate educations",
              "harvest:candidate_educations:create": "Create candidate educations",
              "harvest:candidate_employments:list": "List candidate employments",
              "harvest:candidate_employments:destroy": "Destroy candidate employments",
              "harvest:candidate_employments:create": "Create candidate employments",
              "harvest:candidate_tags:list": "List candidate tags",
              "harvest:candidate_tags:create": "Create candidate tags",
              "harvest:candidate_tags:destroy": "Destroy candidate tags",
              "harvest:candidates:list": "List candidates",
              "harvest:candidates:create": "Create candidates",
              "harvest:candidates:destroy": "Destroy candidates",
              "harvest:candidates:update": "Update candidates",
              "harvest:candidates:merge": "Merge candidates",
              "harvest:candidates:anonymize": "Anonymize candidates",
              "harvest:close_reasons:list": "List close reasons",
              "harvest:custom_field_departments:list": "List custom field departments",
              "harvest:custom_field_departments:create": "Create custom field departments",
              "harvest:custom_field_departments:destroy": "Destroy custom field departments",
              "harvest:custom_field_offices:list": "List custom field offices",
              "harvest:custom_field_offices:create": "Create custom field offices",
              "harvest:custom_field_offices:destroy": "Destroy custom field offices",
              "harvest:custom_field_options:list": "List custom field options",
              "harvest:custom_field_options:create": "Create custom field options",
              "harvest:custom_field_options:destroy": "Destroy custom field options",
              "harvest:custom_field_options:update": "Update custom field options",
              "harvest:custom_fields:list": "List custom fields",
              "harvest:custom_fields:destroy": "Destroy custom fields",
              "harvest:custom_fields:create": "Create custom fields",
              "harvest:custom_fields:update": "Update custom fields",
              "harvest:default_interviewers:list": "List default interviewers",
              "harvest:demographic_answer_options:list": "List demographic answer options",
              "harvest:demographic_answers:list": "List demographic answers",
              "harvest:demographic_question_sets:list": "List demographic question sets",
              "harvest:demographic_questions:list": "List demographic questions",
              "harvest:departments:list": "List departments",
              "harvest:departments:create": "Create departments",
              "harvest:departments:update": "Update departments",
              "harvest:eeoc:list": "List eeoc",
              "harvest:email_templates:list": "List email templates",
              "harvest:focus_candidate_attributes:list": "List focus candidate attributes",
              "harvest:future_job_permissions:list": "List future job permissions",
              "harvest:future_job_permissions:create": "Create future job permissions",
              "harvest:future_job_permissions:destroy": "Destroy future job permissions",
              "harvest:interview_kits:list": "List interview kits",
              "harvest:interview_media:list": "List interview media",
              "harvest:interviewer_tags:list": "List interviewer tags",
              "harvest:interviewers:list": "List interviewers",
              "harvest:interviews:list": "List interviews",
              "harvest:interviews:create": "Create interviews",
              "harvest:interviews:destroy": "Destroy interviews",
              "harvest:interviews:update": "Update interviews",
              "harvest:job_board_custom_locations:list": "List job board custom locations",
              "harvest:job_boards:list": "List job boards",
              "harvest:job_candidate_attributes:list": "List job candidate attributes",
              "harvest:job_hiring_managers:list": "List job hiring managers",
              "harvest:job_hiring_managers:create": "Create job hiring managers",
              "harvest:job_hiring_managers:destroy": "Destroy job hiring managers",
              "harvest:job_interview_stages:list": "List job interview stages",
              "harvest:job_interviews:list": "List job interviews",
              "harvest:job_notes:list": "List job notes",
              "harvest:job_notes:create": "Create job notes",
              "harvest:job_notes:destroy": "Destroy job notes",
              "harvest:job_notes:update": "Update job notes",
              "harvest:job_owners:list": "List job owners",
              "harvest:job_owners:create": "Create job owners",
              "harvest:job_owners:destroy": "Destroy job owners",
              "harvest:job_post_locations:list": "List job post locations",
              "harvest:job_post_locations:create": "Create job post locations",
              "harvest:job_post_locations:destroy": "Destroy job post locations",
              "harvest:job_posts:list": "List job posts",
              "harvest:job_posts:create": "Create job posts",
              "harvest:job_posts:update": "Update job posts",
              "harvest:jobs:list": "List jobs",
              "harvest:jobs:create": "Create jobs",
              "harvest:jobs:update": "Update jobs",
              "harvest:notes:list": "List notes",
              "harvest:notes:create": "Create notes",
              "harvest:notes:destroy": "Destroy notes",
              "harvest:notes:update": "Update notes",
              "harvest:offers:list": "List offers",
              "harvest:offers:create": "Create offers",
              "harvest:offers:update": "Update offers",
              "harvest:offices:list": "List offices",
              "harvest:offices:create": "Create offices",
              "harvest:offices:update": "Update offices",
              "harvest:openings:list": "List openings",
              "harvest:openings:create": "Create openings",
              "harvest:openings:destroy": "Destroy openings",
              "harvest:openings:update": "Update openings",
              "harvest:pay_input_ranges:list": "List pay input ranges",
              "harvest:pay_inputs:list": "List pay inputs",
              "harvest:prospect_details:list": "List prospect details",
              "harvest:prospect_pool_stages:list": "List prospect pool stages",
              "harvest:prospect_pools:list": "List prospect pools",
              "harvest:referrers:list": "List referrers",
              "harvest:referrers:create": "Create referrers",
              "harvest:rejection_details:list": "List rejection details",
              "harvest:rejection_details:update": "Update rejection details",
              "harvest:rejection_reasons:list": "List rejection reasons",
              "harvest:rejection_reasons:show": "Show rejection reasons",
              "harvest:scorecard_candidate_attributes:list": "List scorecard candidate attributes",
              "harvest:scorecard_candidate_attributes:create": "Create scorecard candidate attributes",
              "harvest:scorecard_candidate_attributes:update": "Update scorecard candidate attributes",
              "harvest:scorecard_question_answer_options:create": "Create scorecard question answer options",
              "harvest:scorecard_question_answer_options:list": "List scorecard question answer options",
              "harvest:scorecard_question_answers:list": "List scorecard question answers",
              "harvest:scorecard_question_answers:create": "Create scorecard question answers",
              "harvest:scorecard_question_answers:update": "Update scorecard question answers",
              "harvest:scorecard_question_candidate_attributes:list": "List scorecard question candidate attributes",
              "harvest:scorecard_question_options:list": "List scorecard question options",
              "harvest:scorecard_questions:list": "List scorecard questions",
              "harvest:scorecards:list": "List scorecards",
              "harvest:scorecards:create": "Create scorecards",
              "harvest:scorecards:update": "Update scorecards",
              "harvest:job_post_searchable_locations:list": "List job post searchable locations",
              "harvest:sources:list": "List sources",
              "harvest:tracking_links:list": "List tracking links",
              "harvest:user_emails:list": "List user emails",
              "harvest:user_emails:create": "Create user emails",
              "harvest:user_job_permissions:list": "List user job permissions",
              "harvest:user_job_permissions:create": "Create user job permissions",
              "harvest:user_job_permissions:destroy": "Destroy user job permissions",
              "harvest:user_roles:list": "List user roles",
              "harvest:users:list": "List users",
              "harvest:users:create": "Create users",
              "harvest:users:update": "Update users",
              "harvest:users:deactivate": "Deactivate users",
              "harvest:users:activate": "Activate users",
              "harvest:users:revoke_permissions": "Revoke permissions users",
              "harvest:webhooks:create": "Create webhooks",
              "harvest:webhooks:update": "Update webhooks",
              "harvest:webhooks:destroy": "Destroy webhooks",
              "harvest:webhooks:list": "List webhooks",
              "auditlog:events:list": "List audit log events"
            }
          },
          "authorizationCode": {
            "authorizationUrl": "https://auth.greenhouse.io/authorize",
            "tokenUrl": "https://auth.greenhouse.io/token",
            "refreshUrl": "https://auth.greenhouse.io/token",
            "scopes": {
              "harvest:ai_opt_out_statuses:list": "List ai opt out statuses",
              "harvest:application_stages:list": "List application stages",
              "harvest:applications:list": "List applications",
              "harvest:applications:destroy": "Destroy applications",
              "harvest:applications:create": "Create applications",
              "harvest:applications:update": "Update applications",
              "harvest:applications:hire": "Hire applications",
              "harvest:applications:convert_to_candidate": "Convert to candidate applications",
              "harvest:applications:reject": "Reject applications",
              "harvest:applications:unreject": "Unreject applications",
              "harvest:applications:move": "Move applications",
              "harvest:applied_candidate_tags:list": "List applied candidate tags",
              "harvest:applied_candidate_tags:create": "Create applied candidate tags",
              "harvest:applied_candidate_tags:destroy": "Destroy applied candidate tags",
              "harvest:approval_flows:list": "List approval flows",
              "harvest:approval_flows:create": "Create approval flows",
              "harvest:approval_flows:update": "Update approval flows",
              "harvest:approval_flows:request_approvals": "Request approvals",
              "harvest:approval_flows:replace_approver_groups": "Replace approver groups",
              "harvest:approver_groups:list": "List approver groups",
              "harvest:approver_groups:replace_approver": "Replace approvers",
              "harvest:approvers:list": "List approvers",
              "harvest:attachments:list": "List attachments",
              "harvest:attachments:create": "Create attachments",
              "harvest:attachments:destroy": "Destroy attachments",
              "harvest:blocked_spam_sources:list": "List blocked spam sources",
              "harvest:blocked_spam_sources:create": "Create blocked spam sources",
              "harvest:blocked_spam_sources:destroy": "Destroy blocked spam sources",
              "harvest:blocked_spam_sources:update": "Update blocked spam sources",
              "harvest:bulk_requests:list": "List bulk requests",
              "harvest:candidate_attribute_types:list": "List candidate attribute types",
              "harvest:candidate_educations:list": "List candidate educations",
              "harvest:candidate_educations:destroy": "Destroy candidate educations",
              "harvest:candidate_educations:create": "Create candidate educations",
              "harvest:candidate_employments:list": "List candidate employments",
              "harvest:candidate_employments:destroy": "Destroy candidate employments",
              "harvest:candidate_employments:create": "Create candidate employments",
              "harvest:candidate_tags:list": "List candidate tags",
              "harvest:candidate_tags:create": "Create candidate tags",
              "harvest:candidate_tags:destroy": "Destroy candidate tags",
              "harvest:candidates:list": "List candidates",
              "harvest:candidates:create": "Create candidates",
              "harvest:candidates:destroy": "Destroy candidates",
              "harvest:candidates:update": "Update candidates",
              "harvest:candidates:merge": "Merge candidates",
              "harvest:candidates:anonymize": "Anonymize candidates",
              "harvest:close_reasons:list": "List close reasons",
              "harvest:custom_field_departments:list": "List custom field departments",
              "harvest:custom_field_departments:create": "Create custom field departments",
              "harvest:custom_field_departments:destroy": "Destroy custom field departments",
              "harvest:custom_field_offices:list": "List custom field offices",
              "harvest:custom_field_offices:create": "Create custom field offices",
              "harvest:custom_field_offices:destroy": "Destroy custom field offices",
              "harvest:custom_field_options:list": "List custom field options",
              "harvest:custom_field_options:create": "Create custom field options",
              "harvest:custom_field_options:destroy": "Destroy custom field options",
              "harvest:custom_field_options:update": "Update custom field options",
              "harvest:custom_fields:list": "List custom fields",
              "harvest:custom_fields:destroy": "Destroy custom fields",
              "harvest:custom_fields:create": "Create custom fields",
              "harvest:custom_fields:update": "Update custom fields",
              "harvest:default_interviewers:list": "List default interviewers",
              "harvest:demographic_answer_options:list": "List demographic answer options",
              "harvest:demographic_answers:list": "List demographic answers",
              "harvest:demographic_question_sets:list": "List demographic question sets",
              "harvest:demographic_questions:list": "List demographic questions",
              "harvest:departments:list": "List departments",
              "harvest:departments:create": "Create departments",
              "harvest:departments:update": "Update departments",
              "harvest:eeoc:list": "List eeoc",
              "harvest:email_templates:list": "List email templates",
              "harvest:focus_candidate_attributes:list": "List focus candidate attributes",
              "harvest:future_job_permissions:list": "List future job permissions",
              "harvest:future_job_permissions:create": "Create future job permissions",
              "harvest:future_job_permissions:destroy": "Destroy future job permissions",
              "harvest:interview_kits:list": "List interview kits",
              "harvest:interview_media:list": "List interview media",
              "harvest:interviewer_tags:list": "List interviewer tags",
              "harvest:interviewers:list": "List interviewers",
              "harvest:interviews:list": "List interviews",
              "harvest:interviews:create": "Create interviews",
              "harvest:interviews:destroy": "Destroy interviews",
              "harvest:interviews:update": "Update interviews",
              "harvest:job_board_custom_locations:list": "List job board custom locations",
              "harvest:job_boards:list": "List job boards",
              "harvest:job_candidate_attributes:list": "List job candidate attributes",
              "harvest:job_hiring_managers:list": "List job hiring managers",
              "harvest:job_hiring_managers:create": "Create job hiring managers",
              "harvest:job_hiring_managers:destroy": "Destroy job hiring managers",
              "harvest:job_interview_stages:list": "List job interview stages",
              "harvest:job_interviews:list": "List job interviews",
              "harvest:job_notes:list": "List job notes",
              "harvest:job_notes:create": "Create job notes",
              "harvest:job_notes:destroy": "Destroy job notes",
              "harvest:job_notes:update": "Update job notes",
              "harvest:job_owners:list": "List job owners",
              "harvest:job_owners:create": "Create job owners",
              "harvest:job_owners:destroy": "Destroy job owners",
              "harvest:job_post_locations:list": "List job post locations",
              "harvest:job_post_locations:create": "Create job post locations",
              "harvest:job_post_locations:destroy": "Destroy job post locations",
              "harvest:job_posts:list": "List job posts",
              "harvest:job_posts:create": "Create job posts",
              "harvest:job_posts:update": "Update job posts",
              "harvest:jobs:list": "List jobs",
              "harvest:jobs:create": "Create jobs",
              "harvest:jobs:update": "Update jobs",
              "harvest:notes:list": "List notes",
              "harvest:notes:create": "Create notes",
              "harvest:notes:destroy": "Destroy notes",
              "harvest:notes:update": "Update notes",
              "harvest:offers:list": "List offers",
              "harvest:offers:create": "Create offers",
              "harvest:offers:update": "Update offers",
              "harvest:offices:list": "List offices",
              "harvest:offices:create": "Create offices",
              "harvest:offices:update": "Update offices",
              "harvest:openings:list": "List openings",
              "harvest:openings:create": "Create openings",
              "harvest:openings:destroy": "Destroy openings",
              "harvest:openings:update": "Update openings",
              "harvest:pay_input_ranges:list": "List pay input ranges",
              "harvest:pay_inputs:list": "List pay inputs",
              "harvest:prospect_details:list": "List prospect details",
              "harvest:prospect_pool_stages:list": "List prospect pool stages",
              "harvest:prospect_pools:list": "List prospect pools",
              "harvest:referrers:list": "List referrers",
              "harvest:referrers:create": "Create referrers",
              "harvest:rejection_details:list": "List rejection details",
              "harvest:rejection_details:update": "Update rejection details",
              "harvest:rejection_reasons:list": "List rejection reasons",
              "harvest:rejection_reasons:show": "Show rejection reasons",
              "harvest:scorecard_candidate_attributes:list": "List scorecard candidate attributes",
              "harvest:scorecard_candidate_attributes:create": "Create scorecard candidate attributes",
              "harvest:scorecard_candidate_attributes:update": "Update scorecard candidate attributes",
              "harvest:scorecard_question_answer_options:create": "Create scorecard question answer options",
              "harvest:scorecard_question_answer_options:list": "List scorecard question answer options",
              "harvest:scorecard_question_answers:list": "List scorecard question answers",
              "harvest:scorecard_question_answers:create": "Create scorecard question answers",
              "harvest:scorecard_question_answers:update": "Update scorecard question answers",
              "harvest:scorecard_question_candidate_attributes:list": "List scorecard question candidate attributes",
              "harvest:scorecard_question_options:list": "List scorecard question options",
              "harvest:scorecard_questions:list": "List scorecard questions",
              "harvest:scorecards:list": "List scorecards",
              "harvest:scorecards:create": "Create scorecards",
              "harvest:scorecards:update": "Update scorecards",
              "harvest:job_post_searchable_locations:list": "List job post searchable locations",
              "harvest:sources:list": "List sources",
              "harvest:tracking_links:list": "List tracking links",
              "harvest:user_emails:list": "List user emails",
              "harvest:user_emails:create": "Create user emails",
              "harvest:user_job_permissions:list": "List user job permissions",
              "harvest:user_job_permissions:create": "Create user job permissions",
              "harvest:user_job_permissions:destroy": "Destroy user job permissions",
              "harvest:user_roles:list": "List user roles",
              "harvest:users:list": "List users",
              "harvest:users:create": "Create users",
              "harvest:users:update": "Update users",
              "harvest:users:deactivate": "Deactivate users",
              "harvest:users:activate": "Activate users",
              "harvest:users:revoke_permissions": "Revoke permissions users",
              "harvest:webhooks:create": "Create webhooks",
              "harvest:webhooks:update": "Update webhooks",
              "harvest:webhooks:destroy": "Destroy webhooks",
              "harvest:webhooks:list": "List webhooks",
              "auditlog:events:list": "List audit log events"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v3/offices": {
      "get": {
        "summary": "List offices",
        "description": "Offices are the organization's recruiting locations (e.g. `San Francisco`, `New York`, `Remote (US)`) and the foundational scoping unit for jobs, candidates, custom-field visibility, and pay-range display. Each organization defines its own office set, optionally organized as a hierarchy via `parent_id`. Use this endpoint to enumerate the office tree for filtering, lookup, or downstream resource scoping.",
        "tags": [
          "Offices"
        ],
        "security": [
          {
            "oauth2": [
              "harvest:offices:list"
            ]
          },
          {
            "bearer": []
          }
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor link for pagination from previous page response header. Do not use any other parameters when using this."
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            },
            "description": "Number of results per page"
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "description": "Comma separated list",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "integer"
              },
              "maxItems": 50
            }
          },
          {
            "name": "created_at",
            "in": "query",
            "required": false,
            "schema": {
              "type": "object",
              "properties": {
                "gte": {
                  "type": "string",
                  "format": "date-time"
                },
                "lte": {
                  "type": "string",
                  "format": "date-time"
                },
                "gt": {
                  "type": "string",
                  "format": "date-time"
                },
                "lt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            },
            "style": "pipeDelimited"
          },
          {
            "name": "updated_at",
            "in": "query",
            "required": false,
            "schema": {
              "type": "object",
              "properties": {
                "gte": {
                  "type": "string",
                  "format": "date-time"
                },
                "lte": {
                  "type": "string",
                  "format": "date-time"
                },
                "gt": {
                  "type": "string",
                  "format": "date-time"
                },
                "lt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            },
            "style": "pipeDelimited"
          },
          {
            "name": "fields",
            "in": "query",
            "required": false,
            "description": "Comma separated list of fields to return",
            "style": "form",
            "explode": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "created_at",
                  "external_id",
                  "external_parent_id",
                  "id",
                  "location",
                  "name",
                  "parent_id",
                  "primary_in_house_contact_user_id",
                  "updated_at"
                ]
              },
              "maxItems": 50
            }
          },
          {
            "name": "parent_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Return only offices whose parent is this office id. Use to traverse the office tree one level at a time."
          },
          {
            "name": "external_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Return only the office whose `external_id` matches this value. Useful for HRIS-driven reconciliation where partners track offices by their external identifier rather than by Greenhouse id."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "examples": {
                  "example_response": {
                    "value": [
                      {
                        "id": 1,
                        "name": "Parent office",
                        "external_id": null,
                        "location": "San Francisco, CA, USA",
                        "created_at": "2024-01-01T12:30:30.000Z",
                        "updated_at": "2024-01-01T12:30:30.000Z",
                        "parent_id": null,
                        "primary_in_house_contact_user_id": 1,
                        "external_parent_id": null
                      },
                      {
                        "id": 2,
                        "name": "Current office",
                        "external_id": null,
                        "location": "New York, NY, USA",
                        "created_at": "2024-01-01T12:30:30.000Z",
                        "updated_at": "2024-01-01T12:30:30.000Z",
                        "parent_id": null,
                        "primary_in_house_contact_user_id": 1,
                        "external_parent_id": null
                      }
                    ]
                  }
                },
                "schema": {
                  "type": "array",
                  "uniqueItems": true,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "created_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "updated_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "name": {
                        "type": "string",
                        "description": "Display name of the office (e.g. `San Francisco`, `Remote (US)`). Unique among active offices in the same organization."
                      },
                      "parent_id": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "description": "Id of the parent office when offices are organized hierarchically. `null` for top-level offices. References another `/v3/offices` row in the same organization."
                      },
                      "external_id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Stable identifier supplied by the customer or HRIS for cross-system reconciliation. `null` when no external id has been set. Available when the `org_structure_external_id` product flag is enabled."
                      },
                      "external_parent_id": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "`external_id` of the parent office, for partners that key the office hierarchy by external id rather than Greenhouse id. Mirrors the `external_parent_id` accepted on create and update. `null` for top-level offices and when the parent has no external id set."
                      },
                      "location": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Free-form physical location string for the office (e.g. `New York, NY, USA`). `null` for offices that have no location set, including most remote offices."
                      },
                      "primary_in_house_contact_user_id": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "description": "Id of the Greenhouse user designated as the office's primary internal contact, typically the local recruiting lead. References a `/v3/users` row. `null` when no contact has been assigned."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```