RESTful API endpoints for demo agentic workflows
Retrieve all CRM accounts
curl https://crm.lornest.dev/api/accountsRetrieve contacts, optionally filtered by account
curl https://crm.lornest.dev/api/contactscurl https://crm.lornest.dev/api/contacts?accountId=acc_001Retrieve sales opportunities, optionally filtered by account or stage
curl https://crm.lornest.dev/api/opportunitiescurl https://crm.lornest.dev/api/opportunities?accountId=acc_001curl https://crm.lornest.dev/api/opportunities?stage=NegotiationRetrieve activities (calls, emails, meetings, tasks), optionally filtered
curl https://crm.lornest.dev/api/activitiescurl https://crm.lornest.dev/api/activities?accountId=acc_001curl https://crm.lornest.dev/api/activities?type=callcurl https://crm.lornest.dev/api/activities?status=scheduled