> ## 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.

# Get Me Hubs

> Return all hubs the current contact can access.

Default: every active hub across all the contact's teams (Discord-style).
Pass ?team_id={uuid} to filter to a single team. 403 if the contact is
not a member of that team.

JSON:API envelope with resource type "hubs". No pagination.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/contact-auth/me/hubs
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/contact-auth/me/hubs:
    get:
      tags:
        - contact-auth
      summary: Get Me Hubs
      description: >-
        Return all hubs the current contact can access.


        Default: every active hub across all the contact's teams
        (Discord-style).

        Pass ?team_id={uuid} to filter to a single team. 403 if the contact is

        not a member of that team.


        JSON:API envelope with resource type "hubs". No pagination.
      operationId: contact_auth.get_contact_auth_get_contact_auth_me_hubs
      parameters:
        - description: Optional team_id filter
          in: query
          name: team_id
          required: false
          schema:
            anyOf:
              - pattern: >-
                  ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
                type: string
              - type: 'null'
            description: Optional team_id filter
            title: Team Id
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HubMeListResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HubMeListResponse:
      additionalProperties: false
      description: JSON:API collection envelope for GET /me/hubs.
      properties:
        data:
          items:
            $ref: '#/components/schemas/HubMeResource'
          title: Data
          type: array
      required:
        - data
      title: HubMeListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    HubMeResource:
      additionalProperties: false
      description: JSON:API resource object for a hub in GET /me/hubs.
      properties:
        attributes:
          $ref: '#/components/schemas/HubMeAttributes'
        id:
          title: Id
          type: string
        type:
          const: hubs
          default: hubs
          title: Type
          type: string
      required:
        - id
        - attributes
      title: HubMeResource
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    HubMeAttributes:
      additionalProperties: false
      description: Attributes block for the `hubs` resource inside GET /me/hubs.
      properties:
        branding:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Branding
        is_private:
          title: Is Private
          type: boolean
        slug:
          title: Slug
          type: string
        team_id:
          title: Team Id
          type: string
        title:
          title: Title
          type: string
      required:
        - team_id
        - title
        - slug
        - is_private
        - branding
      title: HubMeAttributes
      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

````