Get list by ID
curl --request GET \
--url https://api.stardex.ai/v1/lists/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stardex.ai/v1/lists/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stardex.ai/v1/lists/{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.stardex.ai/v1/lists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.stardex.ai/v1/lists/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.stardex.ai/v1/lists/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/lists/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "aaa11111-bbbb-cccc-dddd-eeeeeeee1111",
"name": "Engineering Candidates Q2",
"list_type": "persons",
"is_public": true,
"is_archived": false,
"linked_job_id": "fff66666-0000-1111-2222-333333336666",
"linked_person_id": null,
"linked_organization_company_id": null,
"item_count": 42,
"created_by": {
"id": "bbb22222-cccc-dddd-eeee-ffffffff2222",
"first_name": "Jane",
"last_name": "Smith"
},
"owners": [
{
"id": "bbb22222-cccc-dddd-eeee-ffffffff2222",
"first_name": "Jane",
"last_name": "Smith"
}
],
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-05-20T14:30:00Z",
"items": [
{
"id": "eee55555-ffff-0000-1111-222222225555",
"person": {
"id": "ccc33333-dddd-eeee-ffff-000000003333",
"first_name": "John",
"last_name": "Doe",
"linkedin_url": "https://linkedin.com/in/johndoe"
},
"company": null,
"created_at": "2024-02-01T12:00:00Z"
}
],
"items_total": 42
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Lists
Get list by ID
Retrieve a single list by UUID with its paginated items.
Items are paginated via items_offset and items_limit query parameters. Each item includes the referenced person or company details depending on the list type.
GET
/
v1
/
lists
/
{id}
Get list by ID
curl --request GET \
--url https://api.stardex.ai/v1/lists/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stardex.ai/v1/lists/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stardex.ai/v1/lists/{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.stardex.ai/v1/lists/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.stardex.ai/v1/lists/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.stardex.ai/v1/lists/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/lists/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "aaa11111-bbbb-cccc-dddd-eeeeeeee1111",
"name": "Engineering Candidates Q2",
"list_type": "persons",
"is_public": true,
"is_archived": false,
"linked_job_id": "fff66666-0000-1111-2222-333333336666",
"linked_person_id": null,
"linked_organization_company_id": null,
"item_count": 42,
"created_by": {
"id": "bbb22222-cccc-dddd-eeee-ffffffff2222",
"first_name": "Jane",
"last_name": "Smith"
},
"owners": [
{
"id": "bbb22222-cccc-dddd-eeee-ffffffff2222",
"first_name": "Jane",
"last_name": "Smith"
}
],
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-05-20T14:30:00Z",
"items": [
{
"id": "eee55555-ffff-0000-1111-222222225555",
"person": {
"id": "ccc33333-dddd-eeee-ffff-000000003333",
"first_name": "John",
"last_name": "Doe",
"linkedin_url": "https://linkedin.com/in/johndoe"
},
"company": null,
"created_at": "2024-02-01T12:00:00Z"
}
],
"items_total": 42
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Authenticate with a Bearer token: API key, OAuth token, or session token.
Path Parameters
List UUID
Query Parameters
Items to skip for pagination. Defaults to 0.
Required range:
x >= 0Max items to return (1–100). Defaults to 50.
Required range:
1 <= x <= 100Was this page helpful?
⌘I