English
Documentation
How to use the Orkeia AI platform
Creates a new sector.
POST https://gateway.orkeia.ai/sectors
authorization: <your_token>
The service receives a wrapper with the property sector.
sector
{ "sector": { "name": "HR", "description": "Human Resources Department" } }
curl -X POST "https://gateway.orkeia.ai/sectors" -H "authorization: <your_token>" -H "Content-Type: application/json" -d '{ "sector": { "name": "HR", "description": "Human Resources Department" } }'
{ "status": "OK", "data": { "id": "SECTOR_123456" } }
{ "status": "ERROR", "code": "server/error", "data": null }
{ "status": "ERROR", "code": "client/error", "data": null }
Was this page helpful?