cURL
curl --request POST \ --url https://app.prontohq.com/api/v2/locations \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "name": "San Francisco" }'
[ { "name": "San Francisco Bay Area", "id": "90000084" }, { "name": "San Francisco, California, United States", "id": "102277331" } ]
Get the location id of a specific location
Your API key
The name of the location to get the id of
"San Francisco"
Location ID retrieved successfully
The full name of the location
The ID of the location