Skip to main content
POST
/
sectors

Endpoint

POST https://gateway.orkeia.ai/sectors Authentication
Requires header authorization: <your_token>.

Request Body (JSON)

The service receives a wrapper with the property sector.
{
  "sector": {
    "name": "HR",
    "description": "Human Resources Department"
  }
}

Example (cURL)

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"
    }
  }'

Responses

Response - Success

response
{
  "status": "OK",
  "data": { "id": "SECTOR_123456" }
}

500 — Server Error

{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}

400 — Client Error

{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}