> ## Documentation Index
> Fetch the complete documentation index at: https://docs.member.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hub Activity

> All-history joined/posted/paid events for live, visible same-team actors.

Restricted spaces are included for owners, team admins and full-access keys. No post bodies,
email addresses, payment amounts or provider identifiers are returned.
All persisted qualifying payments count; ingress separates live/test data.
Imported or mixed historical rows cannot reliably be separated by mode.
Cursors are transient and clients must not persist them.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/hubs/{hub_id}/activity
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/teams/{team_id}/hubs/{hub_id}/activity:
    get:
      tags:
        - dashboards
      summary: Hub Activity
      description: >-
        All-history joined/posted/paid events for live, visible same-team
        actors.


        Restricted spaces are included for owners, team admins and full-access
        keys. No post bodies,

        email addresses, payment amounts or provider identifiers are returned.

        All persisted qualifying payments count; ingress separates live/test
        data.

        Imported or mixed historical rows cannot reliably be separated by mode.

        Cursors are transient and clients must not persist them.
      operationId: dashboards.get_dashboards_get_teams_by_team_id_hubs_by_hub_id_activity
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: query
          name: page[size]
          required: false
          schema:
            anyOf:
              - maximum: 100
                minimum: 1
                type: integer
              - type: 'null'
            title: Page[Size]
        - in: query
          name: page[after]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Page[After]
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ActivityResponse'
          description: Successful Response
        '401':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Not authenticated
        '403':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Forbidden
        '404':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Resource not found
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Invalid period, cursor or size
      security:
        - HTTPBearer: []
components:
  schemas:
    ActivityResponse:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/EventResource'
          title: Data
          type: array
        links:
          $ref: '#/components/schemas/Links'
        meta:
          $ref: '#/components/schemas/Meta'
      required:
        - data
        - meta
        - links
      title: ActivityResponse
      type: object
    JsonApiErrorResponse:
      description: Error JSON:API response.
      properties:
        errors:
          items:
            $ref: '#/components/schemas/JsonApiError'
          title: Errors
          type: array
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - errors
      title: JsonApiErrorResponse
      type: object
    EventResource:
      additionalProperties: false
      properties:
        attributes:
          $ref: '#/components/schemas/EventAttributes'
        id:
          title: Id
          type: string
        type:
          const: hub_activity_events
          default: hub_activity_events
          title: Type
          type: string
      required:
        - id
        - attributes
      title: EventResource
      type: object
    Links:
      additionalProperties: false
      properties:
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        self:
          title: Self
          type: string
      required:
        - self
        - next
      title: Links
      type: object
    Meta:
      additionalProperties: false
      properties:
        page:
          $ref: '#/components/schemas/PageMeta'
      required:
        - page
      title: Meta
      type: object
    JsonApiError:
      properties:
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        source:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Source
        status:
          title: Status
          type: string
        title:
          title: Title
          type: string
      required:
        - status
        - title
      title: JsonApiError
      type: object
    EventAttributes:
      additionalProperties: false
      properties:
        actor_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Actor Name
        contact_id:
          title: Contact Id
          type: string
        event_kind:
          enum:
            - joined
            - posted
            - paid
          title: Event Kind
          type: string
        hub_id:
          title: Hub Id
          type: string
        occurred_at:
          title: Occurred At
          type: string
        subject_id:
          title: Subject Id
          type: string
        subject_kind:
          enum:
            - hub_membership
            - discussion
            - content_node
            - payment
          title: Subject Kind
          type: string
      required:
        - event_kind
        - occurred_at
        - hub_id
        - contact_id
        - actor_name
        - subject_kind
        - subject_id
      title: EventAttributes
      type: object
    PageMeta:
      additionalProperties: false
      properties:
        has_more:
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        size:
          maximum: 100
          minimum: 1
          title: Size
          type: integer
      required:
        - size
        - has_more
        - next_cursor
      title: PageMeta
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.