# Bulk Add SMTP Accounts (via Username and Password)

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /partner-upload-regular-accounts:
    post:
      summary: Bulk Add SMTP Accounts (via Username and Password)
      deprecated: false
      description: >-
        Bulk add multiple SMTP (non-Google / non-Microsoft) email accounts via
        API, by providing PlusVibe Username and Password. A notification email
        can be set to receive the upload results.


        *** Note: A successful response does not indicate that the email
        accounts were added successfully. It only means that the server has
        accepted the request. The results of the upload will be sent to provided
        notification email address. ***
      operationId: bulkAddRegularAccounts
      tags:
        - For Email Infra Provider Partner
        - Account
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspace_id:
                  type: string
                  description: Workspace identifier.
                  examples:
                    - 65099a0dd96fae8ab61120c0
                accounts:
                  type: array
                  description: List of accounts to add.
                  items:
                    type: object
                    properties:
                      first_name:
                        type: string
                        examples:
                          - John
                      last_name:
                        type: string
                        examples:
                          - Doe
                      email:
                        type: string
                        format: email
                        examples:
                          - john.doe@domain.com
                      daily_limit:
                        type: integer
                        examples:
                          - 20
                        description: Campaign daily limit
                      username:
                        type: string
                        examples:
                          - john.doe@domain.com
                        description: IMAP username
                      password:
                        type: string
                        examples:
                          - password1234!
                        description: IMAP password
                      imap_host:
                        type: string
                        examples:
                          - imap.domain.com
                      imap_port:
                        type: integer
                        examples:
                          - 993
                      smtp_host:
                        type: string
                        examples:
                          - smtp.domain.com
                      smtp_username:
                        type: string
                        examples:
                          - john.doe@domain.com
                      smtp_password:
                        type: string
                        examples:
                          - password1234!
                      smtp_port:
                        type: integer
                        examples:
                          - 465
                      min_interval:
                        type: integer
                        examples:
                          - 6
                        description: Campaign emails' minimum interval
                      enable_camp_rampup:
                        type: string
                        enum:
                          - 'yes'
                          - 'no'
                        examples:
                          - 'yes'
                        description: (Optional) Enable campaign ramp-up
                      camp_rampup_start:
                        type: integer
                        examples:
                          - 5
                        description: (Optional) Campaign Ramp-up initial value
                      camp_rampup_increment:
                        type: integer
                        examples:
                          - 2
                        description: (Optional) Campaign Ramp-up daily increment
                      enable_warmup:
                        type: string
                        enum:
                          - 'yes'
                          - 'no'
                        examples:
                          - 'yes'
                        description: (Optional) Enable warm-up
                      warmup_daily_limit:
                        type: integer
                        examples:
                          - 25
                        description: (Optional) Warmup ramup-up daily limit
                      warmup_rampup_start:
                        type: integer
                        examples:
                          - 5
                        description: (Optional) Warmup Ramp-up initial value
                      warmup_rampup_increment:
                        type: integer
                        examples:
                          - 3
                        description: (Optional) Warmup ramup-up daily increment
                      enable_warmup_rampup:
                        type: string
                        enum:
                          - 'yes'
                          - 'no'
                        examples:
                          - 'yes'
                        description: (Optional) Enable warmup ramp-up
                    x-apidog-orders:
                      - first_name
                      - last_name
                      - email
                      - daily_limit
                      - username
                      - password
                      - imap_host
                      - imap_port
                      - smtp_host
                      - smtp_username
                      - smtp_password
                      - smtp_port
                      - min_interval
                      - enable_camp_rampup
                      - camp_rampup_start
                      - camp_rampup_increment
                      - enable_warmup
                      - warmup_daily_limit
                      - enable_warmup_rampup
                      - warmup_rampup_start
                      - warmup_rampup_increment
                    required:
                      - first_name
                      - last_name
                      - email
                      - daily_limit
                      - username
                      - password
                      - imap_host
                      - imap_port
                      - smtp_host
                      - smtp_username
                      - smtp_password
                      - smtp_port
                  minItems: 1
                pipl_username:
                  type: string
                  description: Login Email
                pipl_password:
                  type: string
                  description: Password
                notification_email:
                  type: string
                  description: >-
                    The email address that you want to receive the upload
                    results
              required:
                - workspace_id
                - accounts
                - pipl_username
                - pipl_password
              x-apidog-orders:
                - workspace_id
                - accounts
                - pipl_username
                - pipl_password
                - notification_email
            examples: {}
      responses:
        '200':
          description: API called successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    examples:
                      - success
                x-apidog-orders:
                  - status
          headers: {}
          x-apidog-name: OK
      security:
        - ApiKeyAuth: []
          x-apidog:
            schemeGroups:
              - id: uS5KiuC4wfZHK42AzOfA_
                schemeIds:
                  - ApiKeyAuth
            required: true
            use:
              id: uS5KiuC4wfZHK42AzOfA_
            scopes:
              uS5KiuC4wfZHK42AzOfA_:
                ApiKeyAuth: []
      x-apidog-folder: For Email Infra Provider Partner
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/929054/apis/api-17738297-run
components:
  schemas: {}
  securitySchemes:
    ApiKeyAuth:
      type: apikey
      in: header
      name: x-api-key
      description: |
        API key issued in the PlusVibe dashboard. The server reads it
        from the `x-api-key` header and injects it into the request as
        the `api_key` query parameter, which is why you will see
        `api_key` referenced in validation errors.
    apiKey:
      type: apikey
      in: body
      name: api_key
      description: API key passed in request body
servers:
  - url: https://api.plusvibe.ai/api/v1
    description: Prod Env
security:
  - ApiKeyAuth: []
    x-apidog:
      schemeGroups:
        - id: uS5KiuC4wfZHK42AzOfA_
          schemeIds:
            - ApiKeyAuth
      required: true
      use:
        id: uS5KiuC4wfZHK42AzOfA_
      scopes:
        uS5KiuC4wfZHK42AzOfA_:
          ApiKeyAuth: []

```
