Create list
curl --request POST \
--url https://inboxapp.com/api/v1/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Hot Leads",
"icon": "rocket",
"color": "red",
"description": "Leads from the 2025 conference"
}
'import requests
url = "https://inboxapp.com/api/v1/lists"
payload = {
"name": "Hot Leads",
"icon": "rocket",
"color": "red",
"description": "Leads from the 2025 conference"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Hot Leads',
icon: 'rocket',
color: 'red',
description: 'Leads from the 2025 conference'
})
};
fetch('https://inboxapp.com/api/v1/lists', 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://inboxapp.com/api/v1/lists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Hot Leads',
'icon' => 'rocket',
'color' => 'red',
'description' => 'Leads from the 2025 conference'
]),
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://inboxapp.com/api/v1/lists"
payload := strings.NewReader("{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://inboxapp.com/api/v1/lists")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://inboxapp.com/api/v1/lists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "Product Hunt Leads",
"slug": "product-hunt-leads",
"icon": "list",
"color": "#3b82f6",
"description": "Leads scraped from Product Hunt launches",
"profilesCount": 1520,
"reachableEstimate": 123,
"reachableCount": 1200,
"columns": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Lists
Create list
Create a new list for organizing leads
POST
/
lists
Create list
curl --request POST \
--url https://inboxapp.com/api/v1/lists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Hot Leads",
"icon": "rocket",
"color": "red",
"description": "Leads from the 2025 conference"
}
'import requests
url = "https://inboxapp.com/api/v1/lists"
payload = {
"name": "Hot Leads",
"icon": "rocket",
"color": "red",
"description": "Leads from the 2025 conference"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Hot Leads',
icon: 'rocket',
color: 'red',
description: 'Leads from the 2025 conference'
})
};
fetch('https://inboxapp.com/api/v1/lists', 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://inboxapp.com/api/v1/lists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Hot Leads',
'icon' => 'rocket',
'color' => 'red',
'description' => 'Leads from the 2025 conference'
]),
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://inboxapp.com/api/v1/lists"
payload := strings.NewReader("{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://inboxapp.com/api/v1/lists")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://inboxapp.com/api/v1/lists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Hot Leads\",\n \"icon\": \"rocket\",\n \"color\": \"red\",\n \"description\": \"Leads from the 2025 conference\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "Product Hunt Leads",
"slug": "product-hunt-leads",
"icon": "list",
"color": "#3b82f6",
"description": "Leads scraped from Product Hunt launches",
"profilesCount": 1520,
"reachableEstimate": 123,
"reachableCount": 1200,
"columns": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Authorizations
Body
application/json
Icon name for the list. Must be one of the predefined icon names. Defaults to a random icon if omitted.
Available options:
anchor, aperture, apple, at-sign, atom, badge-check, banana, beef, biceps-flexed, bike, badge-dollar-sign, bitcoin, bone, book, box, braces, brain, building-2, cake, calendar, camera, castle, chart-column-increasing, chart-pie, chef-hat, circle-alert, circle-help, clapperboard, clock, cloud, cloud-drizzle, cloud-sun, code, coffee, construction, cooking-pot, cpu, crown, disc-3, dices, dna, door-open, drafting-compass, drama, droplet, dumbbell, earth, egg, eye, fingerprint, flag, flame, flask-conical, gavel, ghost, git-merge, graduation-cap, guitar, hash, headphones, heart, hourglass, ice-cream-cone, image, instagram, key, keyboard, landmark, languages, laptop, leaf, lightbulb, lock, lock-open, magnet, mail, map, map-pin, martini, medal, megaphone, message-circle, messages-square, mic-vocal, milestone, moon, mouse-pointer-2, music, octagon, package, paintbrush-vertical, palette, party-popper, pause, phone, percent, pencil, pin, plane, play, popcorn, puzzle, pyramid, quote, rainbow, radio-tower, refresh-cw, rocket, sailboat, scissors, send, settings, shapes, shield-check, sigma, signpost, snowflake, speaker, star, stethoscope, sun, superscript, swords, syringe, tags, tally-5, telescope, tent-tree, test-tubes, thermometer, thumbs-down, thumbs-up, ticket, timer, tornado, traffic-cone, trash, trending-down, trending-up, trophy, twitter, tv, umbrella, user, users, utensils, volume-2, volume-x, wand-sparkles, watch, x, wine, wind, youtube, zap, cog, circle-user-round Examples:
"rocket"
"star"
"users"
Response
200 - application/json
OK
Was this page helpful?