API v1 (1.0.0)ReferenceUsers

Set the tags of many students

POST/usuario/atualizar_tag_lote

Sets the tags of each student in the list, found by email. Tags the student has but are not in the list are removed; tags that do not exist are created. An item with no tags leaves the student unchanged.

AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/usuario/atualizar_tag_lote" \  -H "Content-Type: application/json" \  -d '[    {      "email": "[email protected]",      "tags": "string"    }  ]'
{  "code": 200,  "success": true,  "data": {    "property1": {      "msg": "ok",      "uid": 0    },    "property2": {      "msg": "ok",      "uid": 0    }  }}