Skip to main content
POST
/
v1
/
contact-lists
/
{contact_list_id}
/
contacts
/
bulk
Bulk add contacts to a contact list
curl --request POST \
  --url https://api.openmic.ai/v1/contact-lists/{contact_list_id}/contacts/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contacts": [
    {
      "name": "<string>",
      "phone_number": "<string>",
      "phone_number_2": "<string>",
      "phone_number_3": "<string>",
      "contact_info": {}
    }
  ]
}
'
{
  "count": 123
}

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as: Authorization: Bearer <your-api-key>

Path Parameters

contact_list_id
integer
required

Body

application/json
contacts
object[]
required

Array of contacts to add. Maximum 1000 per request.

Maximum array length: 1000

Response

Contacts created

count
integer

Number of contacts created.