OnePageCRM

App · 26 actions

Add and update contacts, deals and next actions in OnePageCRM, and log notes, calls and meetings.

Actions

ActionWhat it does
Add tag to contactPut a tag on a contact, matching an existing tag whatever its case.
Change contact statusSet a contact's status.
Complete actionMark an action as done.
Create actionAdd a next action for a contact.
Create contactAdd a contact to OnePageCRM.
Create dealAdd a deal for a contact.
Create noteLog a note on a contact.
Delete contactDelete a contact.
Delete dealDelete a deal.
Get companyGet one company.
Get contactGet one contact, with their next action.
Get dealGet one deal.
List actionsList next actions in Action Stream order: ASAP first, then by due date.
List callsList phone calls logged with contacts.
List companiesList companies, filtered and sorted as you choose.
List contactsList contacts, filtered and sorted as you choose.
List dealsList deals, filtered and sorted as you choose.
List meetingsList meetings logged with contacts.
List notesList notes logged on contacts.
List pipelinesList your deal pipelines and their stages.
List statusesList the contact statuses on your account, such as Lead or Customer.
List usersList the users on your OnePageCRM account.
Log callLog a phone call with a contact.
Log meetingLog a meeting with a contact.
Update contactChange a contact.
Update dealChange a deal.

Add tag to contact

Put a tag on a contact, matching an existing tag whatever its case.

Inputs

Contact IDcontact_idtextRequired
The contact. Use an ID from List contacts or an earlier step.
Tagtag_nametextRequired
The tag to add.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Change contact status

Set a contact's status.

Inputs

