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

# Add enrollments

> Deprecated. Enrolls matching contacts immediately without conflict review. Use the enrollment preflight and confirmation endpoints for new integrations.



## OpenAPI

````yaml https://multichannel-api.salesforge.ai/public/multichannel/swagger/doc.json post /multichannel/workspaces/{workspaceID}/sequences/{sequenceID}/enrollments
openapi: 3.1.0
info:
  description: Multichannel public endpoints consumed through salesforge-api public docs.
  title: Multichannel Public API
  version: '1.0'
servers:
  - url: https://multichannel-api.salesforge.ai/public
security:
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
  - ApiKeyAuth: []
externalDocs:
  description: ''
  url: ''
paths:
  /multichannel/workspaces/{workspaceID}/sequences/{sequenceID}/enrollments:
    post:
      tags:
        - Sequences
      summary: Add enrollments
      description: >-
        Deprecated. Enrolls matching contacts immediately without conflict
        review. Use the enrollment preflight and confirmation endpoints for new
        integrations.
      parameters:
        - description: Workspace ID
          in: path
          name: workspaceID
          required: true
          schema:
            type: string
        - description: Sequence ID
          in: path
          name: sequenceID
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                - $ref: '#/components/schemas/requests.AddEnrollmentsRequest'
                  description: Enrollment criteria.
                  summary: request
        description: Enrollment criteria.
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.AddEnrollmentsResponse'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Forbidden
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: >-
            The validation run is not completed or partially completed, or it
            failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
          description: Internal Server Error
      deprecated: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    requests.AddEnrollmentsRequest:
      properties:
        filters:
          $ref: '#/components/schemas/requests.EnrollmentFiltersRequest'
        limit:
          description: Maximum number of contacts to enroll.
          type: integer
      type: object
    responses.AddEnrollmentsResponse:
      properties:
        leadIds:
          items:
            type: string
          type: array
          uniqueItems: false
        skippedLeads:
          additionalProperties:
            type: string
          type: object
      type: object
    responses.ErrorResponse:
      properties:
        data:
          description: >-
            Optional error context. Its shape depends on the message and
            endpoint.
        message:
          description: >-
            Human-readable error text or, for documented cases, a stable
            machine-readable code that clients can branch on.
          example: Invalid request body
          type: string
      type: object
    requests.EnrollmentFiltersRequest:
      description: Contact filters.
      properties:
        customVarIds:
          description: Custom variable IDs to include.
          items:
            type: string
          type: array
          uniqueItems: false
        customVars:
          description: Custom variable values to include.
          items:
            type: string
          type: array
          uniqueItems: false
        esps:
          description: Email service providers to include.
          items:
            type: string
          type: array
          uniqueItems: false
        excludeContacted:
          description: Whether to exclude contacts that have already been contacted.
          type: boolean
        hasEmail:
          description: Whether to require an email address.
          type: boolean
        hasValidLinkedIn:
          description: Whether to require a valid LinkedIn profile.
          type: boolean
        leadIds:
          description: >-
            Contact IDs to include. Intersected with validationRunId when both
            are provided.
          items:
            type: string
          type: array
          uniqueItems: false
        notInCustomVarIds:
          description: Custom variable IDs to exclude.
          items:
            type: string
          type: array
          uniqueItems: false
        notInCustomVars:
          description: Custom variable values to exclude.
          items:
            type: string
          type: array
          uniqueItems: false
        notInESPs:
          description: Email service providers to exclude.
          items:
            type: string
          type: array
          uniqueItems: false
        notInLeadIds:
          description: Contact IDs to exclude.
          items:
            type: string
          type: array
          uniqueItems: false
        notInTagIds:
          description: Tag IDs to exclude.
          items:
            type: string
          type: array
          uniqueItems: false
        searchQuery:
          description: Contact search query.
          type: string
        tagIds:
          description: Tag IDs to include.
          items:
            type: string
          type: array
          uniqueItems: false
        validationRunId:
          description: >-
            Completed or partially completed validation run ID. The run must
            contain at least one contact.
          type: string
        validationStatuses:
          description: Email validation statuses to include.
          items:
            enum:
              - safe
              - invalid
              - disabled
              - disposable
              - inbox_full
              - catch_all
              - role_account
              - spamtrap
              - unknown
              - unvalidated
              - linkedin_only
            type: string
          type: array
          uniqueItems: false
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: Authorization
      type: apiKey

````

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