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

Methods

getBuyers

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: Schemas.GetSpacesBuyersResponse (use getBuyersPages(...) for automatic Paginator<...> iteration)

getByCreatorIds

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: Schemas.GetSpacesByCreatorIdsResponse

getById

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

Parameters

String
required
id (path parameter).
Returns: Schemas.GetSpacesByIdResponse

getByIds

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

Parameters

List<String>
required
ids (query parameter).
Returns: Schemas.GetSpacesByIdsResponse

getPosts

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: Schemas.GetSpacesPostsResponse (use getPostsPages(...) for automatic Paginator<...> iteration)
GET /2/spaces/search Search Spaces Retrieves a list of Spaces matching the specified search query.

Parameters

String
required
query (query parameter).
Returns: Schemas.SearchSpacesResponse