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

# List Drip Campaigns



## OpenAPI

````yaml /openapi/mio-openapi.json get /v1/hubs/{hub_id}/drip-campaigns
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:
  /v1/hubs/{hub_id}/drip-campaigns:
    get:
      tags:
        - drip-campaigns
      summary: List Drip Campaigns
      operationId: drip_campaigns.get_drip_campaigns_get_v1_hubs_by_hub_id_drip_campaigns
      parameters:
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: query
          name: page[size]
          required: false
          schema:
            default: 20
            maximum: 100
            minimum: 1
            title: Page[Size]
            type: integer
        - 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/JsonApiListResponse_DripCampaignOut_'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    JsonApiListResponse_DripCampaignOut_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/JsonApiResource_DripCampaignOut_'
          title: Data
          type: array
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiPaginationLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: JsonApiListResponse[DripCampaignOut]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_DripCampaignOut_:
      properties:
        attributes:
          $ref: '#/components/schemas/DripCampaignOut'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[DripCampaignOut]
      type: object
    JsonApiPaginationLinks:
      properties:
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiPaginationLinks
      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
    DripCampaignOut:
      description: |-
        Attributes block for a ``drip_campaigns`` resource object.

        Mirrors the flat dict returned by DripService.create_campaign /
        get_campaign / update_campaign / activate_campaign / pause_campaign.
      properties:
        allow_reenrollment:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Allow Reenrollment
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        deleted_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Deleted At
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        enrollment_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Enrollment Mode
        hub_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Hub Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        next_segment_check_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Segment Check At
        segment_check_interval_minutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Segment Check Interval Minutes
        segment_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Segment Id
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Id
        trigger_event_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Trigger Event Type
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      title: DripCampaignOut
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      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

````