Read and add the locations saved in your Precip account
List Saved Locations
Your saved Precip locations, personal and from your organizations, with coordinates you can pass to the weather endpoints. Needs a personal API key or a sign-in with your Precip account.
query Parameters
nameOnly return locations whose name contains this text (not case-sensitive)
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List Saved Locations › Responses
Your saved locations, sorted by name within each account
truncatedTrue when there are more than 500 matches; narrow the list with name
Save a Location
Save a new point location to your Precip account, or to one of your organizations. Each plan has a limit on saved locations; at the limit the request is refused with a link to upgrade.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Save a Location › Request Body
nameName for the location
latitudelongitudeorgIdSave to this organization instead of your personal account (an org.id from List Saved Locations)
Save a Location › Responses
The saved location