Contact IDcontact_idtextRequired
The contact. Use an ID from List contacts or an earlier step.
Statusstatus_idtextRequired
The status to set.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "contact": {
        "address_list": [
          {
            "address": "Unit 5, Business Innovation Centre",
            "city": "Upper Newcastle",
            "country_code": "IE",
            "state": "Galway",
            "type": "work",
            "zip_code": "H91 Y0T0"
          }
        ],
        "background": "Met at the annual Eco Conference.",
        "company_id": "5aba31ea9007ba0f570c92d5",
        "company_name": "Morgan's Forensic Lab",
        "created_at": "2018-05-16T11:52:09Z",
        "emails": [
          {
            "type": "work",
            "value": "joe.bloggs@example.com"
          }
        ],
        "first_name": "Joe",
        "id": "5aba31ea9007ba0f570c92d4",
        "job_title": "Engineer",
        "last_name": "Bloggs",
        "lead_source": "Email or Web",
        "lead_source_id": "email_web",
        "modified_at": "2018-05-16T11:52:09Z",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pending_deal": true,
        "phones": [
          {
            "type": "work",
            "value": "(912) 644-1770"
          }
        ],
        "starred": true,
        "status": "Prospect",
        "status_id": "5e31e030849d781e837b6ba1",
        "tags": [
          "VIP"
        ],
        "title": "Mr",
        "total_pendings": 999.99,
        "urls": [
          {
            "type": "linkedin",
            "value": "https://www.linkedin.com/in/joe-bloggs"
          }
        ]
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Complete action

Mark an action as done.

Inputs

Action IDaction_idtextRequired
The action, from List actions or an earlier step.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "action": {
        "assignee_id": "5aba31e99007ba0f570c12f7",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "date": "2018-05-16",
        "done": false,
        "done_at": "2018-05-16",
        "exact_time": 1526472000,
        "id": "5aeac8789007ba56ffca92b9",
        "modified_at": "2018-05-16T12:52:09Z",
        "status": "date",
        "text": "Email Jane introducing our organisation"
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Create action

Add a next action for a contact.

Inputs

Contact IDcontact_idtextRequired
The contact the action is for.
ActiontexttextRequired
What to do, up to 140 characters.
Whenstatustext
When it is due. OnePageCRM uses On a date if left empty.One of: asap (As soon as possible), date (On a date), date_time (At a time), waiting (Waiting for), queued.
Due datedatedate
The day it is due, for On a date or At a time.
Due timeexact_timedate and time
The moment it is due, for At a time.
Assigned toassignee_idtext
The user to assign it to. Leave empty for yourself.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "action": {
        "assignee_id": "5aba31e99007ba0f570c12f7",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "date": "2018-05-16",
        "done": false,
        "done_at": "2018-05-16",
        "exact_time": 1526472000,
        "id": "5aeac8789007ba56ffca92b9",
        "modified_at": "2018-05-16T12:52:09Z",
        "status": "date",
        "text": "Email Jane introducing our organisation"
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Create contact

Add a contact to OnePageCRM.

Inputs

First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name. Give a last name or a company name.
Companycompany_nametext
Their company's name. OnePageCRM links an existing company with that name or makes one.
Job titlejob_titletext
Their job title.
Titletitletext
Their title.One of: Mr, Mrs, Ms.
Emailsemailslist
Their email addresses. This replaces any they already have.
Phonesphoneslist
Their phone numbers. This replaces any they already have.
Addressesaddress_listlist
Their addresses. This replaces any they already have.
Statusstatus_idtext
Their status. OnePageCRM uses Lead if left empty.
Tagstagslist
Tags to put on them. This replaces any they already have.
Lead source IDlead_source_idtext
The ID of their lead source, such as advertisement.
Backgroundbackgroundtext
Background notes about them.
Ownerowner_idtext
The user who owns them. Leave empty for yourself.
Starredstarredtrue/false
Turn on to star them.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "contact": {
        "address_list": [
          {
            "address": "Unit 5, Business Innovation Centre",
            "city": "Upper Newcastle",
            "country_code": "IE",
            "state": "Galway",
            "type": "work",
            "zip_code": "H91 Y0T0"
          }
        ],
        "background": "Met at the annual Eco Conference.",
        "company_id": "5aba31ea9007ba0f570c92d5",
        "company_name": "Morgan's Forensic Lab",
        "created_at": "2018-05-16T11:52:09Z",
        "emails": [
          {
            "type": "work",
            "value": "joe.bloggs@example.com"
          }
        ],
        "first_name": "Joe",
        "id": "5aba31ea9007ba0f570c92d4",
        "job_title": "Engineer",
        "last_name": "Bloggs",
        "lead_source": "Email or Web",
        "lead_source_id": "email_web",
        "modified_at": "2018-05-16T11:52:09Z",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pending_deal": true,
        "phones": [
          {
            "type": "work",
            "value": "(912) 644-1770"
          }
        ],
        "starred": true,
        "status": "Prospect",
        "status_id": "5e31e030849d781e837b6ba1",
        "tags": [
          "VIP"
        ],
        "title": "Mr",
        "total_pendings": 999.99,
        "urls": [
          {
            "type": "linkedin",
            "value": "https://www.linkedin.com/in/joe-bloggs"
          }
        ]
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Create deal

Add a deal for a contact.

Inputs

Contact IDcontact_idtextRequired
The contact the deal is with.
NamenametextRequired
The deal's name, up to 60 characters.
Amountamountnumber
Its value, per month for a multi-month deal.
Monthsmonthsnumber
How many months it is paid for: 1 for a one-off deal.At least 1.
Statusstatustext
Whether it is pending, won or lost.One of: pending, won, lost.
Stagestagenumber
How far a pending deal has got, as a pipeline stage number from 0 to 100.From 0 to 99.
Pipelinepipeline_idtext
The pipeline it is in.
Expected close dateexpected_close_datedate
When a pending deal should close.
Close dateclose_datedate
When a won or lost deal closed.
Datedatedate
The deal's date. OnePageCRM uses today if left empty.
Costcostnumber
Its cost.
Notestexttext
Notes on the deal.
Ownerowner_idtext
The user who owns it. Leave empty for yourself.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "deal": {
        "amount": 99.99,
        "author": "Jane D.",
        "close_date": "2018-04-15",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "contact_info": {
          "company": "Big Company Inc.",
          "contact_name": "Joe Bloggs"
        },
        "cost": 0.0,
        "created_at": "2018-03-15T16:10:45Z",
        "date": "2018-04-15",
        "expected_close_date": "2018-04-15",
        "id": "5aaa9b059007ba08c9ebaf58",
        "modified_at": "2018-03-15T16:10:45Z",
        "months": 1,
        "name": "Solar panels",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pipeline_id": "5c96306b849d78b896b6f8ca",
        "stage": 50,
        "status": "pending",
        "text": "Fingers crossed!",
        "total_amount": 99.99
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Create note

Log a note on a contact.

Inputs

Contact IDcontact_idtextRequired
The contact the note is about.
NotetexttextRequired
The note. [b]bold[/b] and [i]italic[/i] work.
Datedatedate
The note's date. OnePageCRM uses today if left empty.
Deal IDlinked_deal_idtext
A deal to link the note to.
Notifyuser_ids_to_notifylist
Users to notify about the note.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "note": {
        "author": "Jane D.",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "date": "2018-05-16",
        "id": "5afc1b69d556730b580596cb",
        "linked_deal_id": "5aaa9b059007ba08c9ebaf58",
        "modified_at": "2018-05-16T11:52:09Z",
        "text": "Met Jane at the ABC conference."
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Delete contact

Delete a contact.

Inputs

Contact IDcontact_idtextRequired
The contact to delete.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Delete deal

Delete a deal.

Inputs

Deal IDdeal_idtextRequired
The deal to delete.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Get company

Get one company.

Inputs

Companycompany_idtextRequired
The company.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "company": {
        "address": {
          "address": "Unit 5, Business Innovation Centre",
          "city": "Upper Newcastle",
          "country_code": "IE",
          "state": "Galway",
          "zip_code": "H91 Y0T0"
        },
        "contacts_count": 3,
        "created_at": "2018-05-16T11:52:09Z",
        "description": "For all your security needs",
        "id": "5aba31e99007ba0f570c92ac",
        "modified_at": "2018-05-16T11:52:09Z",
        "name": "Crockett & Tubbs Security",
        "pending_deals_count": 1,
        "phone": "(912) 644-1771",
        "total_pending_amount": 99.99,
        "total_won_amount": 999.99,
        "url": "https://example.com",
        "won_deals_count": 5
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Get contact

Get one contact, with their next action.

Inputs

Contact IDcontact_idtextRequired
The contact. Use an ID from List contacts or an earlier step.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "contact": {
        "address_list": [
          {
            "address": "Unit 5, Business Innovation Centre",
            "city": "Upper Newcastle",
            "country_code": "IE",
            "state": "Galway",
            "type": "work",
            "zip_code": "H91 Y0T0"
          }
        ],
        "background": "Met at the annual Eco Conference.",
        "company_id": "5aba31ea9007ba0f570c92d5",
        "company_name": "Morgan's Forensic Lab",
        "created_at": "2018-05-16T11:52:09Z",
        "emails": [
          {
            "type": "work",
            "value": "joe.bloggs@example.com"
          }
        ],
        "first_name": "Joe",
        "id": "5aba31ea9007ba0f570c92d4",
        "job_title": "Engineer",
        "last_name": "Bloggs",
        "lead_source": "Email or Web",
        "lead_source_id": "email_web",
        "modified_at": "2018-05-16T11:52:09Z",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pending_deal": true,
        "phones": [
          {
            "type": "work",
            "value": "(912) 644-1770"
          }
        ],
        "starred": true,
        "status": "Prospect",
        "status_id": "5e31e030849d781e837b6ba1",
        "tags": [
          "VIP"
        ],
        "title": "Mr",
        "total_pendings": 999.99,
        "urls": [
          {
            "type": "linkedin",
            "value": "https://www.linkedin.com/in/joe-bloggs"
          }
        ]
      },
      "next_action": {
        "assignee_id": "5aba31e99007ba0f570c12f7",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "date": "2018-05-16",
        "done": false,
        "done_at": "2018-05-16",
        "exact_time": 1526472000,
        "id": "5aeac8789007ba56ffca92b9",
        "modified_at": "2018-05-16T12:52:09Z",
        "status": "date",
        "text": "Email Jane introducing our organisation"
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Get deal

Get one deal.

Inputs

Deal IDdeal_idtextRequired
The deal, from List deals or an earlier step.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "deal": {
        "amount": 99.99,
        "author": "Jane D.",
        "close_date": "2018-04-15",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "contact_info": {
          "company": "Big Company Inc.",
          "contact_name": "Joe Bloggs"
        },
        "cost": 0.0,
        "created_at": "2018-03-15T16:10:45Z",
        "date": "2018-04-15",
        "expected_close_date": "2018-04-15",
        "id": "5aaa9b059007ba08c9ebaf58",
        "modified_at": "2018-03-15T16:10:45Z",
        "months": 1,
        "name": "Solar panels",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pipeline_id": "5c96306b849d78b896b6f8ca",
        "stage": 50,
        "status": "pending",
        "text": "Fingers crossed!",
        "total_amount": 99.99
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List actions

List next actions in Action Stream order: ASAP first, then by due date.

Inputs

Contact IDcontact_idtext
Only actions for this contact.
Companycompany_idtext
Only records for contacts at this company.
Assigned toassignee_idtext
Only actions assigned to this user.
Whenstatustext
Only actions of this kind.One of: asap (As soon as possible), date (On a date), date_time (At a time), waiting (Waiting for), queued, queued_with_date (Queued with a date), done.
Only donedonetrue/false
Turn on for completed actions only.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed), date (Due date).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "actions": [
        {
          "action": {
            "assignee_id": "5aba31e99007ba0f570c12f7",
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "created_at": "2018-05-16T11:52:09Z",
            "date": "2018-05-16",
            "done": false,
            "done_at": "2018-05-16",
            "exact_time": 1526472000,
            "id": "5aeac8789007ba56ffca92b9",
            "modified_at": "2018-05-16T12:52:09Z",
            "status": "date",
            "text": "Email Jane introducing our organisation"
          }
        }
      ],
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List calls

List phone calls logged with contacts.

Inputs

Contact IDcontact_idtext
Only calls with this contact.
Companycompany_idtext
Only records for contacts at this company.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed), call_time (Call time).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "calls": [
        {
          "call": {
            "author": "Jane D.",
            "call_result": "interested",
            "call_time_int": 1525273653,
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "created_at": "2018-05-16T11:52:09Z",
            "id": "5afc1b69d556730b580596cb",
            "modified_at": "2018-05-16T11:52:09Z",
            "phone_number": "(912) 644-1770 (mobile)",
            "recording_link": "https://example.com/recording.mp3",
            "text": "Mary is interested in coming in.",
            "via": "phone"
          }
        }
      ],
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List companies

List companies, filtered and sorted as you choose.

Inputs

Namenametext
Only companies whose name matches this.
Contact searchsearchtext
Only companies with a contact whose name, company or phone number matches this.
Phonephonetext
Only companies with this phone number.
Tagtagtext
Only companies with a contact who has this tag.
Statusstatus_idtext
Only companies with a contact who has this status.
Ownerowner_idtext
Only companies with a contact owned by this user.
Include team's contactsteamtrue/false
Turn on so the contact filters include contacts owned by other users.
Sort bysort_bytext
What to sort by.One of: name, created_at (Date added), modified_at (Date changed).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "companies": [
        {
          "company": {
            "address": {
              "address": "Unit 5, Business Innovation Centre",
              "city": "Upper Newcastle",
              "country_code": "IE",
              "state": "Galway",
              "zip_code": "H91 Y0T0"
            },
            "contacts_count": 3,
            "created_at": "2018-05-16T11:52:09Z",
            "description": "For all your security needs",
            "id": "5aba31e99007ba0f570c92ac",
            "modified_at": "2018-05-16T11:52:09Z",
            "name": "Crockett & Tubbs Security",
            "pending_deals_count": 1,
            "phone": "(912) 644-1771",
            "total_pending_amount": 99.99,
            "total_won_amount": 999.99,
            "url": "https://example.com",
            "won_deals_count": 5
          }
        }
      ],
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List contacts

List contacts, filtered and sorted as you choose.

Inputs

Searchsearchtext
Only contacts whose name, company or phone number matches this.
Emailemailtext
Only contacts with this email address.
Phonephonetext
Only contacts with this phone number.
Tagtagtext
Only contacts with this tag.
Statusstatus_idtext
Only contacts with this status.
Companycompany_idtext
Only records for contacts at this company.
Ownerowner_idtext
Only contacts owned by this user.
Include team's contactsteamtrue/false
Turn on to include contacts owned by other users.
Starredstarredtrue/false
Only starred contacts.
Has pending dealpending_dealtrue/false
Only contacts with a pending deal.
Lead source IDlead_source_idtext
Only contacts with this lead source.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed), first_name (First name), last_name (Last name), company_name (Company), name.
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "contacts": [
        {
          "contact": {
            "address_list": [
              {
                "address": "Unit 5, Business Innovation Centre",
                "city": "Upper Newcastle",
                "country_code": "IE",
                "state": "Galway",
                "type": "work",
                "zip_code": "H91 Y0T0"
              }
            ],
            "background": "Met at the annual Eco Conference.",
            "company_id": "5aba31ea9007ba0f570c92d5",
            "company_name": "Morgan's Forensic Lab",
            "created_at": "2018-05-16T11:52:09Z",
            "emails": [
              {
                "type": "work",
                "value": "joe.bloggs@example.com"
              }
            ],
            "first_name": "Joe",
            "id": "5aba31ea9007ba0f570c92d4",
            "job_title": "Engineer",
            "last_name": "Bloggs",
            "lead_source": "Email or Web",
            "lead_source_id": "email_web",
            "modified_at": "2018-05-16T11:52:09Z",
            "owner_id": "5aba31e99007ba0f570c12f7",
            "pending_deal": true,
            "phones": [
              {
                "type": "work",
                "value": "(912) 644-1770"
              }
            ],
            "starred": true,
            "status": "Prospect",
            "status_id": "5e31e030849d781e837b6ba1",
            "tags": [
              "VIP"
            ],
            "title": "Mr",
            "total_pendings": 999.99,
            "urls": [
              {
                "type": "linkedin",
                "value": "https://www.linkedin.com/in/joe-bloggs"
              }
            ]
          },
          "next_action": {
            "assignee_id": "5aba31e99007ba0f570c12f7",
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "created_at": "2018-05-16T11:52:09Z",
            "date": "2018-05-16",
            "done": false,
            "done_at": "2018-05-16",
            "exact_time": 1526472000,
            "id": "5aeac8789007ba56ffca92b9",
            "modified_at": "2018-05-16T12:52:09Z",
            "status": "date",
            "text": "Email Jane introducing our organisation"
          }
        }
      ],
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List deals

List deals, filtered and sorted as you choose.

Inputs

Searchsearchtext
Only deals whose name, contact or company matches this.
Statusstatustext
Only deals with this status.One of: pending, won, lost, closed (Won or lost).
Pipelinepipeline_idtext
Only deals in this pipeline.
Stagestagenumber
Only pending deals at this stage number.
Ownerowner_idtext
Only deals owned by this user.
Contact IDcontact_idtext
Only deals for this contact.
Companycompany_idtext
Only records for contacts at this company.
Tagtagtext
Only deals for contacts with this tag.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed), date (Deal date), close_date (Close date), expected_close_date (Expected close date).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed), date (Deal date), close_date (Close date), expected_close_date (Expected close date).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "deals": [
        {
          "deal": {
            "amount": 99.99,
            "author": "Jane D.",
            "close_date": "2018-04-15",
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "contact_info": {
              "company": "Big Company Inc.",
              "contact_name": "Joe Bloggs"
            },
            "cost": 0.0,
            "created_at": "2018-03-15T16:10:45Z",
            "date": "2018-04-15",
            "expected_close_date": "2018-04-15",
            "id": "5aaa9b059007ba08c9ebaf58",
            "modified_at": "2018-03-15T16:10:45Z",
            "months": 1,
            "name": "Solar panels",
            "owner_id": "5aba31e99007ba0f570c12f7",
            "pipeline_id": "5c96306b849d78b896b6f8ca",
            "stage": 50,
            "status": "pending",
            "text": "Fingers crossed!",
            "total_amount": 99.99
          }
        }
      ],
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List meetings

List meetings logged with contacts.

Inputs

Contact IDcontact_idtext
Only meetings with this contact.
Companycompany_idtext
Only records for contacts at this company.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed), meeting_time (Meeting time).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "max_page": 1,
      "meetings": [
        {
          "meeting": {
            "author": "Jane D.",
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "created_at": "2018-05-16T11:52:09Z",
            "id": "5afc1b69d556730b580596cb",
            "meeting_time_int": 1525273653,
            "modified_at": "2018-05-16T11:52:09Z",
            "place": "Meeting room 1",
            "text": "Walked through the proposal."
          }
        }
      ],
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List notes

List notes logged on contacts.

Inputs

Contact IDcontact_idtext
Only notes on this contact.
Companycompany_idtext
Only records for contacts at this company.
Changed sincemodified_sincedate
Only records changed on or after this day.
Date to filter ondate_filtertext
Which date From and To apply to. Use From and To or Changed since, not both.One of: created_at (Date added), modified_at (Date changed), date (Note date).
Fromsincedate
Only records whose chosen date is on or after this day.
Tountildate
Only records whose chosen date is on or before this day.
Sort bysort_bytext
What to sort by.One of: created_at (Date added), modified_at (Date changed), date (Note date).
Orderordertext
Ascending or descending, when sorting.One of: asc (Ascending), desc (Descending).
Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "max_page": 1,
      "notes": [
        {
          "note": {
            "author": "Jane D.",
            "contact_id": "5aba31ea9007ba0f570c92d4",
            "created_at": "2018-05-16T11:52:09Z",
            "date": "2018-05-16",
            "id": "5afc1b69d556730b580596cb",
            "linked_deal_id": "5aaa9b059007ba08c9ebaf58",
            "modified_at": "2018-05-16T11:52:09Z",
            "text": "Met Jane at the ABC conference."
          }
        }
      ],
      "page": 1,
      "per_page": 10,
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List pipelines

List your deal pipelines and their stages.

Inputs

Pagepagenumber
Which page to read, counting from 1.At least 1.
Page sizeper_pagenumber
How many a page holds, up to 100. OnePageCRM uses 10 if left empty.From 1 to 100.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "max_page": 1,
      "page": 1,
      "per_page": 10,
      "pipelines": [
        {
          "pipeline": {
            "default": true,
            "id": "5c96306b849d78b896b6f8ca",
            "name": "Default pipeline",
            "stages": [
              {
                "label": "Negotiation",
                "stage": 80
              }
            ],
            "type": "sales"
          }
        }
      ],
      "total_count": 1
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List statuses

List the contact statuses on your account, such as Lead or Customer.

Inputs

None.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": [
      {
        "status": {
          "color": "f96600",
          "description": "Actively selling to these people",
          "id": "5aead4809007ba56ffca942e",
          "status": "prospect",
          "text": "Prospect"
        }
      }
    ],
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

List users

List the users on your OnePageCRM account.

Inputs

None.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": [
      {
        "user": {
          "account_rights": [
            "admin"
          ],
          "company_name": "Big Company Inc.",
          "country_code": "IE",
          "email": "jane.doe@example.com",
          "first_name": "Jane",
          "id": "5aba31e99007ba0f570c12f7",
          "last_name": "Doe",
          "photo_url": "https://example.com/jane-doe.jpg"
        }
      }
    ],
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Log call

Log a phone call with a contact.

Inputs

Contact IDcontact_idtextRequired
The contact the call was with.
Resultcall_resulttext
The key of one of your account's call results, such as interested.
Notestexttext
Notes on the call.
Whencall_time_intdate and time
When the call happened. OnePageCRM uses now if left empty.
Phone numberphone_numbertext
The number called.
Recording linkrecording_linktext
A link to the call's recording.
Notifyuser_ids_to_notifylist
Users to notify about the call.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "call": {
        "author": "Jane D.",
        "call_result": "interested",
        "call_time_int": 1525273653,
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "id": "5afc1b69d556730b580596cb",
        "modified_at": "2018-05-16T11:52:09Z",
        "phone_number": "(912) 644-1770 (mobile)",
        "recording_link": "https://example.com/recording.mp3",
        "text": "Mary is interested in coming in.",
        "via": "phone"
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Log meeting

Log a meeting with a contact.

Inputs

Contact IDcontact_idtextRequired
The contact the meeting was with.
Notestexttext
Notes on the meeting.
Whenmeeting_time_intdate and time
When the meeting happened. OnePageCRM uses now if left empty.
Placeplacetext
Where it was, up to 100 characters.
Notifyuser_ids_to_notifylist
Users to notify about the meeting.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "meeting": {
        "author": "Jane D.",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "created_at": "2018-05-16T11:52:09Z",
        "id": "5afc1b69d556730b580596cb",
        "meeting_time_int": 1525273653,
        "modified_at": "2018-05-16T11:52:09Z",
        "place": "Meeting room 1",
        "text": "Walked through the proposal."
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Update contact

Change a contact. Only the fields you fill in are changed; lists you fill in replace the old ones.

Inputs

Contact IDcontact_idtextRequired
The contact. Use an ID from List contacts or an earlier step.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Companycompany_nametext
Their company's name. OnePageCRM links an existing company with that name or makes one.
Job titlejob_titletext
Their job title.
Titletitletext
Their title.One of: Mr, Mrs, Ms.
Emailsemailslist
Their email addresses. This replaces any they already have.
Phonesphoneslist
Their phone numbers. This replaces any they already have.
Addressesaddress_listlist
Their addresses. This replaces any they already have.
Statusstatus_idtext
Their status.
Tagstagslist
Tags to put on them. This replaces any they already have.
Lead source IDlead_source_idtext
The ID of their lead source, such as advertisement.
Backgroundbackgroundtext
Background notes about them.
Ownerowner_idtext
The user who owns them. Leave empty for yourself.
Starredstarredtrue/false
Turn on to star them.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "contact": {
        "address_list": [
          {
            "address": "Unit 5, Business Innovation Centre",
            "city": "Upper Newcastle",
            "country_code": "IE",
            "state": "Galway",
            "type": "work",
            "zip_code": "H91 Y0T0"
          }
        ],
        "background": "Met at the annual Eco Conference.",
        "company_id": "5aba31ea9007ba0f570c92d5",
        "company_name": "Morgan's Forensic Lab",
        "created_at": "2018-05-16T11:52:09Z",
        "emails": [
          {
            "type": "work",
            "value": "joe.bloggs@example.com"
          }
        ],
        "first_name": "Joe",
        "id": "5aba31ea9007ba0f570c92d4",
        "job_title": "Engineer",
        "last_name": "Bloggs",
        "lead_source": "Email or Web",
        "lead_source_id": "email_web",
        "modified_at": "2018-05-16T11:52:09Z",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pending_deal": true,
        "phones": [
          {
            "type": "work",
            "value": "(912) 644-1770"
          }
        ],
        "starred": true,
        "status": "Prospect",
        "status_id": "5e31e030849d781e837b6ba1",
        "tags": [
          "VIP"
        ],
        "title": "Mr",
        "total_pendings": 999.99,
        "urls": [
          {
            "type": "linkedin",
            "value": "https://www.linkedin.com/in/joe-bloggs"
          }
        ]
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

Update deal

Change a deal. Only the fields you fill in are changed.

Inputs

Deal IDdeal_idtextRequired
The deal, from List deals or an earlier step.
Namenametext
The deal's name, up to 60 characters.
Amountamountnumber
Its value, per month for a multi-month deal.
Monthsmonthsnumber
How many months it is paid for: 1 for a one-off deal.At least 1.
Statusstatustext
Whether it is pending, won or lost.One of: pending, won, lost.
Stagestagenumber
How far a pending deal has got, as a pipeline stage number from 0 to 100.From 0 to 99.
Pipelinepipeline_idtext
The pipeline it is in.
Expected close dateexpected_close_datedate
When a pending deal should close.
Close dateclose_datedate
When a won or lost deal closed.
Datedatedate
The deal's date. OnePageCRM uses today if left empty.
Costcostnumber
Its cost.
Notestexttext
Notes on the deal.
Ownerowner_idtext
The user who owns it. Leave empty for yourself.

Outputs

dataobject
The response from OnePageCRM.
Example output
{
  "data": {
    "data": {
      "deal": {
        "amount": 99.99,
        "author": "Jane D.",
        "close_date": "2018-04-15",
        "contact_id": "5aba31ea9007ba0f570c92d4",
        "contact_info": {
          "company": "Big Company Inc.",
          "contact_name": "Joe Bloggs"
        },
        "cost": 0.0,
        "created_at": "2018-03-15T16:10:45Z",
        "date": "2018-04-15",
        "expected_close_date": "2018-04-15",
        "id": "5aaa9b059007ba08c9ebaf58",
        "modified_at": "2018-03-15T16:10:45Z",
        "months": 1,
        "name": "Solar panels",
        "owner_id": "5aba31e99007ba0f570c12f7",
        "pipeline_id": "5c96306b849d78b896b6f8ca",
        "stage": 50,
        "status": "pending",
        "text": "Fingers crossed!",
        "total_amount": 99.99
      }
    },
    "message": "OK",
    "status": 0,
    "timestamp": 1528373119
  }
}

On this page