Skip to main content
POST
/
h
/
v2
/
contact-lists
/
{contact_list_id}
/
contacts
Add a contact
curl --request POST \
  --url https://api.openmic.ai/h/v2/contact-lists/{contact_list_id}/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Alice Johnson",
  "phone_number": "+14155550199",
  "contact_info": {
    "company": "Acme",
    "tier": "enterprise"
  }
}
'
{
  "id": 123,
  "name": "<string>",
  "phone_number": "<string>",
  "phone_number_2": "<string>",
  "phone_number_3": "<string>",
  "contact_info": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key obtained from the OpenMic dashboard.

Path Parameters

contact_list_id
integer
required

Body

application/json
name
string
required
Required string length: 1 - 255
phone_number
string
phone_number_2
string
phone_number_3
string
contact_info
object

Response

Contact added.

id
integer
required
name
string
required
phone_number
string
phone_number_2
string
phone_number_3
string
contact_info
object

Arbitrary key-value metadata for the contact.

created_at
string<date-time>
updated_at
string<date-time>