Skip to main content
PATCH
/
h
/
v2
/
contact-lists
/
{contact_list_id}
/
contacts
/
{contact_id}
Update a contact
curl --request PATCH \
  --url https://api.openmic.ai/h/v2/contact-lists/{contact_list_id}/contacts/{contact_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "+14155550300",
  "contact_info": {
    "tier": "vip"
  }
}
'
{
  "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
contact_id
integer
required

Body

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

Response

Updated contact.

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>