Create List
INFO
Please note that due to the potential list sizes we are not returning the list content in API responses.
Authorization OAuth 2.0
This request requires OAuth 2.0 authorization.
Header Parameters
Request Parameters
list
arrayrequired
List item.string
name
stringrequiredThe name of the list, max 255 characters.
type
stringrequiredThe type of list, one of:
AffiliatesBank Routing NumbersEmail AddressesEmployer NamesTelephone NumbersSocial Security NumbersLast Four of Social Security NumbersZIP Codes
Response Parameters
data
objectid
integerThe ID of the list, can be used for future API requests to query list details or make updates.
name
stringThe name of the list.
type
stringThe type of list, one of:
AffiliatesBank Routing NumbersEmail AddressesEmployer NamesTelephone NumbersSocial Security NumbersLast Four of Social Security NumbersZIP Codesdeleted_at
datetimeTimestamp of when the list was archived, null if not archived.
created_at
datetimeTimestamp of when the list was created.
updated_at
datetimeTimestamp of when the list was last updated.
POST /api/v1/lead-management/lists
curl --request POST \
"https://api.decisioncloud.me/api/v1/list-manager/lists" \
--header "Authorization: Bearer {ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"list\": [
\"{LIST_ITEM}\",
\"{LIST_ITEM}\",
\"{LIST_ITEM}\",
\"{LIST_ITEM}\",
// ...
],
\"name\": \"{LIST_NAME}\",
\"type\": \"{TYPE_NAME}\",
}"const url = new URL(
"https://api.decisioncloud.me/api/v1/list-manager/lists"
);
const headers = {
"Authorization": "Bearer {ACCESS_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"list": [
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
// ...
],
"name": "{LIST_NAME}",
"type": "{TYPE_NAME}",
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
"https://api.decisioncloud.me/api/v1/list-manager/lists",
[
"headers" => [
"Authorization" => "Bearer {ACCESS_TOKEN}",
"Content-Type" => "application/json",
"Accept" => "application/json",
],
"json" => [
"list" => [
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
// ...
],
"name" => "{LIST_NAME}",
"type" => "{TYPE_NAME}",
],
],
);
$body = $response->getJson();
print_r($body);import requests
import json
url = "https://api.decisioncloud.me/api/v1/list-manager/lists"
payload = {
"list": [
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
"{LIST_ITEM}",
// ...
],
"name": "{LIST_NAME}",
"type": "{TYPE_NAME}",
}
headers = {
"Authorization": "Bearer {ACCESS_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json"
}
response = requests.request("POST", url, headers=headers, json=payload)
response.json(){
"data": {
"id": 11,
"name": "SSN List 1",
"type": "Social Security Numbers",
"deleted_at": null,
"created_at": "2025-05-02T19:28:55.000000Z",
"updated_at": "2025-05-02T22:01:12.000000Z"
}
}{
"message": "The given data was invalid.",
"errors": {
"list": [
[
"There was an error on row 1. The SSN must be a valid Social Security Number in the format: XXX-XX-XXXX, XXX XX XXXX, or XXXXXXXXX.",
"There was an error on row 1. The SSN is not a valid Social Security Number."
]
]
}
}