Skip to main content
POST
/
h
/
v2
/
contact-lists
/
{contact_list_id}
/
contacts
/
bulk
Bulk add contacts
curl --request POST \
  --url https://api.openmic.ai/h/v2/contact-lists/{contact_list_id}/contacts/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contacts": [
    {
      "name": "Alice Johnson",
      "phone_number": "+14155550199"
    },
    {
      "name": "Bob Smith",
      "phone_number": "+14155550200",
      "contact_info": {
        "company": "Globex"
      }
    }
  ]
}
'
{
  "created": 123,
  "failed": 123
}

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Path Parameters

contact_list_id
integer
required

Body

application/json
contacts
object[]
required
Required array length: 1 - 1000 elements

Response

Contacts added.

created
integer

Number of contacts successfully created.

failed
integer