# Sage HR

> Sync active employee directories, teams and job positions with onboarding systems. Read-only beta integration.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/sage-hr

## Actions

### List active employees

List active employees using the documented API. Returns one page; use the pagination fields to continue.

**Inputs**

- Page (`page`, number): Page index; first page is 1. At least 1.

**Outputs**

- `data` (object): The response from Sage HR.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "email": "employee@example.com",
        "first_name": "Example",
        "id": 1,
        "last_name": "Employee"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 50,
      "total_entries": 1,
      "total_pages": 1
    }
  }
}
```

### List positions

List positions using the documented API. Returns one page; use the pagination fields to continue.

**Inputs**

- Page (`page`, number): Page index; first page is 1. At least 1.

**Outputs**

- `data` (object): The response from Sage HR.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "code": "ENG",
        "id": 1,
        "title": "Engineer"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 50,
      "total_entries": 1,
      "total_pages": 1
    }
  }
}
```

### List teams

List teams using the documented API. Returns one page; use the pagination fields to continue.

**Inputs**

- Page (`page`, number): Page index; first page is 1. At least 1.

**Outputs**

- `data` (object): The response from Sage HR.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "employee_ids": [
          1
        ],
        "id": 1,
        "manager_ids": [
          2
        ],
        "name": "Operations"
      }
    ],
    "meta": {
      "current_page": 1,
      "per_page": 50,
      "total_entries": 1,
      "total_pages": 1
    }
  }
}
```
