Accepts latitude & longitude and Returns contact details.
Accepts latitude & longitude as input and Returns contact details for local Public Safety Answering Points (PSAP). The EmergencyInfo accepts a location coordinate and returns the relevant PSAP address and contact details including dispatch name, phone number, county name, contact person's details, site details and mailing address.
Request
- Base URL: https://api.cloud.precisely.com
- URL: https://api.cloud.precisely.com/v1/emergency-info/psap/location
- Auth: one of:
- HTTP bearer
- API key in header Authorization
Headers
The X-Request-Id header is optional but incredibly useful for developers. It serves as a unique identifier for requests within our system. When you encounter any problems with your requests, providing us with the X-Request-Id will enable us to pinpoint the specific request in question without the need for extensive manual searching. This means faster and more efficient troubleshooting. The maximum allowed length is 38 characters.
Request body
Example request
{
"location": {
"coordinates": [
-73.935242,
40.73061
]
}
}Response
PSAP Retrieved Successfully
Example response
{
"response": {
"status": "OK",
"psap": {
"psapId": "3242",
"fccId": "1404",
"type": "Enhanced",
"agency": "Trumbull Police Department",
"phone": "203-261-3665",
"county": {
"name": "Fairfield",
"fips": "09001"
},
"contactPerson": {
"title": "Dispatch Supervisor",
"fullName": "Sgt. George Floridia",
"prefix": "Sgt.",
"firstName": "George",
"lastName": "Floridia",
"phone": "203-261-3665",
"fax": "203-452-1060",
"email": "gfloridia@trumbull-ct.gov",
"comments": "Dial -0- for DISPATCH.",
"additionalDetails": "Dial -0- for DISPATCH."
},
"siteDetails": {
"phone": "203-261-3665",
"fax": "203-452-1060",
"contactName": "N/A",
"email": "police@trumbull-ct.gov",
"address": {
"formattedAddress": "158 Edison Road, Trumbull, CT 06611, USA",
"formattedStreetAddress": "158 Edison Road",
"formattedLocationAddress": "Trumbull, CT 06611",
"admin1": "CT",
"admin2": "Fairfield",
"city": "Trumbull",
"street": "Edison Road",
"country": "USA",
"postalCode": "06611",
"postalCodeExt": "80125-8012",
"unit": "3B",
"unitType": "STE 100"
}
},
"mailingAddress": {
"formattedAddress": "158 Edison Road, Trumbull, CT 06611, USA",
"formattedStreetAddress": "158 Edison Road",
"formattedLocationAddress": "Trumbull, CT 06611",
"admin1": "CT",
"admin2": "Fairfield",
"city": "Trumbull",
"street": "Edison Road",
"country": "USA",
"postalCode": "06611",
"postalCodeExt": "80125-8012",
"unit": "3B",
"unitType": "STE 100"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.