Retrieve all grades for the current account, including their associated sections, ordered by level.
GET
bearerAuthheader
AutorizaciónBearer <token>Your API key, created in Configuración → Claves API. The key alone, without the Bearer prefix, is accepted too.
Successful response
application/json- response
[index: integer]?curl -X GET 'https://api.unopago.com/v1/grades'Ejemplo de respuesta
[ { "id": "string", "accountId": "string", "name": "string", "description": "string", "level": -9007199254740991, "createdAt": "string", "updatedAt": "string", "sections": [ { "id": "string", "name": "string", "accountId": "string", "gradeId": "string", "createdAt": "string", "updatedAt": "string" } ] }]
