UPDATE

Update Contact List

Updates the name of a specified contact list.

Endpoint

POST v5/contactlist/{list_id}

Requires authentication

Path Parameters

The contact list to update.

list_id
string
required
The ID of the contact list to update.

Query Parameters

list_name
string
required
The updated display name for the contact list.

Response

Returns the updated contact list object.

result_ok
boolean
Whether the request succeeded.
data
object
The updated contact list object. See Get Contact List for the full list of response fields.

Examples

Request (cURL)
curl -X POST "https://api.alchemer.com/v5/contactlist/YOUR_LIST_ID?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET&list_name=Updated+List+Name"
Response
{
  "result_ok": true,
  "data": {
    "id": 100271266,
    "list_name": "Updated List Name",
    "date_modified": "2016-05-31 12:06:30",
    "date_created": "2013-03-29 10:01:00",
    "user_id_created": 123456,
    "user_id_modified": 123456
  }
}