API Authentication
In order to have access to Teachstone API you need first to request access via email dev@teachstone.com.
Teachstone support will give you an API Token. This token is valid for one year. You must send it in every request to Teachstone API.
Request example:
$ curl --request GET \
--url https://api.teachstone.com/observation-data/v1/account \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
Legacy Endpoint
The previous /envscales/account endpoint is deprecated but still functional. Please migrate to /observation-data/v1/account for new integrations.
Possible authentication errors
| Status | Message |
|---|---|
| 403 | authorization not provided |
| 403 | token expired |
| 403 | account not found |
| 403 | invalid token |