API v1 (1.0.0)ReferenceUsers

Retrieve the access of a student

GET/usuario/acesso/{usuario_email_id}

Retrieves a student and their access to each product, ordered by product name.

AuthorizationBearer <token>

The school API key, found in the dashboard settings, sent in the Authorization header. The Bearer prefix is optional.

In: header

Path Parameters

usuario_email_id*string

The student, by ID, email or document (CPF). A value that is a valid email is looked up by email; otherwise the digits are matched against the ID and the document.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/usuario/acesso/string"
{  "code": 200,  "success": true,  "data": {    "acesso": [      {        "comecou_em": "2019-08-24T14:15:22Z",        "duracao": 0,        "duracao_tipo": "string",        "encerra_em": "2019-08-24T14:15:22Z",        "encerrado": true,        "produto": {          "id": 0,          "nome": "string",          "oferta_url": "string",          "ordem": 0        }      }    ],    "usuario": {      "cargo": "string",      "celular": "string",      "comecou_em": "2019-08-24T14:15:22Z",      "criado_em": "2019-08-24T14:15:22Z",      "doc": "string",      "email": "string",      "gratis": true,      "id": 0,      "login_auto": "http://example.com",      "login_crstk": "string",      "nome": "string",      "nome_empresa": "string",      "pontos": 0,      "tamanho_empresa": "string",      "ultimo_acesso_em": "2019-08-24T14:15:22Z",      "utm": {        "adcampaign": "string",        "adid": "string",        "fbclid": "string",        "gclid": "string",        "groupid": "string",        "page_name": "string",        "utm_content": "string",        "utm_medium": "string",        "utm_source": "string",        "utm_term": "string"      }    }  }}