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

# Bulk add contacts to a contact list

> Add up to 1000 contacts in a single request.



## OpenAPI

````yaml post /v1/contact-lists/{contact_list_id}/contacts/bulk
openapi: 3.1.0
info:
  title: OpenMic v1 External API
  description: >-
    API specification for OpenMic v1 External API, providing endpoints for bot
    management, call handling, and phone number operations.
  version: 1.0.0
servers:
  - url: https://api.openmic.ai
    description: Production Environment
security:
  - api_key: []
tags:
  - name: Calls
    description: Endpoints related to phone call creation and management.
  - name: Bots
    description: Endpoints related to bot management and configuration.
  - name: Phone Numbers
    description: Endpoints related to phone number management and bot linking.
  - name: Knowledge Bases
  - name: FAQs
  - name: Campaigns
  - name: Tools
  - name: Contact Lists
  - name: Contacts
  - name: Voices
    description: >-
      Endpoints for browsing available text-to-speech voices. Voices are
      read-only and can be filtered by gender, provider, language, and accent.
  - name: SMS
    description: Endpoints for sending SMS messages.
paths:
  /v1/contact-lists/{contact_list_id}/contacts/bulk:
    post:
      tags:
        - Contacts
      summary: Bulk add contacts to a contact list
      description: Add up to 1000 contacts in a single request.
      operationId: addContactsBulk
      parameters:
        - name: contact_list_id
          in: path
          required: true
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateContactsBulkRequest'
      responses:
        '201':
          description: Contacts created
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    description: Number of contacts created.
        '400':
          description: Validation error
        '404':
          description: Contact list not found
components:
  schemas:
    CreateContactsBulkRequest:
      type: object
      required:
        - contacts
      properties:
        contacts:
          type: array
          maxItems: 1000
          description: Array of contacts to add. Maximum 1000 per request.
          items:
            $ref: '#/components/schemas/CreateContactRequest'
    CreateContactRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          maxLength: 255
          description: Contact's full name.
        phone_number:
          type: string
          description: Primary phone number (E.164 format recommended, e.g. +14155551234).
        phone_number_2:
          type: string
          description: Secondary phone number.
        phone_number_3:
          type: string
          description: Tertiary phone number.
        contact_info:
          type: object
          description: >-
            Arbitrary JSON metadata for the contact. Use this to store custom
            fields like email, address, company, or any key-value data your bot
            or campaign needs (e.g. `{"email": "john@example.com", "company":
            "Acme", "plan": "enterprise"}`).
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API key authentication. Include your API key in the Authorization header
        as: `Authorization: Bearer <your-api-key>`

````