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

# Bulk import contacts

> Upserts contacts by email within the account. New subscribed contacts count toward the plan subscriber cap; once hit, remaining new contacts are skipped (reported, not fatal). Does NOT emit workflow trigger events — importing a list should not enroll everyone into automations.



## OpenAPI

````yaml /openapi.json post /marketing/contacts/import
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Email
    description: Send transactional email
  - name: Outbound
    description: 'Outbound sending: keys, SMTP users, domains, logs, suppression'
  - name: Inbound
    description: Inbound routing, domains and forward destinations
  - name: Marketing
    description: >-
      Marketing suite: templates, audiences, contacts, broadcasts, themes,
      assets
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /marketing/contacts/import:
    post:
      tags:
        - Marketing
      summary: Bulk import contacts
      description: >-
        Upserts contacts by email within the account. New subscribed contacts
        count toward the plan subscriber cap; once hit, remaining new contacts
        are skipped (reported, not fatal). Does NOT emit workflow trigger events
        — importing a list should not enroll everyone into automations.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - contacts
                - audienceIds
              properties:
                contacts:
                  type: array
                  items:
                    type: object
                    required:
                      - email
                    properties:
                      email:
                        type: string
                      firstName:
                        type: string
                      lastName:
                        type: string
                      attributes:
                        type: object
                      status:
                        type: string
                        enum:
                          - subscribed
                          - unsubscribed
                audienceIds:
                  type: array
                  items:
                    type: string
                  minItems: 1
                  description: >-
                    At least one audience — every imported contact is added to
                    these (required)
      responses:
        '200':
          description: Import summary
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  added:
                    type: integer
                  updated:
                    type: integer
                  skipped:
                    type: integer
                  skippedInvalid:
                    type: integer
                  skippedLimit:
                    type: integer
        '400':
          description: No rows / too many rows / no audience
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````