API v1 (1.0.0)Guides
Authentication
Every call carries the school API key, created in the dashboard settings, in the Authorization header. The Bearer prefix is optional.
GET /api/v1/usuario
Host: yourschool.cademi.com.br
Authorization: Bearer 4cc58d97-14c2-406f-a8c5-1ebb8e05696dThe key identifies the school: it answers for that school's data on any Cademí address. It is valid for the whole school, with no per-integration permissions. Deleting it in the dashboard revokes it immediately.
Without the header, or with a key that does not exist or was deleted, the answer is HTTP 401:
{ "code": 401, "success": false, "message": " Invalid api key" }Keys of API v3 do not work here, and v1/v2 keys do not work on v3.