# Polar AccessLink

> Read training sessions, sleep, daily activity and devices from Polar Flow.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/polar-accesslink

## Actions

### Get account profile

Read the profile for the connected Polar Flow account.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "accountData": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List activity days

Find days with activity data between two dates.

**Inputs**

- Start date (`start_date`, date, required): First day to include.
- End date (`end_date`, date, required): First day to exclude.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "activities": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List calendar training targets

Read training targets scheduled between two dates.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "trainingTarget": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List devices

Read the Polar devices linked to the account.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "devicesData": [],
    "userDevicesData": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List favorite training targets

Read favorite training targets from Polar Flow.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "favoriteTarget": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sleep days

Find nights with recorded sleep data.

**Inputs**

- Start date (`start_date`, date, required): First day to include.
- End date (`end_date`, date, required): First day to exclude.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "nightSleeps": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sport profile catalog

Read the supported sport profiles from Polar.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "catalog": {}
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sport profiles

Read the connected athlete’s sport profiles.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "profiles": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List sports

Read the sports available in Polar Flow.

**Inputs**: None.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "sports": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List training sessions

Read recorded training sessions between two dates.

**Inputs**

- Start date (`start_date`, date, required): First day to include.
- End date (`end_date`, date, required): First day to exclude.

**Outputs**

- `data` (object): Data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value for the next page, when available.

**Example output**

```json
{
  "data": {
    "trainingSessions": []
  },
  "has_more": false,
  "next_cursor": null
}
```
