curl -X GET https://api.thinnest.ai/campaigns/{campaign_id} \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/campaigns/{campaign_id}"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/campaigns/{campaign_id}", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/campaigns/{campaign_id}", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"id": "camp_a1b2c3d4",
"name": "Follow-up Campaign",
"status": "running",
"type": "voice",
"agent_id": "ag_c47e7c97_b2f2",
"total_contacts": 150,
"completed": 45,
"failed": 3,
"in_progress": 5,
"pending": 97,
"scheduled_at": "2026-03-10T09:00:00Z",
"started_at": "2026-03-10T09:00:02Z",
"created_at": "2026-03-07T14:00:00Z"
}
Campaigns
Get Campaign
Retrieve a specific campaign with detailed metrics.
GET
/
campaigns
/
{campaign_id}
curl -X GET https://api.thinnest.ai/campaigns/{campaign_id} \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/campaigns/{campaign_id}"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/campaigns/{campaign_id}", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/campaigns/{campaign_id}", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"id": "camp_a1b2c3d4",
"name": "Follow-up Campaign",
"status": "running",
"type": "voice",
"agent_id": "ag_c47e7c97_b2f2",
"total_contacts": 150,
"completed": 45,
"failed": 3,
"in_progress": 5,
"pending": 97,
"scheduled_at": "2026-03-10T09:00:00Z",
"started_at": "2026-03-10T09:00:02Z",
"created_at": "2026-03-07T14:00:00Z"
}
curl -X GET https://api.thinnest.ai/campaigns/{campaign_id} \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/campaigns/{campaign_id}"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/campaigns/{campaign_id}", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/campaigns/{campaign_id}", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
Path Parameters
Campaign ID
Response 200
{
"id": "camp_a1b2c3d4",
"name": "Follow-up Campaign",
"status": "running",
"type": "voice",
"agent_id": "ag_c47e7c97_b2f2",
"total_contacts": 150,
"completed": 45,
"failed": 3,
"in_progress": 5,
"pending": 97,
"scheduled_at": "2026-03-10T09:00:00Z",
"started_at": "2026-03-10T09:00:02Z",
"created_at": "2026-03-07T14:00:00Z"
}
Errors
| Code | Description |
|---|---|
401 | Missing or invalid authentication |
404 | Campaign not found |
⌘I

