Archive a lead list
curl --request POST \
--url https://app.loice.ai/api/v1/lead-lists/{listId}/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirm": true,
"name": "Fintech CFOs"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: true, name: 'Fintech CFOs'})
};
fetch('https://app.loice.ai/api/v1/lead-lists/{listId}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/lead-lists/{listId}/archive';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: true, name: 'Fintech CFOs'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/lead-lists/{listId}/archive"
payload = {
"confirm": True,
"name": "Fintech CFOs"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "cmf3x0v2b0001abcd",
"name": "Fintech CFOs",
"description": "",
"owner": null,
"crmAutoSync": false,
"archived": true,
"createdAt": "2026-10-15T09:00:00.000Z",
"updatedAt": "2026-10-15T09:30:00.000Z",
"stats": {
"members": 42,
"withEmail": 30,
"verifiedEmail": 28,
"withMobile": 0,
"crmSynced": 0,
"crmFailed": 0
},
"filling": null
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}API Reference
Archive a lead list
Archives a list: it leaves the active lists and frees its name, and can be restored in the app. Nothing is deleted — its members, the people and the contact data the workspace bought are kept. Requires confirm: true and name, the list’s exact current name. Archiving an archived list changes nothing.
Billing
Free — this endpoint does not consume points.
POST
/
api
/
v1
/
lead-lists
/
{listId}
/
archive
Archive a lead list
curl --request POST \
--url https://app.loice.ai/api/v1/lead-lists/{listId}/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"confirm": true,
"name": "Fintech CFOs"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: true, name: 'Fintech CFOs'})
};
fetch('https://app.loice.ai/api/v1/lead-lists/{listId}/archive', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const url = 'https://app.loice.ai/api/v1/lead-lists/{listId}/archive';
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({confirm: true, name: 'Fintech CFOs'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://app.loice.ai/api/v1/lead-lists/{listId}/archive"
payload = {
"confirm": True,
"name": "Fintech CFOs"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "cmf3x0v2b0001abcd",
"name": "Fintech CFOs",
"description": "",
"owner": null,
"crmAutoSync": false,
"archived": true,
"createdAt": "2026-10-15T09:00:00.000Z",
"updatedAt": "2026-10-15T09:30:00.000Z",
"stats": {
"members": 42,
"withEmail": 30,
"verifiedEmail": 28,
"withMobile": 0,
"crmSynced": 0,
"crmFailed": 0
},
"filling": null
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"message": "<string>"
}
}{
"error": {
"code": "validation_error",
"message": "<string>",
"retryAfterSeconds": 123
}
}
