API reference
Areas
The unit over which libraries, skills and connectors are distributed.
List areas
GET
api.niucore.com/api/v1/areasScope: areas:read
Areas visible to the credential. They are the unit over which libraries, skills and connectors are distributed.
Note
Areas are read-only in v1.0: creating or editing them is organization administration, not automation.
Query
pageintegerdefaults to 1Page number, starting at 1.
sizeintegerdefaults to 50Items per page. Maximum 200.
curl -sS -X GET 'https://api.niucore.com/api/v1/areas' \
-H "Authorization: Bearer $NIUCORE_ACCESS_TOKEN"Response
{
"status": "success",
"message": "Operación exitosa",
"message_code": "api_v1_ok",
"data": [
{
"id": 4,
"name": "Soporte",
"description": "Atención al cliente y postventa.",
"created_at": "2026-02-04T16:20:00Z"
}
],
"meta": {
"request_id": "9f1c0a3e-7b2d-4f18-9a55-2c6e0d1b4a77",
"page": 1,
"size": 50,
"total": 1
}
}Retrieve an area
GET
api.niucore.com/api/v1/areas /{area_id}Scope: areas:read
Detail of one area.
Path
area_idintegerrequiredIdentifier.
Errors
- 404
api_v1_not_foundIt does not exist, or it is outside the credential's scope. Both cases answer the same: a403would confirm the resource exists.
curl -sS -X GET 'https://api.niucore.com/api/v1/areas/4' \
-H "Authorization: Bearer $NIUCORE_ACCESS_TOKEN"Response
{
"status": "success",
"message": "Operación exitosa",
"message_code": "api_v1_ok",
"data": {
"id": 4,
"name": "Soporte",
"description": "Atención al cliente y postventa.",
"created_at": "2026-02-04T16:20:00Z"
},
"meta": {
"request_id": "9f1c0a3e-7b2d-4f18-9a55-2c6e0d1b4a77"
}
}