Update A List

Update an existing subscription list object.

https://app.mojotxt.com/api/v1/{phone_number}/lists/update/{ListID or Keyword}

Any List Object field can be included as a parameter. You can send parameters as part of the GET querystring, or as POST data. Multiple fields can be updated at one time. Fields not included with your request will be ignored. To set a field to NULL, send an empty value.

Example Request:

GET https://app.mojotxt.com/api/v1/+16146827117/lists/update/170?ListName=New+List+Name

-or-

POST https://app.mojotxt.com/api/v1/+16146827117/lists/update/170
DATA ListName=New List Name

Example Result:

{
"result": "success",
"timestamp": 1459374098,
"request": {
"phone": "+16146827117",
"object": "lists",
"verb": "update",
"id": "170",
"ListName": "New List Name"
},
"message": "The list object was updated successfully."
}