# sendings_links (records)

| Required permit | Rate limit tokens cost |
| --- | --- |
| Reporting:Api:Report:SendingsLinks | 3 |

This report allows you to get information about performance of links which were sent within sendings in your loyalty club.


## Fields

### loyalty_club_id

| Type | Filterable | Can change? |
| --- | --- | --- |
| Integer | <Icon icon="material-outline-done"/> (via `X-Customer` header) | <Icon icon="material-outline-highlight_off"/> |

ID of loyalty club.

### source_id

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-done"/> | <Icon icon="material-outline-highlight_off"/> |

Source_id defines from which place the sending was sent.

It can take two forms:

| Form | What is it? | When? |
| --- | --- | --- |
| stringified number | `reporting_id` of sending | Always when `reporting_id` is present on sending. It's always set e.g. in campaign or triggered sendings. |
| text value | service_type of sending | When `reporting_id` is empty |


### host

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Host of tracked URL.

### path

| Type | Filterable | Can change? |
| --- | --- | --- |
| Enum | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Path of tracked URL.

### utm_campaign

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Value of utm_campaign query param.

### utm_content

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Value of utm_content query param.

### utm_medium

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Value of utm_medium query param.

### utm_source

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Value of utm_source query param.

### utm_term

| Type | Filterable | Can change? |
| --- | --- | --- |
| String | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-highlight_off"/> |

Value of utm_term query param.

### visits_count

| Type | Filterable | Can change? |
| --- | --- | --- |
| Integer | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-done"/> |

Number of how many times link was resolved.

Visits done by bots are not included.

### unique_visits_count

| Type | Filterable | Can change? |
| --- | --- | --- |
| Integer | <Icon icon="material-outline-highlight_off"/> | <Icon icon="material-outline-done"/> |

Number of how many members visited the link.

Visits done by bots are not included.


## Query without aggregations

Query returns list of sendings.

```json
{
    "records": [
        {
            "loyalty_club_id": 42,
            "source_id": "7383",
            "host": "example.com",
            "path": "/an_example",
            "utm_campaign": null,
            "utm_content": null,
            "utm_medium": null,
            "utm_source": null,
            "utm_term": null,
            "visits_count": 8925,
            "unique_visits_count": 191
        }
    ],
    "pagination": {
        "next_page_info": "KgkRAAAAAHP-M0E"
    },
    "result_type": "records"
}
```
