curl --request POST \
--url https://api.stardex.ai/v1/campaigns/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keywords": "backend",
"include": [
"stats"
],
"sort_by": "updated_at",
"sort_order": "desc"
}
'import requests
url = "https://api.stardex.ai/v1/campaigns/search"
payload = {
"keywords": "backend",
"include": ["stats"],
"sort_by": "updated_at",
"sort_order": "desc"
}
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({
keywords: 'backend',
include: ['stats'],
sort_by: 'updated_at',
sort_order: 'desc'
})
};
fetch('https://api.stardex.ai/v1/campaigns/search', 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/campaigns/search",
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([
'keywords' => 'backend',
'include' => [
'stats'
],
'sort_by' => 'updated_at',
'sort_order' => 'desc'
]),
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.stardex.ai/v1/campaigns/search"
payload := strings.NewReader("{\n \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\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://api.stardex.ai/v1/campaigns/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/campaigns/search")
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 \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "3f9a1c27-8e4b-4d2a-b6f0-7c1e5a9d2b84",
"name": "Senior Backend Engineer, Monzo",
"sequence_type": "candidate",
"is_archived": false,
"created_by": "7c1e4a9b-3d6f-4b2e-8a5c-9f1d3b7e5a20",
"step_count": 3,
"created_at": "2026-10-13T10:15:00.000Z",
"updated_at": "2026-10-13T10:15:00.000Z",
"enrollment_counts": {
"total": 42,
"running": 27,
"awaiting_task": 2,
"replied": 6,
"meeting_booked": 3,
"bounced": 1,
"completed": 4,
"stopped": 1
},
"engagement": {
"responded": 9,
"interested": 5,
"neutral": 2,
"not_interested": 2,
"opened": 0,
"clicked": 7,
"reply_rate": 22,
"open_rate": null,
"click_rate": 17
}
}
],
"meta": {
"total": 12,
"offset": 0,
"limit": 100
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Search campaigns
Search campaigns by name, type, owner and archived state, with pagination and sorting. Rows include the step count; pass include: ["stats"] to add enrollment counts and reply, open and click rates to each one. Use GET /v1/campaigns/{id} for steps. Needs campaigns:read.
Signed-in users need access to campaigns in their role. API keys need the campaigns permission named on each endpoint.
curl --request POST \
--url https://api.stardex.ai/v1/campaigns/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keywords": "backend",
"include": [
"stats"
],
"sort_by": "updated_at",
"sort_order": "desc"
}
'import requests
url = "https://api.stardex.ai/v1/campaigns/search"
payload = {
"keywords": "backend",
"include": ["stats"],
"sort_by": "updated_at",
"sort_order": "desc"
}
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({
keywords: 'backend',
include: ['stats'],
sort_by: 'updated_at',
sort_order: 'desc'
})
};
fetch('https://api.stardex.ai/v1/campaigns/search', 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/campaigns/search",
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([
'keywords' => 'backend',
'include' => [
'stats'
],
'sort_by' => 'updated_at',
'sort_order' => 'desc'
]),
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.stardex.ai/v1/campaigns/search"
payload := strings.NewReader("{\n \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\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://api.stardex.ai/v1/campaigns/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/campaigns/search")
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 \"keywords\": \"backend\",\n \"include\": [\n \"stats\"\n ],\n \"sort_by\": \"updated_at\",\n \"sort_order\": \"desc\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"id": "3f9a1c27-8e4b-4d2a-b6f0-7c1e5a9d2b84",
"name": "Senior Backend Engineer, Monzo",
"sequence_type": "candidate",
"is_archived": false,
"created_by": "7c1e4a9b-3d6f-4b2e-8a5c-9f1d3b7e5a20",
"step_count": 3,
"created_at": "2026-10-13T10:15:00.000Z",
"updated_at": "2026-10-13T10:15:00.000Z",
"enrollment_counts": {
"total": 42,
"running": 27,
"awaiting_task": 2,
"replied": 6,
"meeting_booked": 3,
"bounced": 1,
"completed": 4,
"stopped": 1
},
"engagement": {
"responded": 9,
"interested": 5,
"neutral": 2,
"not_interested": 2,
"opened": 0,
"clicked": 7,
"reply_rate": 22,
"open_rate": null,
"click_rate": 17
}
}
],
"meta": {
"total": 12,
"offset": 0,
"limit": 100
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Authorizations
Authenticate with a Bearer token: API key, OAuth token, or session token.
Body
Records to skip for pagination. Defaults to 0.
x >= 0Max records per page (1–100). Defaults to 100.
1 <= x <= 100Case-insensitive match on the campaign name.
200Only campaigns of this type.
candidate, business_development, candidate_nurture, client_nurture Archived campaigns only when true. Defaults to false.
Only campaigns owned by this team member.
Defaults to created_at. enrollments sorts by how many people were ever enrolled, reply_rate by the campaign card reply rate (campaigns with no rate last), to find the biggest or best campaigns.
created_at, updated_at, name, enrollments, reply_rate Defaults to desc.
asc, desc Pass ["stats"] to add enrollment_counts and engagement (reply, open and click rates) to each campaign.
stats Was this page helpful?