Get Lead
curl --request GET \
--url https://app.tuco.ai/api/leads/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.tuco.ai/api/leads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tuco.ai/api/leads/{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{
"lead": {
"_id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>",
"email": "<string>",
"companyName": "<string>",
"notes": "<string>",
"tags": [
"<string>"
],
"customFields": {},
"source": "<string>",
"listId": "<string>",
"integrationIds": {},
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Campaigns
Get Lead
Read a single lead in your workspace by id.
GET
/
api
/
leads
/
{id}
Get Lead
curl --request GET \
--url https://app.tuco.ai/api/leads/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.tuco.ai/api/leads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{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://app.tuco.ai/api/leads/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.tuco.ai/api/leads/{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{
"lead": {
"_id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phone": "<string>",
"email": "<string>",
"companyName": "<string>",
"notes": "<string>",
"tags": [
"<string>"
],
"customFields": {},
"source": "<string>",
"listId": "<string>",
"integrationIds": {},
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Reads one lead by id. The lookup is scoped to your workspace, so an id from another workspace
returns
Success (
404 rather than leaking anything.
Don’t have the id?
GET /api/leads?search=… finds a lead by
phone, email, name or company. Search by phone in E.164 and URL-encode the + as %2B.Authentication
Pass your workspace API key as a Bearer token, or use a Clerk session token.Authorization: Bearer tuco_xxxxxxxxxxxxx
Path parameter
string
required
The lead id —
leadId from POST /api/leads, or _id from
GET /api/leads. A malformed id returns 400 Invalid lead id.Example
curl "https://app.tuco.ai/api/leads/6ac3ea0d71adb32c88d56219" \
-H "Authorization: Bearer tuco_xxxxxxxxxxxxx"
Success (200 OK)
{
"lead": {
"_id": "6ac3ea0d71adb32c88d56219",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+14152004145",
"email": "jane@example.com",
"companyName": "Acme Corp",
"notes": "Warm intro from Sarah",
"tags": ["demo-requested"],
"customFields": { "industry": "Technology" },
"listId": "69f4773ce651a48f743b77f9",
"source": "api",
"integrationIds": { "ghlRecordId": null, "hubspotRecordId": null },
"createdAt": "2026-10-05T18:18:50.277Z",
"updatedAt": "2026-10-05T18:48:02.917Z"
}
}
Response
object
The lead. Only these fields are returned — enrolment state and internal bookkeeping are not exposed.
Show Lead fields
Show Lead fields
string
Lead id.
string
First name.
string
Last name.
string
Phone in E.164. Read-only here — set it at creation with
POST /api/leads.string
Email address.
string
Company.
string
Free-text notes. Your bots read this — see Update Lead.
string[]
Tags on the lead. These are what fire your bots.
object
Free-form key/value data.
string
Where the lead came from, e.g.
api, gohighlevel.string
List that owns the lead.
object
Linked CRM record ids (
ghlRecordId, hubspotRecordId, …).string
ISO 8601 timestamp.
string
ISO 8601 timestamp.
Errors
| Status | When | Body |
|---|---|---|
400 | Malformed {id} | { "error": "Invalid lead id" } |
400 | Key has no active workspace | { "error": "No active workspace" } |
401 | Missing or invalid API key | { "error": "Unauthorized" } |
404 | No lead with that id in your workspace | { "error": "Lead not found" } |