Update a contact list folder
curl --request PUT \
--url https://api.reply.io/v3/contact-list-folders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Q1 campaigns"
}
'import requests
url = "https://api.reply.io/v3/contact-list-folders/{id}"
payload = { "name": "Q1 campaigns" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Q1 campaigns'})
};
fetch('https://api.reply.io/v3/contact-list-folders/{id}', 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.reply.io/v3/contact-list-folders/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Q1 campaigns'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.reply.io/v3/contact-list-folders/{id}"
payload := strings.NewReader("{\n \"name\": \"Q1 campaigns\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.reply.io/v3/contact-list-folders/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Q1 campaigns\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-list-folders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Q1 campaigns\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"name": "Q4 campaigns",
"isShared": true
}{
"title": "Validation failed",
"status": 400,
"detail": "The request body contains validation errors.",
"errors": [
{
"pointer": "/name",
"detail": "Name is required."
}
]
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "You do not have permission to manage this folder",
"code": "contactListFolder.forbidden"
}{
"title": "Not Found",
"status": 404,
"detail": "Contact list folder with ID 42 not found",
"code": "contactListFolder.notFound"
}{
"title": "Conflict",
"status": 409,
"detail": "A folder with this name already exists in this section",
"code": "contactListFolder.duplicateName"
}{
"title": "Too Many Requests",
"status": 429,
"detail": "API calls quota exceeded! maximum admitted 100 per 1m."
}Contact List Folders
Update a contact list folder
Coming soon. This endpoint will be available by early December 2026.
contacts:write scope (or a broader one that includes it).
Rename a folder; its lists stay where they are. A personal folder can be renamed only by its owner. A shared folder can be renamed by its creator, or by a user whose role allows actions on the whole team’s contacts.
PUT
/
v3
/
contact-list-folders
/
{id}
Update a contact list folder
curl --request PUT \
--url https://api.reply.io/v3/contact-list-folders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Q1 campaigns"
}
'import requests
url = "https://api.reply.io/v3/contact-list-folders/{id}"
payload = { "name": "Q1 campaigns" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Q1 campaigns'})
};
fetch('https://api.reply.io/v3/contact-list-folders/{id}', 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.reply.io/v3/contact-list-folders/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Q1 campaigns'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.reply.io/v3/contact-list-folders/{id}"
payload := strings.NewReader("{\n \"name\": \"Q1 campaigns\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.put("https://api.reply.io/v3/contact-list-folders/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Q1 campaigns\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contact-list-folders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Q1 campaigns\"\n}"
response = http.request(request)
puts response.read_body{
"id": 42,
"name": "Q4 campaigns",
"isShared": true
}{
"title": "Validation failed",
"status": 400,
"detail": "The request body contains validation errors.",
"errors": [
{
"pointer": "/name",
"detail": "Name is required."
}
]
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials are missing or invalid."
}{
"title": "Forbidden",
"status": 403,
"detail": "You do not have permission to manage this folder",
"code": "contactListFolder.forbidden"
}{
"title": "Not Found",
"status": 404,
"detail": "Contact list folder with ID 42 not found",
"code": "contactListFolder.notFound"
}{
"title": "Conflict",
"status": 409,
"detail": "A folder with this name already exists in this section",
"code": "contactListFolder.duplicateName"
}{
"title": "Too Many Requests",
"status": 429,
"detail": "API calls quota exceeded! maximum admitted 100 per 1m."
}Authorizations
Body
application/json
Response
Contact list folder renamed successfully
A one-level folder that groups contact lists, either personal or shared with the team