# EventsSessionsApi

All URIs are relative to *https://admin-api.connected.dev*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**addEventSessionAccount**](#addeventsessionaccount) | **POST** /events/{eventId}/sessions/{sessionId}/accounts/{accountId} | Add a sponsor account to a session|
|[**addEventSessionBlock**](#addeventsessionblock) | **POST** /events/{eventId}/sessions/{sessionId}/blocks/{blockId} | Add a content block to a session|
|[**addEventSessionPassType**](#addeventsessionpasstype) | **POST** /events/{eventId}/sessions/{sessionId}/passTypes/{passTypeId} | Allow a pass type to register for a session|
|[**addEventSessionSpeaker**](#addeventsessionspeaker) | **POST** /events/{eventId}/sessions/{sessionId}/speakers/{speakerId} | Add a speaker to a session|
|[**addEventSessionSponsor**](#addeventsessionsponsor) | **POST** /events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId} | Add a sponsor to a session|
|[**addEventSessionTier**](#addeventsessiontier) | **POST** /events/{eventId}/sessions/{sessionId}/tiers/{tierId} | Allow an account tier to register for a session|
|[**addEventSessionTrack**](#addeventsessiontrack) | **POST** /events/{eventId}/sessions/{sessionId}/tracks/{trackId} | Add a track to a session|
|[**addEventSessionVisiblePassType**](#addeventsessionvisiblepasstype) | **POST** /events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId} | Make a session visible to a pass type|
|[**addEventSessionVisibleTier**](#addeventsessionvisibletier) | **POST** /events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId} | Make a session visible to an account tier|
|[**cloneEventSession**](#cloneeventsession) | **POST** /events/{eventId}/sessions/{sessionId}/clone | Clone a session|
|[**createEventSession**](#createeventsession) | **POST** /events/{eventId}/sessions | Create an event session|
|[**createEventSessionPassTypeAccesses**](#createeventsessionpasstypeaccesses) | **POST** /events/{eventId}/sessions/{sessionId}/bulk-access | Grant session access to every pass of a pass type|
|[**deleteEventSession**](#deleteeventsession) | **DELETE** /events/{eventId}/sessions/{sessionId} | Delete an event session|
|[**getEventSession**](#geteventsession) | **GET** /events/{eventId}/sessions/{sessionId} | Get an event session\&#39;s details|
|[**getEventSessionAccesses**](#geteventsessionaccesses) | **GET** /events/{eventId}/sessions/{sessionId}/accesses | List an event session\&#39;s pass accesses|
|[**getEventSessionAccounts**](#geteventsessionaccounts) | **GET** /events/{eventId}/sessions/{sessionId}/accounts | List accounts associated with an event session|
|[**getEventSessionBlocks**](#geteventsessionblocks) | **GET** /events/{eventId}/sessions/{sessionId}/blocks | List blocks assigned to an event session|
|[**getEventSessionPassTypes**](#geteventsessionpasstypes) | **GET** /events/{eventId}/sessions/{sessionId}/passTypes | List pass types assigned to an event session|
|[**getEventSessionPayments**](#geteventsessionpayments) | **GET** /events/{eventId}/sessions/{sessionId}/payments | List payments made for an event session|
|[**getEventSessionSpeakers**](#geteventsessionspeakers) | **GET** /events/{eventId}/sessions/{sessionId}/speakers | List speakers assigned to an event session|
|[**getEventSessionSponsors**](#geteventsessionsponsors) | **GET** /events/{eventId}/sessions/{sessionId}/sponsors | List sponsors of an event session|
|[**getEventSessionTiers**](#geteventsessiontiers) | **GET** /events/{eventId}/sessions/{sessionId}/tiers | List an event session\&#39;s allowed tiers|
|[**getEventSessionTracks**](#geteventsessiontracks) | **GET** /events/{eventId}/sessions/{sessionId}/tracks | List an event session\&#39;s tracks|
|[**getEventSessionVisiblePassTypes**](#geteventsessionvisiblepasstypes) | **GET** /events/{eventId}/sessions/{sessionId}/visiblePassTypes | List pass types that can view a session|
|[**getEventSessionVisibleTiers**](#geteventsessionvisibletiers) | **GET** /events/{eventId}/sessions/{sessionId}/visibleTiers | List account tiers that can view a session|
|[**getEventSessions**](#geteventsessions) | **GET** /events/{eventId}/sessions | List an event\&#39;s sessions|
|[**removeEventSessionAccount**](#removeeventsessionaccount) | **DELETE** /events/{eventId}/sessions/{sessionId}/accounts/{accountId} | Remove an account from a session|
|[**removeEventSessionBlock**](#removeeventsessionblock) | **DELETE** /events/{eventId}/sessions/{sessionId}/blocks/{blockId} | Remove a content block from a session|
|[**removeEventSessionPassType**](#removeeventsessionpasstype) | **DELETE** /events/{eventId}/sessions/{sessionId}/passTypes/{passTypeId} | Remove a pass type from a session|
|[**removeEventSessionSpeaker**](#removeeventsessionspeaker) | **DELETE** /events/{eventId}/sessions/{sessionId}/speakers/{speakerId} | Remove a speaker from a session|
|[**removeEventSessionSponsor**](#removeeventsessionsponsor) | **DELETE** /events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId} | Remove a sponsor from a session|
|[**removeEventSessionTier**](#removeeventsessiontier) | **DELETE** /events/{eventId}/sessions/{sessionId}/tiers/{tierId} | Remove a tier from a session|
|[**removeEventSessionTrack**](#removeeventsessiontrack) | **DELETE** /events/{eventId}/sessions/{sessionId}/tracks/{trackId} | Remove a track from a session|
|[**removeEventSessionVisiblePassType**](#removeeventsessionvisiblepasstype) | **DELETE** /events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId} | Remove a visible pass type from a session|
|[**removeEventSessionVisibleTier**](#removeeventsessionvisibletier) | **DELETE** /events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId} | Remove a visible tier from a session|
|[**updateEventSession**](#updateeventsession) | **PUT** /events/{eventId}/sessions/{sessionId} | Update an event session|

# **addEventSessionAccount**
> CreateEventSession200Response addEventSessionAccount()

Attaches an account as a sponsor of the given event session, returning the updated session; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let accountId: string; //The account identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionAccount(
    eventId,
    sessionId,
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **accountId** | [**string**] | The account identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionBlock**
> CreateEventSession200Response addEventSessionBlock()

Attaches an existing content block to the given event session, returning the updated session; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let blockId: string; //The block identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionBlock(
    eventId,
    sessionId,
    blockId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **blockId** | [**string**] | The block identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionPassType**
> CreateEventSession200Response addEventSessionPassType()

Adds the specified pass type to the event session\'s list of allowed pass types, permitting attendees holding that pass type to register for the session; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionPassType(
    eventId,
    sessionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionSpeaker**
> CreateEventSession200Response addEventSessionSpeaker()

Attaches the specified speaker to the given event session so they appear as a presenter on the session; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let speakerId: string; //The speaker identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionSpeaker(
    eventId,
    sessionId,
    speakerId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **speakerId** | [**string**] | The speaker identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionSponsor**
> CreateEventSession200Response addEventSessionSponsor()

Attaches the specified account as a sponsor of the given event session; requires update permission on both events and accounts.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let sponsorId: string; //The sponsor identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionSponsor(
    eventId,
    sessionId,
    sponsorId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **sponsorId** | [**string**] | The sponsor identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionTier**
> CreateEventSession200Response addEventSessionTier()

Adds the specified account tier to the event session\'s list of allowed tiers, permitting accounts in that tier to register for the session; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionTier(
    eventId,
    sessionId,
    tierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionTrack**
> CreateEventSession200Response addEventSessionTrack()

Attaches the specified track to the given event session so the session is categorized under that track; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let trackId: string; //The track identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionTrack(
    eventId,
    sessionId,
    trackId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **trackId** | [**string**] | The track identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionVisiblePassType**
> CreateEventSession200Response addEventSessionVisiblePassType()

Adds the specified pass type to the event session\'s list of visible pass types, allowing attendees holding that pass type to see the session on the schedule even if they cannot register for it; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionVisiblePassType(
    eventId,
    sessionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **addEventSessionVisibleTier**
> CreateEventSession200Response addEventSessionVisibleTier()

Adds the specified account tier to the event session\'s list of visible tiers, allowing accounts in that tier to see the session on the schedule even if they cannot register for it; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionVisibleTier(
    eventId,
    sessionId,
    tierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **cloneEventSession**
> SyncAccounts200Response cloneEventSession(eventSessionCloneOptions)

Creates a duplicate of the specified event session, copying its details, speakers, tracks, sponsors, allowed and visible pass types/tiers, price overrides, translations, sections, and questions, optionally overriding the new session\'s name and start time; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration,
    EventSessionCloneOptions
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let eventSessionCloneOptions: EventSessionCloneOptions; //

const { status, data } = await apiInstance.cloneEventSession(
    eventId,
    sessionId,
    eventSessionCloneOptions
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionCloneOptions** | **EventSessionCloneOptions**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**SyncAccounts200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createEventSession**
> CreateEventSession200Response createEventSession(eventSessionCreateInputs)

Creates a new session on the specified event using the provided session details, generating a unique slug from its name; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration,
    EventSessionCreateInputs
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let eventSessionCreateInputs: EventSessionCreateInputs; //

const { status, data } = await apiInstance.createEventSession(
    eventId,
    eventSessionCreateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionCreateInputs** | **EventSessionCreateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **createEventSessionPassTypeAccesses**
> CreateAccountInvitations200Response createEventSessionPassTypeAccesses(createEventSessionPassTypeAccessesRequest)

Queues a background job that gives every ready or needsInfo pass of the specified pass type access to the session. Passes that already hold access are skipped and ones whose access was canceled are left alone, but a draft access is promoted to ready unless it belongs to an open checkout. Returns as soon as the job is queued, without waiting for it; requires update permission on attendees.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration,
    CreateEventSessionPassTypeAccessesRequest
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let createEventSessionPassTypeAccessesRequest: CreateEventSessionPassTypeAccessesRequest; //

const { status, data } = await apiInstance.createEventSessionPassTypeAccesses(
    eventId,
    sessionId,
    createEventSessionPassTypeAccessesRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **createEventSessionPassTypeAccessesRequest** | **CreateEventSessionPassTypeAccessesRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**CreateAccountInvitations200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deleteEventSession**
> CreateAccountInvitations200Response deleteEventSession()

Permanently deletes the specified session from the given event; requires update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventSession(
    eventId,
    sessionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**CreateAccountInvitations200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSession**
> CreateEventSession200Response getEventSession()

Returns the full details of a single session belonging to the given event, identified by session ID or slug; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)

const { status, data } = await apiInstance.getEventSession(
    eventId,
    sessionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionAccesses**
> GetEventPassAccesses200Response getEventSessionAccesses()

Returns a paginated list of pass accesses (attendee entitlements) for the given event session, optionally filtered by purchase status, search, and ordering; requires read permission on events and attendees.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let purchaseStatus: PurchaseStatus; //Filter by purchaseStatus (optional) (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionAccesses(
    eventId,
    sessionId,
    purchaseStatus,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **purchaseStatus** | **PurchaseStatus** | Filter by purchaseStatus | (optional) defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventPassAccesses200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionAccounts**
> GetAccounts200Response getEventSessionAccounts()

Returns a paginated list of accounts linked to the given event session, with support for search and ordering.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionAccounts(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetAccounts200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionBlocks**
> GetEventBlocks200Response getEventSessionBlocks()

Returns a paginated list of content blocks assigned to the given event session, with support for search and ordering; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionBlocks(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventBlocks200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionPassTypes**
> GetEventAddOnPassTypes200Response getEventSessionPassTypes()

Returns a paginated list of pass types (tickets) that grant access to the given event session, with support for search and ordering; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionPassTypes(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventAddOnPassTypes200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionPayments**
> GetAccountPayments200Response getEventSessionPayments()

Returns a paginated list of payments tied to the given event session, with support for search (by payer email or name) and ordering; requires read permission on events and payments.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionPayments(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetAccountPayments200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionSpeakers**
> GetEventSessionSpeakers200Response getEventSessionSpeakers()

Returns a paginated list of speakers assigned to the given event session, with support for search (name, bio, company) and ordering; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionSpeakers(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventSessionSpeakers200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionSponsors**
> GetAccounts200Response getEventSessionSponsors()

Returns a paginated list of accounts sponsoring the given event session, either directly or through a sponsored track that includes the session, with support for search and ordering; requires read permission on events and accounts.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionSponsors(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetAccounts200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionTiers**
> GetAccountTiers200Response getEventSessionTiers()

Returns the paginated list of account tiers permitted to register for or access the given event session, optionally filtered by a search term; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionTiers(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetAccountTiers200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionTracks**
> GetEventSessionTracks200Response getEventSessionTracks()

Returns the paginated list of tracks associated with the given event session, optionally filtered by a search term matching the track name or description; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionTracks(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventSessionTracks200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionVisiblePassTypes**
> GetEventAddOnPassTypes200Response getEventSessionVisiblePassTypes()

Returns the paginated list of pass types (tickets) for which the given event session is visible on the schedule, optionally filtered by a search term matching the pass type name or description; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionVisiblePassTypes(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventAddOnPassTypes200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessionVisibleTiers**
> GetAccountTiers200Response getEventSessionVisibleTiers()

Returns the paginated list of account tiers for which the given event session is visible on the schedule, optionally filtered by a search term matching the tier name; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessionVisibleTiers(
    eventId,
    sessionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetAccountTiers200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getEventSessions**
> GetEventActivationSessions200Response getEventSessions()

Returns a paginated list of sessions belonging to the given event, with support for search and ordering; requires read permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventSessions(
    eventId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventActivationSessions200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionAccount**
> CreateEventSession200Response removeEventSessionAccount()

Disassociates an account from an event session, removing it from the session\'s list of related accounts.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let accountId: string; //The account identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionAccount(
    eventId,
    sessionId,
    accountId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **accountId** | [**string**] | The account identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionBlock**
> CreateEventSession200Response removeEventSessionBlock()

Detaches a content block from an event session, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let blockId: string; //The block identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionBlock(
    eventId,
    sessionId,
    blockId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **blockId** | [**string**] | The block identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionPassType**
> CreateEventSession200Response removeEventSessionPassType()

Removes a pass type from an event session\'s list of allowed pass types, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionPassType(
    eventId,
    sessionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionSpeaker**
> CreateEventSession200Response removeEventSessionSpeaker()

Disassociates a speaker from an event session, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let speakerId: string; //The speaker identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionSpeaker(
    eventId,
    sessionId,
    speakerId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **speakerId** | [**string**] | The speaker identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionSponsor**
> CreateEventSession200Response removeEventSessionSponsor()

Disassociates a sponsoring account from an event session, requiring the update permission on both events and accounts.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let sponsorId: string; //The sponsor identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionSponsor(
    eventId,
    sessionId,
    sponsorId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **sponsorId** | [**string**] | The sponsor identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionTier**
> CreateEventSession200Response removeEventSessionTier()

Removes a registration tier from an event session\'s list of allowed tiers, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionTier(
    eventId,
    sessionId,
    tierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionTrack**
> CreateEventSession200Response removeEventSessionTrack()

Disassociates a track from an event session, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let trackId: string; //The track identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionTrack(
    eventId,
    sessionId,
    trackId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **trackId** | [**string**] | The track identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionVisiblePassType**
> CreateEventSession200Response removeEventSessionVisiblePassType()

Removes a pass type from the list of pass types that can see an event session, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionVisiblePassType(
    eventId,
    sessionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **removeEventSessionVisibleTier**
> CreateEventSession200Response removeEventSessionVisibleTier()

Removes a registration tier from the list of tiers that can see an event session, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionVisibleTier(
    eventId,
    sessionId,
    tierId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateEventSession**
> CreateEventSession200Response updateEventSession(eventSessionUpdateInputs)

Updates the details of an event session such as its name, description, timing, location, and activation link, requiring the update permission on events.

### Example

```typescript
import {
    EventsSessionsApi,
    Configuration,
    EventSessionUpdateInputs
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new EventsSessionsApi(configuration);

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let eventSessionUpdateInputs: EventSessionUpdateInputs; //

const { status, data } = await apiInstance.updateEventSession(
    eventId,
    sessionId,
    eventSessionUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionUpdateInputs** | **EventSessionUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**CreateEventSession200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

