/v1/meCheck your key
Which school and key a request is authenticated as. mode is test while the school holds sample data and live once it runs on real records. Call it once when a partner saves a key.
Caller asksSetup: confirm the key a school pasted in works and belongs to the right school.
Query parameters
None.
Request
curl "https://school.autoviatest.com/api/v1/me" \
-H "Authorization: Bearer $AUTOVIA_API_KEY"Response · 200
{
"key": {
"name": "Voice assistant",
"preview": "av_live_3f9a",
"mode": "live"
},
"school": {
"id": "jd7f3kq9m2n8p4r6t1v5w0x3y",
"name": "Autoescuela Sol",
"timezone": "Europe/Madrid"
}
}