ChartMogul

App · 20 actions

ChartMogul account, customers, contacts, data sources, tags and metrics.

Actions

ActionWhat it does
Add customer tagsAdd customer tags.
Create contactCreate contact.
Create customerCreate customer.
Create data sourceCreate data source.
Delete contactDelete contact.
Delete customerDelete customer.
Delete data sourceDelete data source.
Get accountGet account.
Get contactGet contact.
Get customerGet customer.
Get customer attributesGet customer attributes.
Get data sourceGet data source.
Get metricsGet metrics.
List contactsList contacts.
List customersList customers.
List data sourcesList data sources.
Remove customer tagsRemove customer tags.
Set customer attributesSet customer attributes.
Update contactUpdate contact.
Update customerUpdate customer.

Add customer tags

Add customer tags.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.
TagstagslistRequired
Tags.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "tags": []
  }
}

Create contact

Create contact.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
Emailemailtext
Email.
Titletitletext
Title.
Phonephonetext
Phone.
Linked inlinked_intext
Linked in.
Twittertwittertext
Twitter.
Notesnotestext
Notes.
Data source uuiddata_source_uuidtext
Data source uuid.
External idexternal_idtext
External id.
Last seenlast_seendate and time
Last seen.
Customcustomlist
Custom.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "customer_uuid": "example",
    "email": "example",
    "first_name": "example",
    "last_name": "example",
    "uuid": "example"
  }
}

Create customer

Create customer.

Inputs

NamenametextRequired
Name.
External idexternal_idtextRequired
External id.
Data source uuiddata_source_uuidtextRequired
Data source uuid.
Emailemailtext
Email.
Countrycountrytext
Two-letter country code.One of: AD (Andorra), AE (United Arab Emirates), AF (Afghanistan), AG (Antigua & Barbuda), AI (Anguilla), AL (Albania), AM (Armenia), AO (Angola), AQ (Antarctica), AR (Argentina), and 240 more.
Statestatetext
State.
Citycitytext
City.
Lead created atlead_created_atdate and time
Lead created at.
Free trial started atfree_trial_started_atdate and time
Free trial started at.
Attributesattributesobject
Attributes.
Primary contactprimary_contactobject
Primary contact.
Website urlwebsite_urltext
Website url.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "attributes": {},
    "city": "example",
    "country": "example",
    "created_at": "example",
    "data_source_uuid": "example",
    "email": "example",
    "external_id": "example",
    "name": "example",
    "state": "example",
    "updated_at": "example",
    "uuid": "example"
  }
}

Create data source

Create data source.

Inputs

NamenametextRequired
Name.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "created_at": "example",
    "name": "example",
    "status": "example",
    "system": "example",
    "uuid": "example"
  }
}

Delete contact

Delete contact.

Inputs

Contact uuidcontact_uuidtextRequired
Contact uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {}
}

Delete customer

Delete customer.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {}
}

Delete data source

Delete data source.

Inputs

Data source uuiddata_source_uuidtextRequired
Data source uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {}
}

Get account

Get account.

Inputs

None.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "currency": "example",
    "name": "example",
    "time_zone": "example"
  }
}

Get contact

Get contact.

Inputs

Contact uuidcontact_uuidtextRequired
Contact uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "customer_uuid": "example",
    "email": "example",
    "first_name": "example",
    "last_name": "example",
    "uuid": "example"
  }
}

Get customer

Get customer.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "attributes": {},
    "city": "example",
    "country": "example",
    "created_at": "example",
    "data_source_uuid": "example",
    "email": "example",
    "external_id": "example",
    "name": "example",
    "state": "example",
    "updated_at": "example",
    "uuid": "example"
  }
}

Get customer attributes

Get customer attributes.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "custom": {},
    "tags": []
  }
}

Get data source

Get data source.

Inputs

Data source uuiddata_source_uuidtextRequired
Data source uuid.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "created_at": "example",
    "name": "example",
    "status": "example",
    "system": "example",
    "uuid": "example"
  }
}

Get metrics

Get metrics.

Inputs

Start datestart_datedateRequired
Start date.
End dateend_datedateRequired
End date.
Intervalintervaltext
Interval.One of: day, week, month, quarter.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "entries": [],
    "summary": {}
  }
}

List contacts

List contacts.

Inputs

Per pageper_pagenumber
Per page.From 1 to 200.
Cursorcursortext
Cursor.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "cursor": "example",
    "entries": [],
    "has_more": false
  }
}

List customers

List customers.

Inputs

Per pageper_pagenumber
Per page.From 1 to 200.
Cursorcursortext
Cursor.
Emailemailtext
Email.
Data source uuiddata_source_uuidtext
Data source uuid.
External idexternal_idtext
External id.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "cursor": "example",
    "entries": [],
    "has_more": false
  }
}

List data sources

List data sources.

Inputs

Namenametext
Name.
Systemsystemtext
System.
With auto churn subscription settingwith_auto_churn_subscription_settingtrue/false
With auto churn subscription setting.
With invoice handling settingwith_invoice_handling_settingtrue/false
With invoice handling setting.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "data_sources": []
  }
}

Remove customer tags

Remove customer tags.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.
TagstagslistRequired
Tags.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "tags": []
  }
}

Set customer attributes

Set customer attributes.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.
CustomcustomlistRequired
Custom.

Outputs

dataobject
Api result.
Example output
{
  "data": {}
}

Update contact

Update contact.

Inputs

Contact uuidcontact_uuidtextRequired
Contact uuid.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
Emailemailtext
Email.
Titletitletext
Title.
Phonephonetext
Phone.
Linked inlinked_intext
Linked in.
Twittertwittertext
Twitter.
Notesnotestext
Notes.
Data source uuiddata_source_uuidtext
Data source uuid.
External idexternal_idtext
External id.
Last seenlast_seendate and time
Last seen.
Customcustomlist
Custom.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "customer_uuid": "example",
    "email": "example",
    "first_name": "example",
    "last_name": "example",
    "uuid": "example"
  }
}

Update customer

Update customer.

Inputs

Customer uuidcustomer_uuidtextRequired
Customer uuid.
Namenametext
Name.
Emailemailtext
Email.
Countrycountrytext
Two-letter country code.One of: AD (Andorra), AE (United Arab Emirates), AF (Afghanistan), AG (Antigua & Barbuda), AI (Anguilla), AL (Albania), AM (Armenia), AO (Angola), AQ (Antarctica), AR (Argentina), and 240 more.
Statestatetext
State.
Citycitytext
City.
Lead created atlead_created_atdate and time
Lead created at.
Free trial started atfree_trial_started_atdate and time
Free trial started at.
Attributesattributesobject
Attributes.
Primary contactprimary_contactobject
Primary contact.
Website urlwebsite_urltext
Website url.

Outputs

dataobject
Api result.
Example output
{
  "data": {
    "attributes": {},
    "city": "example",
    "country": "example",
    "created_at": "example",
    "data_source_uuid": "example",
    "email": "example",
    "external_id": "example",
    "name": "example",
    "state": "example",
    "updated_at": "example",
    "uuid": "example"
  }
}

On this page