POST
/
lists
/
{id}
curl --request POST \
  --url https://api.wapikit.com/api/lists/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ]
}'
{
  "list": {
    "name": "<string>",
    "description": "<string>",
    "numberOfContacts": 123,
    "numberOfCampaignsSent": 123,
    "tags": [
      {
        "label": "<string>",
        "uniqueId": "<string>"
      }
    ],
    "uniqueId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

id
string
required

The id of list to update

Body

application/json

updated list info

The body is of type object.

Response

200
application/json

returns updated list.

The response is of type object.