Skip to main content
Access Spaces endpoints via client.Spaces (SpacesClient).

Methods

GetBuyersAsync

GET /2/spaces/{id}/buyers Paginated Get Space Ticket Buyers Retrieves a list of Users who purchased tickets to a specific Space by its ID.

Parameters

string
required
id (path parameter).
Returns: Task<GetSpacesBuyersResponse> (use GetBuyersPages(...) for IAsyncEnumerable page iteration)

GetByCreatorIdsAsync

GET /2/spaces/by/creator_ids Get Spaces by Creator IDs Retrieves details of Spaces created by specified User IDs.

Parameters

List<string>
required
user_ids (query parameter).
Returns: Task<GetSpacesByCreatorIdsResponse>

GetByIdAsync

GET /2/spaces/{id} Get Space by ID Retrieves details of a specific Space by its ID.

Parameters

string
required
id (path parameter).
Returns: Task<GetSpacesByIdResponse>

GetByIdsAsync

GET /2/spaces Get Spaces by IDs Retrieves details of multiple Spaces by their IDs.

Parameters

List<string>
required
ids (query parameter).
Returns: Task<GetSpacesByIdsResponse>

GetPostsAsync

GET /2/spaces/{id}/tweets Paginated Get Space Posts Retrieves a list of Posts shared in a specific Space by its ID.

Parameters

string
required
id (path parameter).
Returns: Task<GetSpacesPostsResponse> (use GetPostsPages(...) for IAsyncEnumerable page iteration)

SearchAsync

GET /2/spaces/search Search Spaces Retrieves a list of Spaces matching the specified search query.

Parameters

string
required
query (query parameter).
Returns: Task<SearchSpacesResponse>