post https://api.tomorrow.io/v4/locations
Recipes
Set Up Severe Weather Alerts Around a Geofence
Open Recipe
Set Up Alerts with Custom Weather Conditions
Open Recipe
Log in to see full request history
Response
xxxxxxxxxx
curl --request POST \
--url https://api.tomorrow.io/v4/locations \
--compressed \
--header 'Accept-Encoding: gzip, deflate' \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
14{
"data": {
"location": {
"id": "5e82fb82b66492001218aaf3",
"name": "Tomorrow.io Headquarters",
"tags": ["John's team", "Group 1"]
"geometry": {
"type": "Point",
"coordinates": [42.355440, -71.059910]
},
"createdAt": "2020-05-10T06:49:34+0000",
}
}
}