---
title: "List all events"
url: "https://docs.unified.to/clubs/event/List_all_events"
description: "API reference for List all events. Launch multiple pre-built Event integrations today with zero maintenance — all through a single API."
generated_at: "2026-06-03T20:56:50.544Z"
---
# List all events

 GET/clubs/{connection\_id}/event

## Parameters

**limit**number  default=100

**offset**number  default=0

**updated\_gte**date 

Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**sort** enum

name

updated\_at

created\_at

**order** enum

asc

desc

**query**string 

Query string to search. eg. email address or name

**group\_id**string 

The group ID to filter by (reference to HrisGroup)

**fields**string array 

id

created\_at

updated\_at

group\_id

name

description

type

status

start\_at

end\_at

timezone

duration\_minutes

location\_id

location\_name

opponent\_id

opponent\_name

home\_team\_name

away\_team\_name

home\_score

away\_score

score\_for

score\_against

is\_home

url

raw

Fields to return

**raw**string 

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

**connection\_id**string  required 

ID of the connection

## Returns

[ClubsEvent](/clubs/event/model)array

(home-vs-away competitors with scores). Distinct from the fitness-oriented IClubsActivity.

**id**string 

Unique identifier for this event

**created\_at**date 

The date that this event was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**updated\_at**date 

The last date that this event was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**group\_id**string 

The group this event belongs to (reference to HrisGroup)

**name**string 

The event name (or a "Home vs Away" matchup label)

**description**string 

A description or notes for the event

**type** enum

Valid values:

 "GAME" 

 "PRACTICE" 

 "OTHER" 

The event type

**status** enum

Valid values:

 "SCHEDULED" 

 "CANCELED" 

 "TBD" 

 "FINAL" 

The event status

**start\_at**date 

When the event starts (UTC) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**end\_at**date 

When the event ends (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

**timezone**string 

The timezone of the event

**duration\_minutes**number 

The scheduled duration, in minutes

**location\_id**string 

The id of the location for this event

**location\_name**string 

The name of the location for this event

**opponent\_id**string 

The id of the opposing team (single-opponent providers)

**opponent\_name**string 

The name of the opposing team

**home\_team\_name**string 

The home team's name (homeaway providers)

**away\_team\_name**string 

The away team's name (homeaway providers)

**home\_score**number 

The home team's score

**away\_score**number 

The away team's score

**score\_for**number 

The connected groupteam's score (team-vs-opponent providers)

**score\_against**number 

The opponent's score (team-vs-opponent providers)

**is\_home**boolean 

Whether the connected groupteam is the home side

**url**string 

A URL to the event

**raw**any 

The raw data returned by the integration for this event

## Code Samples

### Node.js SDK

```
import { UnifiedTo } from '@unified-api/typescript-sdk';

const sdk = new UnifiedTo({
    security: {
        jwt: '<YOUR_API_KEY_HERE>',
    },
});

const connectionId = '5de520f96e439b002043d8dc';

const results = await sdk.clubs.listClubsEvents({ connectionId, 
    limit: 50,
    offset: 0,
    updated_gte: '2026-06-03T20:53:21.274Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    group_id: '',
    fields: '',
    raw: '',
 });
```

### Node.js (axios)

```
const options = {
  method: 'GET',
  url: 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/event',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    limit: 50,
    offset: 0,
    updated_gte: '2026-06-03T20:53:21.274Z',
    sort: 'updated_at',
    order: 'asc',
    query: '',
    group_id: '',
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
```

### Java

```
AsyncHttpClient client = new DefaultAsyncHttpClient();

client.prepare("GET", "https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw=")
  .setHeader("accept", "application/json")
  .setHeader("authorization", ".....")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
```

### Go

```
import (
	"fmt"
	"net/http"
	"io/ioutil"
)

url := `https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw=

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("accept", "application/json")
req.Header.Add("authorization", ".....")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
```

### Python

```
import requests

url = "https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw="

headers = {
    "accept": "application/json",
    "authorization": "....."
}

response = requests.get(url, headers=headers)
```

### PHP

```
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw=",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "accept: application/json",
    "authorization: ....."
  ],
]);
```

### Ruby

```
require 'uri'
require 'net/http'
require 'openssl'

url = URI("https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw=")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = 'application/json'
request["authorization"] = '....'

response = http.request(request)
puts response.read_body
```

### cURL

```
curl --request GET \
  --url 'https://api.unified.to/clubs/5de520f96e439b002043d8dc/event?limit=50&offset=0&updated_gte=2026-06-03T20:53:21.274Z&sort=updated_at&order=asc&query=&group_id=&fields=&raw=' \
  --header 'accept: application/json' \
  --header 'authorization: .....'
```
