Skip to content

CRM / Contacts API 🟑 BETA

The CRM family holds the routes mounted for contacts, companies, deals and tickets.

Developer guide map

Endpoints

Exact lines from the Generated api-crm reference; the generated page is the full table.

Method Path
GET /api/crm/accounts
GET /api/crm/accounts/:param
GET /api/crm/accounts/search
GET /api/crm/activities
POST /api/crm/ai/generate
POST /api/crm/ai/personalize
GET /api/crm/audit
GET /api/crm/campaigns

Example

Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).

GET /api/crm/accounts HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK

What it does

Capability Verified endpoint Registered in
Crm accounts GET /api/crm/accounts botserver/crates/botcontacts/src/routes.rs
Crm accounts GET /api/crm/accounts/:param botserver/crates/botcontacts/src/routes.rs
Search accounts GET /api/crm/accounts/search botserver/crates/botcontacts/src/routes.rs
Crm activities GET /api/crm/activities botserver/crates/botcontacts/src/routes.rs
Ai generate POST /api/crm/ai/generate botserver/crates/botmarketing/src/routes.rs
Ai personalize POST /api/crm/ai/personalize botserver/crates/botmarketing/src/routes.rs
Crm audit GET /api/crm/audit botserver/crates/botcontacts/src/routes.rs
Crm campaigns GET /api/crm/campaigns botserver/crates/botmarketing/src/routes.rs

Limits

  • The Generated api-crm reference is authoritative: no endpoint outside its table is inferred here.
  • Routes require an authenticated session unless listed in the anonymous allowlist in botsecurity-auth/src/auth_api/public_routes.rs.
  • The generated table does not model request or response fields; consult the mounted handler for them.