Skip to main content
PATCH
/
v1
/
contact-lists
/
{contact_list_id}
Update a contact list
curl --request PATCH \
  --url https://api.openmic.ai/v1/contact-lists/{contact_list_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "contact_count": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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
name
string

New name for the contact list.

Maximum string length: 255

Response

Updated contact list

id
integer

Unique identifier.

name
string

Contact list name.

contact_count
integer

Number of contacts in the list.

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