Salesbuildr Companies & Contacts
Overview
Companies and contacts are the foundation of the Salesbuildr CRM. Companies represent organizations (customers, prospects), while contacts are individuals associated with companies.
Companies
Search Companies
GET /companies?search=<term>&from=0&size=25
Parameters:
search- Search term for company namefrom- Pagination offsetsize- Results per page (max 100)
Get Company by ID
GET /companies/{id}
Returns full company details including address, phone, and metadata.
Contacts
Search Contacts
GET /contacts?search=<term>&company_id=<id>&from=0&size=25
Parameters:
search- Search by name or emailcompany_id- Filter contacts to a specific companyfrom- Pagination offsetsize- Results per page (max 100)
Get Contact by ID
GET /contacts/{id}
Create Contact
POST /contacts
{
"first_name": "Jane",
"last_name": "Smith",
"email": "jane@example.com",
"company_id": 12345,
"phone": "555-0100"
}
Required fields: first_name, last_name, company_id
Common Workflows
Find a Customer's Contacts
- Search companies:
GET /companies?search=acme - Get company ID from results
- Search contacts for that company:
GET /contacts?company_id=12345
Create a New Contact for Quoting
- Find the company:
GET /companies?search=company name - Verify company exists and get ID
- Create contact:
POST /contactswith company_id