Endpoint
Copy
GET https://api.thred.dev/v1/customers/by-company?name=<company_name>
Authentication
Copy
Authorization: Bearer YOUR_API_KEY
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Company name to match |
Response
Copy
{
"company": "TechCorp",
"results": [
{
"status": "completed",
"name": "Sarah Johnson",
"email": "[email protected]",
"company": "TechCorp",
"platform": "chatgpt",
"summary": "Lead is evaluating onboarding and security requirements.",
"conversation": [
{
"role": "user",
"content": "What security controls matter most to you?"
},
{
"role": "assistant",
"content": "SOC 2 and SSO are must-haves for us."
}
],
"progress": 100,
"link": "https://app.thred.ai/share/<customerId>"
}
]
}
Error Responses
Copy
{
"error": "Bad request",
"message": "Company name query parameter 'name' is required"
}
Copy
{
"error": "Not found",
"message": "No customers found matching this company name"
}
Example
Copy
curl -X GET "https://api.thred.dev/v1/customers/by-company?name=TechCorp" \
-H "Authorization: Bearer YOUR_API_KEY"

