Skip to main content

Endpoint

GET https://api.thred.dev/v1/customers/by-company?name=<company_name>

Authentication

Authorization: Bearer YOUR_API_KEY

Query Parameters

ParameterTypeRequiredDescription
namestringYesCompany name to match

Response

{
  "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

{
  "error": "Bad request",
  "message": "Company name query parameter 'name' is required"
}
{
  "error": "Not found",
  "message": "No customers found matching this company name"
}

Example

curl -X GET "https://api.thred.dev/v1/customers/by-company?name=TechCorp" \
  -H "Authorization: Bearer YOUR_API_KEY"