Skip to main content
BlueAI
Home/CRM/Overview

CRM Reference

CRM domain API for managing customers, deals, and activity history

|
Deals

Create, update, and manage deals including stage management and activity history.

  • GET/api/v1/crm/dealsList deals
  • POST/api/v1/crm/dealsCreate a deal
  • GET/api/v1/crm/deals/{id}Get deal details
  • PATCH/api/v1/crm/deals/{id}Update a deal
  • DELETE/api/v1/crm/deals/{id}Delete a deal
  • POST/api/v1/crm/deals/{id}/stageUpdate deal stage
  • GET/api/v1/crm/deals/{id}/activitiesGet deal activities
Companies

Register and manage partner companies.

  • GET/api/v1/crm/companiesList companies
  • POST/api/v1/crm/companiesCreate a company
  • GET/api/v1/crm/companies/{id}Get company details
  • PATCH/api/v1/crm/companies/{id}Update a company
  • DELETE/api/v1/crm/companies/{id}Delete a company
Contacts

Manage contact information for partner companies.

  • GET/api/v1/crm/contactsList contacts
  • GET/api/v1/crm/contacts/{id}Get contact details
  • POST/api/v1/crm/contactsCreate a contact
  • PATCH/api/v1/crm/contacts/{id}Update a contact
  • DELETE/api/v1/crm/contacts/{id}Delete a contact
Activities

Record activities (notes, calls, emails, etc.) associated with deals and contacts.

  • GET/api/v1/crm/activitiesList activities
  • POST/api/v1/crm/activitiesCreate an activity
  • PATCH/api/v1/crm/activities/{id}Update an activity
  • DELETE/api/v1/crm/activities/{id}Delete an activity
Pipelines

Define and customize sales pipelines. Supports multiple pipelines (e.g., sales, partnerships).

  • GET/api/v1/crm/pipelinesList pipelines
  • POST/api/v1/crm/pipelinesCreate a pipeline
  • GET/api/v1/crm/pipelines/{id}Get a pipeline
  • PATCH/api/v1/crm/pipelines/{id}Update a pipeline
  • DELETE/api/v1/crm/pipelines/{id}Delete a pipeline
Tags

Manage tags for deals, companies, and contacts. Filter resources by tags.

  • GET/api/v1/crm/tagsList tags
  • POST/api/v1/crm/tagsCreate a tag
  • PATCH/api/v1/crm/tags/{id}Update a tag
  • DELETE/api/v1/crm/tags/{id}Delete a tag
  • POST/api/v1/crm/tag-assignmentsAssign a tag to a resource
  • DELETE/api/v1/crm/tag-assignments/{tag_id}Remove a tag from a resource
Custom Fields

Add user-defined fields to deals, companies, and contacts. Supports text, number, date, and select field types.

  • GET/api/v1/crm/custom-fieldsList custom field definitions
  • POST/api/v1/crm/custom-fieldsCreate a custom field definition
  • PATCH/api/v1/crm/custom-fields/{id}Update a custom field definition
  • DELETE/api/v1/crm/custom-fields/{id}Delete a custom field definition
Reports

Retrieve sales reports including pipeline forecasts, revenue projections, and stage distribution.

  • GET/api/v1/crm/reports/pipeline-summaryGet pipeline summary
  • GET/api/v1/crm/reports/forecastGet revenue forecast
  • GET/api/v1/crm/reports/owner-performanceGet performance by owner
Bulk Operations

Bulk stage changes, deletions, and CSV import/export for deals and contacts.

  • POST/api/v1/crm/bulk/deals/updateBulk update deals
  • POST/api/v1/crm/bulk/deals/deleteBulk delete deals
  • POST/api/v1/crm/bulk/contacts/importImport contacts from CSV
  • GET/api/v1/crm/bulk/deals/exportExport deals to CSV
  • GET/api/v1/crm/bulk/contacts/exportExport contacts to CSV
  • GET/api/v1/crm/bulk/companies/exportExport companies to CSV
Audit Logs

Retrieve operation history (create, update, delete, etc.) within the CRM domain.

  • GET/api/v1/crm/audit-logsList audit logs