Operators
Get Operator
Get a single operator by ID.
GET /api/operators/:id
Returns a single operator with its details.
Auth: Required — MANAGE_OPERATORS permission
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | UUID | Operator ID |
Example
curl https://api.reten.ai/api/operators/cc0e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer <token>" \
-H "x-tenant-id: <tenant-id>"import axios from 'axios';
const response = await axios.get(
'https://api.reten.ai/api/operators/cc0e8400-e29b-41d4-a716-446655440000',
{
headers: {
Authorization: 'Bearer <token>',
'x-tenant-id': '<tenant-id>',
},
}
);Response 200 OK
{
"id": "cc0e8400-e29b-41d4-a716-446655440000",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+56912345678",
"type": "SALESMAN",
"externalId": "emp-001",
"isActive": true,
"isPlaceholder": false,
"metadata": {},
"createdAt": "2025-01-15T10:30:00.000Z",
"updatedAt": "2025-01-15T10:30:00.000Z"
}Error Responses
| Status | Description |
|---|---|
404 | Operator not found |