---
title: "Accepts latitude & longitude and Returns contact details for Authorities Having Jurisdiction (AHJ)"
method: POST
path: "/v1/emergency-info/psap-ahj/location"
tags: ["PSAP-AHJ"]
---

# Accepts latitude & longitude and Returns contact details for Authorities Having Jurisdiction (AHJ)

`POST /v1/emergency-info/psap-ahj/location`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/emergency-info/psap-ahj/location`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Accepts latitude & longitude as input and Returns contact details for Authorities Having Jurisdiction (AHJ) on-behalf-of local Public Safety Answering Points (PSAP).
EmergencyInfo API accepts a location coordinate and returns PSAP contact data plus contact data for an AHJ to communicate directly with a PSAP. Details include agency name, phone number, city name, contact person's details, site details and mailing addresses for EMS, Fire, and Police PSAP contacts.

## Headers

- `X-Request-Id` string

## Request body

- EmergencyInfoLocationRequest: Represents emergency info location request.
  - `location` LocationEmergencyInfo: Represents location emergency info.
    - `coordinates` number[]: Location Coordinates i.e. Longitude(-180 to 180) and Latitude(-90 to 90) of the Location. (WGS 84 datum/EPSG:4326 coordinate system)

## Response `200`

PSAP-AHJ Retrieved Successfully using latitude & longitude

- EmergencyInfoPSAPAhjResponse: Represents emergency info PSAPAhj response.
  - `response` AHJPlusPSAPResponse: Represents ahj plus psap response.
    - `status` 'OK' | 'ZERO_RESULTS', required: Represents the status of a response
    - `ahjs` AHJ[]: List of AHJ (Authority Having Jurisdiction) records.
      - `ahjType` string: Values: EMS, Police, Fire
      - `ahjId` string: Persistent unique identification number for the record
      - `type` string: Types, such as City, County, Military, State, University, Regional
      - `fccId` string: Federal Communications Commission (FCC) identification number for EMS record
      - `agency` string: Emergency service agency name
      - `phone` string: Emergency number that is answered 24x7
      - `comments` string: General comments
      - `contactPerson` ContactPerson: Contact person
        - `title` string: Title of the contact person
        - `fullName` string: Full name of the contact person
        - `prefix` string: Prefix of the contact person
        - `firstName` string: First name of the contact person
        - `lastName` string: Last name of the contact person
        - `phone` string: Phone number of the contact person
        - `fax` string: Fax number of the contact person
        - `email` string: Email address of the contact person
        - `comments` string: Additional comments about the contact person
        - `additionalDetails` string: Additional details about the contact person
      - `mailingAddress` MatchedAddress: Matched address response
        - `formattedAddress` string: All components of the address, formatted to the country's standard, on one line.
        - `formattedStreetAddress` string: Street portion of the address, including the directional and street suffix, formatted to the country's standard.
        - `formattedLocationAddress` string: The complete matched last address line (city, state, and postal code).
        - `admin1` string: The largest geographic area, typically a state or province.
        - `admin2` string: The secondary geographic area, typically a county or district.
        - `city` string: Specifies a city or town name.
        - `street` string: Street name only (no directional or street suffix).
        - `country` string: Values are based on the ISO 3166-1 standard for country codes (returned in alpha-2, alpha-3, or numeric format)
        - `postalCode` string: Main postal code.
        - `postalCodeExt` string: Secondary postal code, if one exists. For example, in the US, a ZIP+4 is 80125-8012.
        - `unit` string: The unit number, such as "3B".
        - `unitType` string: A group or suite of rooms within a building that are under common ownership or tenancy, typically having a common entrance. (APT, STE, FLAT, etc.).
    - `psap` PSAP: Represents psap.
      - `psapId` string: The PSAP Id, Persistent unique identification number for PSAP record
      - `fccId` string: Federal Communications Commission (FCC) identification number for EMS record
      - `type` string: Values: enhanced, basic, military, non-9-1-1
      - `agency` string: The PSAP name
      - `phone` string: Emergency number that is answered 24x7
      - `county` County: Name of the county where the PSAP is located
        - `name` string: Name of the county
        - `fips` string: FIPS code for the county
      - `contactPerson` ContactPerson: Contact person
        - `title` string: Title of the contact person
        - `fullName` string: Full name of the contact person
        - `prefix` string: Prefix of the contact person
        - `firstName` string: First name of the contact person
        - `lastName` string: Last name of the contact person
        - `phone` string: Phone number of the contact person
        - `fax` string: Fax number of the contact person
        - `email` string: Email address of the contact person
        - `comments` string: Additional comments about the contact person
        - `additionalDetails` string: Additional details about the contact person
      - `siteDetails` SiteDetails: Represents the details of the site associated with a PSAP.
        - `phone` string: Phone number of the site
        - `fax` string: Fax number of the site
        - `contactName` string: Contact name at the site
        - `email` string: Email address for contacting the site
        - `address` MatchedAddress: Matched address response
          - `formattedAddress` string: All components of the address, formatted to the country's standard, on one line.
          - `formattedStreetAddress` string: Street portion of the address, including the directional and street suffix, formatted to the country's standard.
          - `formattedLocationAddress` string: The complete matched last address line (city, state, and postal code).
          - `admin1` string: The largest geographic area, typically a state or province.
          - `admin2` string: The secondary geographic area, typically a county or district.
          - `city` string: Specifies a city or town name.
          - `street` string: Street name only (no directional or street suffix).
          - `country` string: Values are based on the ISO 3166-1 standard for country codes (returned in alpha-2, alpha-3, or numeric format)
          - `postalCode` string: Main postal code.
          - `postalCodeExt` string: Secondary postal code, if one exists. For example, in the US, a ZIP+4 is 80125-8012.
          - `unit` string: The unit number, such as "3B".
          - `unitType` string: A group or suite of rooms within a building that are under common ownership or tenancy, typically having a common entrance. (APT, STE, FLAT, etc.).
      - `mailingAddress` MatchedAddress: Matched address response
        - `formattedAddress` string: All components of the address, formatted to the country's standard, on one line.
        - `formattedStreetAddress` string: Street portion of the address, including the directional and street suffix, formatted to the country's standard.
        - `formattedLocationAddress` string: The complete matched last address line (city, state, and postal code).
        - `admin1` string: The largest geographic area, typically a state or province.
        - `admin2` string: The secondary geographic area, typically a county or district.
        - `city` string: Specifies a city or town name.
        - `street` string: Street name only (no directional or street suffix).
        - `country` string: Values are based on the ISO 3166-1 standard for country codes (returned in alpha-2, alpha-3, or numeric format)
        - `postalCode` string: Main postal code.
        - `postalCodeExt` string: Secondary postal code, if one exists. For example, in the US, a ZIP+4 is 80125-8012.
        - `unit` string: The unit number, such as "3B".
        - `unitType` string: A group or suite of rooms within a building that are under common ownership or tenancy, typically having a common entrance. (APT, STE, FLAT, etc.).

## Other responses

- `400`: Invalid request for psap ahj location API
- `401`: Unauthorized: Invalid token for psap ahj location API
- `403`: Forbidden for psap ahj location API
- `429`: Too many requests for psap ahj location API
- `500`: Internal server error for psap ahj location API
- `503`: Psap ahj location service unavailable

---

[API](https://skmtc.dev/precisely/apis/emergencyinfo-api.md) · [All operations](https://skmtc.dev/precisely/apis/emergencyinfo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/emergencyinfo-api/revisions/e3f54310ccdc?raw)
