Get a location

GET /v1/locations/{id}

Retrieves a location info

Path parameters

  • id string Required

    Location id

    Maximum length is 50.

Responses

  • 200

    Successful response.

    Hide response attributes Show response attributes object
    • id string

      Values are in, us-tx, us-ca, eu, fr, au, qa, sk, uk, ca, sa, br, or sea.

    • name string
  • 404

    Resource Not Found

    Hide response attributes Show response attributes object
    • message string

      A human-readable message providing more details about the error.

    • status string

      A status describing the situation

GET /v1/locations/{id}
curl \
 -X GET https://api.auditzy.com/v1/locations/{id}
Response examples (200)
{
  "data": {
    "id": "in",
    "name": "Mumbai, India"
  },
  "status": "SUCCESS"
}
Response examples (404)
{
  "message": "Resource Not Found",
  "status": "FAILURE"
}