Update List
curl --request PATCH \
--url https://api.replyke.com/api/v6/:projectId/lists/:listId \
--header 'Content-Type: application/json' \
--data '
{
"update": {
"name": "<string>"
}
}
'import requests
url = "https://api.replyke.com/api/v6/:projectId/lists/:listId"
payload = { "update": { "name": "<string>" } }
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({update: {name: '<string>'}})
};
fetch('https://api.replyke.com/api/v6/:projectId/lists/:listId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/lists/:listId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'update' => [
'name' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/lists/:listId"
payload := strings.NewReader("{\n \"update\": {\n \"name\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.replyke.com/api/v6/:projectId/lists/:listId")
.header("Content-Type", "application/json")
.body("{\n \"update\": {\n \"name\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/lists/:listId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"update\": {\n \"name\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"projectId": "<string>",
"userId": "<string>",
"name": "<string>",
"parentId": "<string>",
"entityIds": [
{}
],
"subLists": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}List Endpoints
Update List
Update the name of an existing list
PATCH
/
:projectId
/
lists
/
:listId
Update List
curl --request PATCH \
--url https://api.replyke.com/api/v6/:projectId/lists/:listId \
--header 'Content-Type: application/json' \
--data '
{
"update": {
"name": "<string>"
}
}
'import requests
url = "https://api.replyke.com/api/v6/:projectId/lists/:listId"
payload = { "update": { "name": "<string>" } }
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({update: {name: '<string>'}})
};
fetch('https://api.replyke.com/api/v6/:projectId/lists/:listId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/lists/:listId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'update' => [
'name' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/lists/:listId"
payload := strings.NewReader("{\n \"update\": {\n \"name\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.replyke.com/api/v6/:projectId/lists/:listId")
.header("Content-Type", "application/json")
.body("{\n \"update\": {\n \"name\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/lists/:listId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"update\": {\n \"name\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"projectId": "<string>",
"userId": "<string>",
"name": "<string>",
"parentId": "<string>",
"entityIds": [
{}
],
"subLists": [
{}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}Updates the name of an existing non-root list belonging to the authenticated user.
Path Parameters
string
required
The ID of the list to update
Body Parameters
Response
string
Unique list identifier
string
Project identifier
string
ID of the user who owns the list
string
Updated name of the list
string
ID of the parent list
array
Array of entity IDs saved in this list
array
Array of nested sub-lists
string
Creation timestamp in ISO 8601 format
string
Last update timestamp in ISO 8601 format
Error Responses
Missing Data - 400 Bad Request
Missing Data - 400 Bad Request
{
"error": "Missing list ID or update data",
"code": "list/missing-data"
}
Blank Name - 400 Bad Request
Blank Name - 400 Bad Request
{
"error": "Cannot set the name to blank",
"code": "list/blank-name"
}
List Not Found - 404 Not Found
List Not Found - 404 Not Found
{
"error": "List not found",
"code": "list/not-found"
}
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
{
"error": "Server error",
"code": "list/server-error",
"details": "<Error message>"
}
Notes
- Only sub-lists (lists with a
parentId) can be renamed via this endpoint. - The response includes the updated and populated list.
⌘I

