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

# Retry Failed Enrollments

> Retry at most 50 failed enrollments per call, including skipped rows.

Optional meta.step_id must belong to the campaign. has_more indicates
additional failed rows beyond this batch; fix or skip persistent failures
before retrying a batch that is wholly blocked.



## OpenAPI

````yaml /openapi/mio-openapi.json post /v1/hubs/{hub_id}/drip-campaigns/{campaign_id}/enrollments/retry-failed
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/{campaign_id}/enrollments/retry-failed:
    post:
      tags:
        - drip-campaigns
      summary: Retry Failed Enrollments
      description: >-
        Retry at most 50 failed enrollments per call, including skipped rows.


        Optional meta.step_id must belong to the campaign. has_more indicates

        additional failed rows beyond this batch; fix or skip persistent
        failures

        before retrying a batch that is wholly blocked.
      operationId: >-
        drip_campaigns.post_drip_campaigns_post_v1_hubs_by_hub_id_drip_campaigns_by_campaign_id_enrollments_retry_failed
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            title: Campaign Id
            type: string
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: header
          name: X-Team-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Team-Id
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/DripRetryFailedRequest'
                - type: 'null'
              title: Body
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/DripRetryFailedResponse'
          description: Successful Response
        '409':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Campaign or enrollment state conflict
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    DripRetryFailedRequest:
      additionalProperties: false
      description: >-
        Optional JSON:API meta-only request; omit body to retry all failed
        steps.
      properties:
        meta:
          $ref: '#/components/schemas/DripRetryFilter'
      title: DripRetryFailedRequest
      type: object
    DripRetryFailedResponse:
      properties:
        meta:
          $ref: '#/components/schemas/DripRetryFailedMeta'
      required:
        - meta
      title: DripRetryFailedResponse
      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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    DripRetryFilter:
      additionalProperties: false
      properties:
        step_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Step Id
      title: DripRetryFilter
      type: object
    DripRetryFailedMeta:
      properties:
        has_more:
          title: Has More
          type: boolean
        limit:
          title: Limit
          type: integer
        retried:
          title: Retried
          type: integer
        skipped_still_failing:
          title: Skipped Still Failing
          type: integer
        skipped_suppressed:
          title: Skipped Suppressed
          type: integer
      required:
        - retried
        - skipped_still_failing
        - skipped_suppressed
        - limit
        - has_more
      title: DripRetryFailedMeta
      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
    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
  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.