Mithra Public API
API Docs
API Docs
  1. API Docs
  • Mithra Public API
  • Realtime (SSE)
    • SSE Event Schema
    • Connect (SSE)
      GET
    • Subscribe (SSE)
      POST
  • List Sensors
    GET
  • List Locations
    GET
  • Sensor Readings
    GET
  1. API Docs

List Locations

GET
https://api.mithra.network/public/v1/locations
List all locations (sensor location details)

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200Success
application/json
Body

🟠401Auth exception
🟠400Unknown exception
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mithra.network/public/v1/locations' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
  "locations": [
    {
      "id": "016qv8qybmi252q",
      "title_description": "HQ",
      "street": "Teststreet 123",
      "zip": "1114 AB",
      "city": "Amsterdam-Duivendrecht"
    }
  ]
}
Previous
List Sensors
Next
Sensor Readings
Built with