---
title: "Retrieves the specified Geolocation exception."
method: GET
path: "/v1/configuration/{accountid}/exceptions/geolocation/{objectid}"
tags: ["Exceptions (Geolocation)"]
---

# Retrieves the specified Geolocation exception.

`GET /v1/configuration/{accountid}/exceptions/geolocation/{objectid}`

## Request

- Base URL: `https://api.usa.cloud.watchguard.com/rest/firecloud/management`
- URL: `https://api.usa.cloud.watchguard.com/rest/firecloud/management/v1/configuration/{accountid}/exceptions/geolocation/{objectid}`
- Auth: API key in header `WatchGuard-API-Key` and HTTP bearer
- TypeScript: <https://skmtc.dev/watchguard/apis/firecloud-management-api/docs/v1/configuration/:accountid/exceptions/geolocation/:objectid/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `objectid` string, required

## Response `200`

The Geolocation exception object.

- GeolocationException: Common metadata for all API objects.
  - `id` string, required: Unique ID that identifies this object.
  - `object` string, required: Type of object.
  - `version` integer, required: Version number of the object.
  - `account` string, required: Your WatchGuard Cloud account ID.
  - `created` integer, required: Time that the object was created, specified in Unix epoch time format.
  - `device` 'firewan', required: Device this object applies to.
  - `author` string, required: Author of the object. This is always empty for objects added or updated with the FireCloud Management API.
  - `description` string: Specifies the description of the Geolocation exception. Maximum: 127 characters.
  - `address` union, required: Address of the exception.
    - union: IPv4 address type.
      - Ipv4HostType: IPv4 address.
        - `type` 'ipv4_host', required: Address type identifier.
        - `value` string, required: IPv4 address string.
      - Ipv4RangeType: IPv4 address range.
        - `type` 'ipv4_range', required: Address type identifier.
        - `value` string, required: IPv4 address range in start-end format.
      - Ipv4NetworkType: IPv4 network.
        - `type` 'ipv4_network', required: Address type identifier.
        - `value` string, required: IPv4 CIDR notation string.
    - FqdnType: FQDN.
      - `type` 'fqdn', required: Address type identifier.
      - `value` string, required: Fully qualified domain name.
  - `action` 'allow': Specifies the action to take for the specified address.

## Other responses

- `403`: ACCESS DENIED
- `404`: NOT FOUND
- `405`: METHOD NOT ALLOWED
- `500`: INTERNAL ERROR

---

[API](https://skmtc.dev/watchguard/apis/firecloud-management-api.md) - [All operations](https://skmtc.dev/watchguard/apis/firecloud-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchguard/apis/firecloud-management-api/revisions/2c8e3d7b3be2?raw)
