Cubicl Docs
  • What is Cubicl?
  • Starting
    • Get to Know Cubicl
    • Frequently Asked Questions (FAQ)
    • First Steps in Cubicl
      • How Do I Track My Tasks?
      • How Do I Create a Project Plan?
      • How Do I Communicate with My Team?
      • How Do I Stay Informed About Progress?
      • How to Create a Task?
    • Cubicl Mobile Application
  • Task and Project Management
    • Projects
      • Tasks Page
      • Files Page
      • Gantt Chart
        • Features Of Gantt Chart
        • Tips for Planning a Project
      • Timeline Chart
      • Calendar
      • Reports
      • Project Settings
    • Create Tasks
      • Task Details Page
      • Other Settings on Tasks
    • Chat
    • E-mail to Task
    • Workflows
    • Automation
    • Integrations
    • Custom Actions
    • Forms
    • Search Across
  • CRM
    • Clients
    • Deals
    • Client Portal
    • Bookkeeping
  • User Pages
    • Home Page
    • My Calendar
    • Sticky Notes
    • Account, E-mail and Notification Settings
    • Account Security
  • Organization and User Settings
    • Organization Settings
    • Subscription and Payment
    • User Permissions
    • Time-Offs
  • 🖥️API Integration
    • Introduction
    • Users
    • Projects
    • Tasks
    • Files
    • Clients
    • Chat
    • Bookkeeping
    • Webhooks
Powered by GitBook
On this page
  • Endpoints
  • Get Clients
  • Get Client By Id
  • Create Client
  • Update Client
  • Delete Client
  • Data

Was this helpful?

  1. API Integration

Clients

Definitions of the types and format of the data used in the endpoints can be found at the bottom of the page.

Endpoints

Get Clients

GET https://cubicl.io/api/v1/crm/customers

Gets clients matching the search criteria.

Query Parameters

Name
Type
Description

name

string

Text to be searched in client name.

A match will occur only if a word in the client name starts with the given search text.

Search is case insensitive.

email

string

Text to be searched in client or contact mail addresses.

Search is case insensitive.

includeAllFields

string

true to get all client fields.

false to get only name.

Default is false.

skip

number

Default is 0.

limit

number

Default is 10.

Client[]

Get Client By Id

GET https://cubicl.io/api/v1/crm/customers/:id

Path Parameters

Name
Type
Description

id*

string

Client ID

Client
{ code: 4 }

Create Client

POST https://cubicl.io/api/v1/crm/customers

Check the Client type definition below for field descriptions.

Request Body

Name
Type
Description

name*

string

fullname

string

email

string

phone

string

contacts

Contact[]

customFields

object

portalCustomerManagerIds

string[]

Client

Update Client

PUT https://cubicl.io/api/v1/crm/customers/:id

Check the Client type definition below for field descriptions.

Request Body

Name
Type
Description

name*

string

fullname

string

email

string

phone

string

contacts

Contact[]

customFields

object

portalCustomerManagerIds

string[]

Client

Delete Client

DELETE https://cubicl.io/api/v1/crm/customers/:id

Data

Clients

type Client = {
    _id: string;
    name: string; // A short name shown in UI and used for search
    phone: string;
    email: string;
    fullname: string;
    // People working at this client you are in contact with
    contacts: Contact[];
    // An object where keys are custom field ids and values are field values
    // customFields can be null
    customFields: {
        [fieldId: string]: string | null
    } | null;
    // List of user ids who get notifications for activities from portal users
    // of this client
    portalCustomerManagerIds: string[];
    createdAt: number;
}

Contacts

type Contact = {
    name: string;
    position: string;
    phone: string;
    email: string;
}
PreviousFilesNextChat

Last updated 10 months ago

Was this helpful?

🖥️