Get Locations›Fetch Locations
Get Locations
Fetch Locations
Fetch list of available Geolocations
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/locations" \
--header "Authorization: Basic <encoded-value>"
{
"locations": [
{
"code": "US",
"name": "United States"
}
]
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
application/jsonsuccessful operation
locationsobject[]
locations.codestring
Example: "US"
locations.namestring
Example: "United States"
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/locations" \
--header "Authorization: Basic <encoded-value>"
{
"locations": [
{
"code": "US",
"name": "United States"
}
]
}