Introduction¶
The Wealthbox API consists of REST-based resource URLs which provide a predictable way to interact with Wealthbox over JSON or XML.
The Wealthbox API gives you powerful read/write access to your CRM account data, allowing you to build integrations with your other preferred tools.
API Endpoint
https://api.crmworkspace.comAuthentication¶
Every request to the Wealthbox CRM needs to be identified and authorized. In order to do this, you must provide API credentials, which can take the form of an API access token, provided inside your personal settings, or by leveraging our OAuth 2.0 authentication flow.
Authenticating with a personal API access token
Personal API access tokens are reserved for building personal integrations — such as those to in-house
systems — and testing integration capabilities. If you are a current or future integration partner who
makes your app available to mutual customers, authenticating with OAuth is required for co-marketing and release.
Authenticate your account when using the API by including an API access token in the request header.
In order to obtain a new access token or to manage your existing tokens, please visit the API access token settings page. From there, simply click 'Create Access Token' and give the token a name. That token should then be
passed as an HTTP Header, with the name ACCESS_TOKEN, in all requests to the API.
Authenticating with OAuth
The Wealthbox API allows authenticating with OAuth 2.0 using authorization code grants as well
as refresh token grants as defined in RFC6749. Authorization is scoped to individual users
(who may have different permissions from one another) rather than organizations.
To begin, you’ll need to register so we can issue a client ID and client secret which will uniquely
identify your application to us. The client ID is a public value which will be exposed when the authorization flow begins in the user’s browser.
The client secret, though, will be known only to you and us and is used to verify your identity. You will need to store it safely.
If your client secret is compromised, please contact us immediately so we can deactivate it and issue a replacement.
To implement OAuth for your application, please email support@wealthbox.com with your request and details about your application.
The basic flow of OAuth is as follows:
Most of the following information is about OAuth 2.0 in general and isn’t unique to Wealthbox, in the examples below, we’ll use placeholder values forclient_id, client_secretandredirect_uriwhich you’ll need to replace with your unique values.
- The code grant flow begins in a user’s browser. You should navigate them to
https://app.crmworkspace.com/oauth/authorizewith the following query parameters appended to the URL:# Parameters client_id => required redirect_uri => required(must match the URI that was registered) response_type => required(only "code" authorization flow supported) scope => optional(available scopes are (login, data) login is default if not included)
# Example GET https://app.crmworkspace.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=CALLBACK_URL&response_type=code&scope=login+data - If the user isn’t currently logged in to their Wealthbox account, they’ll be prompted for their Wealthbox credentials first.
- After entering their credentials, the user will be shown an authorization page to grant your application access to the Wealthbox API on their behalf.
- After the user has granted access, the browser will navigate to your redirect URI. This will include the authorization code in the query string.
- Your application can then exchange the authorization code for an access token via POST to
https://app.crmworkspace.com/oauth/tokenwith anapplication/x-www-form-urlencodedpayload (like query parameters, but in the body instead of the URL). This should occur immediately as the authorization code has a brief lifetime.# Parameters client_id => required client_secret => required code => required(the code value which was included with the redirect) grant_type => required(only "authorization_code" supported) redirect_uri => required(must match the URI that was registered)
# Example POST POST /oauth/token HTTP/1.1 Host: app.crmworkspace.com Accept: application/json Content-Length: 255 Content-Type: application/x-www-form-urlencoded https://app.crmworkspace.com/oauth/token?client_id=CLIENT_ID&client_secret=CLIENT_SECRET&code=CODE&grant_type=authorization_code&redirect_uri=CALLBACK_URL
# Example Response (application/json) { "access_token":"de6780bc506a0446309bd9362820ba8aed28aa506c71eedbe1c5c4f9dd350e54", "created_at":10588285800, "expires_in":7200, "refresh_token":"8257e65c97202ed1726cf9571600918f3bffb2544b26e00a61df9897668c33a1", "scope":"login data", "token_type":"Bearer" } - Currently, each
access_tokenlives for two hours. Therefresh_tokenlives for 90 days. - If your access token expires, you will need to use the refresh token to POST to
https://app.crmworkspace.com/oauth/token. This is similar to step 5 exceptgrant_typemust be set to "refresh_token"# Parameters client_id => required client_secret => required grant_type => required(must be "refresh_token") refresh_token => required(the previously obtained refresh_token value) - If your refresh token has expired, you will need to start the process over from step 1. We recommend that apps autonomously connect to Wealthbox CRM using the refresh token, within the 90 day window, if they want to avoid forcing the user to reauthenticate.
CORS Policy
We support cross-origin resource sharing, allowing you to interact securely with our API from a client-side web application. For API applications running in a web browser, we can authorize your origin domain to comply with browser-based CORS security policies. Please email support@wealthbox.com with your request and details about your application.
Example Request with API access token
$ curl https://api.crmworkspace.com/v1/contacts -i \
-H "ACCESS_TOKEN:12345678901234567890123456789012"Example Request with OAuth access token
$ curl https://api.crmworkspace.com/v1/contacts -i \
-H "AUTHORIZATION: Bearer 12345678901234567890123456789012"Errors¶
Wealthbox uses standard HTTP response codes to indicate the status of an API request. Generally, 2xx response codes indicate success, 4xx represents a problem that occurred (e.x., authentication token was not included in request, or required fields were not present to create a "contact"). 5xx codes indicate there was an error on the server, even though your request appears valid.
HTTP Status Code Summary
| 200 - OK | Everything worked as expected. |
|---|---|
| 201 - Authorization token created | After a successful authorization via the API, an access token was created. |
| 202 - Two-Factor Authentication required | After a successful authorization via the API, Two-Factor authentication is required. |
| 400 - Bad Request | The request could not be understood by the server due to malformed syntax. |
| 401 - Unauthorized | No valid API key provided. |
| 402 - Trial expired | Your Wealthbox trial account has expired. |
| 403 - Inaccessible | The requesting user does not have permission to view the resource. |
| 404 - Not Found | The requested item doesn't exist. |
| 422 - Invalid request parameters | Your request was invalid and rejected by the server. |
| 422 - Unprocessable Entity | The content-type in the header may be invalid or the object sent doesn't match the content-type that was set. |
| 429 - Too Many Requests | Too many requests hit the API too quickly. |
| 5xx - Server Errors | Wealthbox error (Rare occurrence.) |
Pagination¶
All resources in the API have support for retrieving in bulk via the list methods. For example, you could list all contacts, or all notes in your workspace.
We utilize a page-based system for listing items in bulk. This requires both per_page and a page
parameter to be passed when retrieving paginated data (see below).
- per_pagenumber
- 25 (default)
- pagenumber
- 1 (default)
Example Request
$ curl https://api.crmworkspace.com/v1/contacts?per_page=50&page=2 -i \
-H "ACCESS_TOKEN:12345678901234567890123456789012"Responses from the API¶
Each request made to the API will generate a JSON or XML response. The responses can be classified into 3 distinct types.
Successful response returning a single resource
When returning a single resource, the object is represented as a JSON object of its properties.
Successful response returning a collection of resources
When returning a collection of resources, the collection is returned as a JSON object, whose key is
the plural version of the resource, for example /v1/contacts returns a JSON
object whose key is contacts. The object contains an array of the resources
stored at that key. It is important to remember that these collections are not ordered, so their
order can not be counted on.
Unsuccessful response
When a request is unsuccessful the API will return a JSON object with 2 keys, success,false and an errors key which describes the error.
Versioning¶
When we make backwards-incompatible changes to the API we will release a new version. Examples of a backwards-compatible change that would not result in a new version would be adding a new endpoint, changing the order of properties in an API response, or adding a new optional property to an existing endpoint.
The current API version is v1, so any requests should include this in the URL.
Example Request
$ curl https://api.crmworkspace.com/v1/contacts -i \
-H "ACCESS_TOKEN:12345678901234567890123456789012"Throttling¶
All requests made to the Wealthbox API are subject to throttling based on the API access token being used to make the request. The throttling rate is one request/second over a five minute sampling period, although, the Wealthbox API will permit short bursts of activity above that threshold. If you have made more requests to the Wealthbox API than permitted a 429 status code is returned to indicate that you have exceeded our rate limit for that period.
Retrieve login profile information¶
GET Retrieve login profile information/v1/me
This endpoint will return information about the user’s login profile.
- idnumber
The id of the user’s login profile
- namestring
The name associated with the login profile
- first_namestring
The first name associated with the login profile
- last_namestring
The last name associated with the login profile
- emailstring
The email associated with the login profile
- planstring
The subscribed plan of the login profile
- created_atDatetime
A timestamp representing when the login profile was created
- updated_atDatetime
A timestamp for when the login profile was last updated
- current_userAccountUser
The user that is authorized with the API token used. All API calls with this token will be performed in this user’s account (workspace)
- idnumber
The id of the user
- emailstring
The email associated with the user’s login profile
- namestring
The name associated with the user’s login profile
- accountnumber
The id of the user’s account (workspace)
- accountsArray (Account)
An array of accounts (workspaces) that the user’s login profile has access to
- idnumber
The id of the account (workspace)
- namestring
The name of the account (workspace)
- created_atDatetime
The timestamp representing when the account (workspace) was created
- usersArray (AccountUser)
An array of users associated with the login profile
- idnumber
The id of the user
- emailstring
The email associated with the user’s login profile
- namestring
The name associated with the user’s login profile
- accountnumber
The id of the user’s account (workspace)
200Body
{
"id": 1,
"name": "Bill Jones",
"first_name": "Bill",
"last_name": "Jones",
"email": "bill@example.com",
"plan": "premier",
"created_at": "2015-05-24 10:00 AM -0500",
"updated_at": "2015-10-12 11:30 PM -0500",
"current_user": {
"id": 1,
"email": "bill@example.com",
"name": "Bill Jones",
"account": 1
},
"accounts": [
{
"id": 1,
"name": "ABC Financial",
"created_at": "2015-05-24 10:00 AM -0500"
}
],
"users": [
{
"id": 1,
"email": "bill@example.com",
"name": "Bill Jones",
"account": 1
}
]
}Retrieve activity stream¶
GET Retrieve activity stream/v1/activity{?contact}{?cursor}{?updated_since}{?updated_before}
This endpoint will return all of the activity stream items for the user who has authenticated with their access token.
- contactnumber
The id of the contact whose stream items you are requesting
- cursorstring
Use
cursorto retrieve the next page of stream items. Page-based activity stream pagination is deprecated and will be removed in a later Wealthbox API version.- updated_sincestring
Only returns stream items updated on or after this timestamp
- updated_beforestring
Only returns stream items updated on or before this timestamp
- stream_itemsArray (StreamItem)
- idnumber
The id of the stream item being returned
- creatornumber
The id of the user who created the stream item
- created_atDatetime
A timestamp representing when the stream item was created.
- updated_atDatetime
A timestamp representing when the stream item was last updated.
- bodystring, required
The main body of the stream item returned as HTML
- linked_toDocument
The document this stream item is related to
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- iconstring
A URL linking to the closet icon for the feed
200Body
{
"stream_items": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"body": "Spoke with Kevin Anderson on the phone...",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"icon": "https://example.com/icon.png"
}
]
}Retrieve all contacts¶
GET Retrieve all contacts/v1/contacts{?id}{?contact_type}{?name}{?email}{?phone}{?active}{?tags}{?deleted}{?household_title}{?type}{?order}{?updated_since}{?updated_before}{?external_unique_id}
When retrieving contacts, results can optionally be filtered by the following parameters. The parameters that can be used are listed below and can be used individually or in any combination.
- idnumber
The ID of the contact that you are searching for
- contact_typestring
The contact type of the contact that should be returned from the endpoint
- namestring
The name that you wish to search for. This field supports partial matches, and searches all of the following name fields: prefix, first name, middle name, last name, suffix, nickname, and full name (for households, companies, and trusts)
- emailstring
The email address you wish to filter the contacts by
- phonestring
The phone number you wish to filter the contacts by, you may include any delimiters you would like (
-,(), they will be stripped on the server before matching- external_unique_idstring
The external unique identifier to filter contacts by
- activeboolean
Only returns contacts whose active flag match the specified value
- tagsarray[string]
Only returns contacts with one of the specified tags
- deletedboolean
Returns deleted items for this endpoint with attributes for id and deleted_at
- household_titlestring
The household title you wish to filter the household title
Choices:
HeadSpouseParentOther DependentChildSiblingPartnerGrandchildGrandparent- typestring
The type of the contact that should be returned from the endpoint
Choices:
personhouseholdorganizationtrust- orderstring
The order that the contacts should be returned in
Choices:
ascdescrecentcreatedupdated- updated_sincestring
Only returns contacts updated on or after this timestamp
- updated_beforestring
Only returns contacts updated on or before this timestamp
200Body
{
"contacts": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Male",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Income",
"time_horizon": "Intermediate",
"risk_tolerance": "Moderate",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"company_name": "Acme Co.",
"household": {
"name": "The Andersons",
"title": "Head",
"id": 0,
"members": [
{
"id": 1,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
},
"image": "https://app.crmworkspace.com/avatar.png",
"tags": [
{
"id": 1,
"name": "Clients"
}
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"id": 1,
"address": "155 12th Ave., Apt 3B, New York, New York 10001, United States"
}
],
"email_addresses": [
{
"id": 1,
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work"
}
],
"phone_numbers": [
{
"id": 1,
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work"
}
],
"websites": [
{
"id": 1,
"address": "https://www.example.com",
"principal": true,
"kind": "Website"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"value": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"external_unique_id": null
}
]
}Create a new contact¶
POST Create a new contact/v1/contacts
Create a new contact.
- prefixstring
The preferred prefix for the contact
- first_namestring, required
The first name of the contact
- middle_namestring
The middle name of the contact
- last_namestring, required
The last name of the contact
- suffixstring
The suffix associated with the contact
- nicknamestring
A preferred shortname for the contact
- job_titlestring
The title the contact holds at his/her present company
- company_namestring
The name of the contact’s present company
- twitter_namestring
The twitter handle of the contact
- linkedin_urlstring
The LinkedIn url for the contact
- background_informationstring
A brief description of the contact in a longer format
- birth_dateDate
The birthdate of the contact
- anniversaryDate
The wedding anniversary of the contact
- client_sinceDate
The date when the contact became a client
- date_of_deathDate
The date of death of the contact
- assigned_tonumber
The id of the user who is assigned to this contact
- referred_bynumber
The id of the contact who referred this contact to the firm
- typestring
The type of the contact being created
Choices:
PersonHouseholdOrganizationTrust- genderstring
The gender of the contact
Choices:
FemaleMaleNon-binaryUnknown- contact_sourcestring
The method in which this contact was taken on as new business
Choices:
ReferralConferenceDirect MailCold CallOther- contact_typestring
A string further classifying the contact
Choices:
ClientPast ClientProspectVendorOrganization- statusstring
A flag indicating whether or not the contact is currently active
Choices:
ActiveInactive- marital_statusstring
The marital status of the contact
Choices:
MarriedSingleDivorcedWidowedLife PartnerSeparatedUnknown- attorneynumber
The id of the contact acting as this contact’s attorney
- cpanumber
The id of the contact acting as this contact’s accountant
- doctornumber
The id of the contact acting as this contact’s doctor
- insurancenumber
The id of the contact acting as this contact’s insurance agent
- business_managernumber
The id of the contact acting as this contact’s business manager
- family_officernumber
The id of the contact acting as this contact’s family officer
- assistantnumber
The id of the contact acting as this contact’s assistant
- othernumber
The id of the contact acting as this contact’s other
- trusted_contactnumber
The id of the contact acting as this contact’s trusted contact
- important_informationstring
A block of text containing any other important info for the contact
- personal_interestsstring
A block of text containing personal interests for the contact
- investment_objectivestring
A basic classification of the contact’s investment objectives
Choices:
Aggressive GrowthGrowthIncomeSafety of Principal- time_horizonstring
A basic classification of the time horizon for the contact’s investment goals
Choices:
Short TermIntermediateLong Term- risk_tolerancestring
A basic classification of the contact’s risk tolerance
Choices:
LowModerateHigh Risk- mutual_fund_experiencenumber
Years of experience the contact has in the mutual fund market
- stocks_and_bonds_experiencenumber
Years of experience the contact has in the stocks and bonds fund market
- partnerships_experiencenumber
Years of experience the contact has in partnerships
- other_investing_experiencenumber
Years of experience the contact has in other aspects of the investment world
- gross_annual_incomenumber
The contact’s estimated gross annual income
- assetsnumber
The value of all of the contact’s holdings
- non_liquid_assetsnumber
The value of all of the contact’s holdings that are illiquid
- liabilitiesnumber
The total value of the contact’s liabilities
- adjusted_gross_incomenumber
The contact’s annual income adjusted for tax withholdings
- estimated_taxesnumber
The total amount of taxes paid by the contact during a tax year
- confirmed_by_tax_returnboolean
Flag to indicate if the contact’s adjusted gross income and estimated taxes have been confirmed by their tax return
- tax_yearnumber
The year of the tax return that was used to confirm the contact’s income and tax liability
- tax_bracketnumber
Tax bracket that the contact sits in according to his last recorded tax return
- birth_placestring
The city/state where the contact was born
- maiden_namestring
The maiden name of the contact is she has one
- passport_numberstring
The passport number of the contact
- green_card_numberstring
The green card number of the contact
- occupationOccupation
An object representing critical information about the contact’s occupation
- namestring
The current occupation of the contact
- start_dateDate
The date when the contact started his current job
- drivers_licenseDriversLicense
An object representing the contact’s driver’s license
- numberstring
The ID number for this contact’s drivers license
- statestring
The state in which this contact’s drivers license was issued
- issued_dateDate
The date when the contact’s driver’s license was last issued
- expires_dateDate
The date when the contact’s driver’s license is set to expire
- retirement_dateDate
The date when the contact hopes to retire
- signed_fee_agreement_dateDate
The date when the contact’s fee agreement was signed
- signed_ips_agreement_dateDate
The date when the contact’s IPS agreement was signed
- signed_fp_agreement_dateDate
The date when the contact’s FP agreement was signed
- last_adv_offering_dateDate
The date when the contact was last offered ADV
- initial_crs_offering_dateDate
The date when the contact was initially offered CRS
- last_crs_offering_dateDate
The date when the contact was last offered CRS
- last_privacy_offering_dateDate
The date when the contact last signed their privacy agreement
- external_unique_idstring
A unique identifier for this contact in an external system used for data synchronization and integration
- householdHouseholdRequest
An object representing the contact’s household
- namestring
The name of the household of which the contact belongs to
- titlestring
The title the contact holds within his/her own household
Choices:
HeadSpousePartnerChildGrandchildParentGrandparentSiblingOther Dependent- tagsArray (string)
An array of tags that are associated with the contact
- street_addressesArray (MailingAddressRequest)
An array of the street addresses associated with the contact
- street_line_1string
The top line of the address
- street_line_2string
The second line of the address
- citystring
The city the address is located in
- statestring
The state the address is located in
- zip_codestring
The zip code of the address
- countrystring
- Default: United States
The country the address is located in
- principalboolean
A flag to indicate if the address is the primary address for the contact
- kindstring
The type of the mailing address being created
Choices:
WorkHomeMobileVacationFaxOther- destroyboolean
Flag to indicate whether or not to destroy the mailing address being updated
- email_addressesArray (EmailAddressRequest)
An array of the email addresses associated with the contact
- addressstring, required
The address associated with the email address
- principalboolean
Flag to indicate if the email address is the principal address of the contact
- kindstring
The type of the phone number being created
Choices:
WorkHomeMobileVacationFaxOther- destroyboolean
Flag to indicate whether or not to destroy the email address being updated
- phone_numbersArray (PhoneNumberRequest)
An array of the phone numbers associated with the contact
- addressstring, required
The number associated with the phone number
- principalboolean
A flag indicating whether this number is the primary phone number for the contact
- extensionstring
The number extension
- kindstring
The type of the phone number being created
Choices:
WorkHomeMobileVacationFaxOther- destroyboolean
Flag to indicate whether or not to destroy the phone number being updated
- websitesArray (WebsiteRequest)
An array of the websites associated with the contact
- addressstring, required
The address associated with the email address
- principalboolean
Flag to indicate if the website is the principal site of the contact
- kindstring
The type of the website being created
Choices:
WebsiteFacebookBlog- destroyboolean
Flag to indicate whether or not to destroy the website being updated
- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this contact
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
- contact_rolesArray (ContactRoleValueRequest)
An array of contact roles for this contact, with their assigned options
- idnumber, required
The id of the contact role
- valuenumber, required
The id of the contact role option you want to assign
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}
Body
{
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"company_name": "Acme Co.",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Female",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Aggressive Growth",
"time_horizon": "Short Term",
"risk_tolerance": "Low",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"external_unique_id": "ext-12345",
"household": {
"name": "The Andersons",
"title": "Head"
},
"tags": [
"Clients"
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"destroy": false
}
],
"email_addresses": [
{
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work",
"destroy": false
}
],
"phone_numbers": [
{
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work",
"destroy": false
}
],
"websites": [
{
"address": "https://www.example.com",
"principal": true,
"kind": "Website",
"destroy": false
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
],
"contact_roles": [
{
"id": 1,
"value": 1
}
],
"visible_to": "Everyone"
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Male",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Income",
"time_horizon": "Intermediate",
"risk_tolerance": "Moderate",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"company_name": "Acme Co.",
"household": {
"name": "The Andersons",
"title": "Head",
"id": 0,
"members": [
{
"id": 1,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
},
"image": "https://app.crmworkspace.com/avatar.png",
"tags": [
{
"id": 1,
"name": "Clients"
}
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"id": 1,
"address": "155 12th Ave., Apt 3B, New York, New York 10001, United States"
}
],
"email_addresses": [
{
"id": 1,
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work"
}
],
"phone_numbers": [
{
"id": 1,
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work"
}
],
"websites": [
{
"id": 1,
"address": "https://www.example.com",
"principal": true,
"kind": "Website"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"value": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"external_unique_id": null
}Contact¶
GET Retrieve an existing contact/v1/contacts/{id}
Retrieve a specific contact using its unique identifier. The contact returned will include the attributes listed below.
- idnumber, required
The id of the contact to be retrieved
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Male",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Income",
"time_horizon": "Intermediate",
"risk_tolerance": "Moderate",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"company_name": "Acme Co.",
"household": {
"name": "The Andersons",
"title": "Head",
"id": 0,
"members": [
{
"id": 1,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
},
"image": "https://app.crmworkspace.com/avatar.png",
"tags": [
{
"id": 1,
"name": "Clients"
}
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"id": 1,
"address": "155 12th Ave., Apt 3B, New York, New York 10001, United States"
}
],
"email_addresses": [
{
"id": 1,
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work"
}
],
"phone_numbers": [
{
"id": 1,
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work"
}
],
"websites": [
{
"id": 1,
"address": "https://www.example.com",
"principal": true,
"kind": "Website"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"value": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"external_unique_id": null
}PUT Update an existing contact/v1/contacts/{id}
Update a specific contact using its unique identifier. Any of the attributes that are returned by GET /v1/contacts/{id} may be updated using this request. All fields are optional; any fields not included in the request will not be updated. The contact returned will include all of the attributes for GET /v1/contacts/{id}, with the updated values of the attributes in the request.
- idnumber, required
The id of the contact to be updated
- nicknamestring
A preferred shortname for the contact
- company_namestring
Updating this field will create a new Organization contact with the given name if one does not exist, or it will link an existing one to the contact.
- contact_rolesArray (ContactRoleValueRequest)
Store the contact role and a selected option
- idnumber, required
The id of the contact role
- valuenumber, required
The id of the contact role option you want to assign
Body
{
"nickname": "Kev",
"company_name": "Acme Co.",
"contact_roles": [
{
"id": 1,
"value": 1
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Male",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Income",
"time_horizon": "Intermediate",
"risk_tolerance": "Moderate",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"company_name": "Acme Co.",
"household": {
"name": "The Andersons",
"title": "Head",
"id": 0,
"members": [
{
"id": 1,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
},
"image": "https://app.crmworkspace.com/avatar.png",
"tags": [
{
"id": 1,
"name": "Clients"
}
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"id": 1,
"address": "155 12th Ave., Apt 3B, New York, New York 10001, United States"
}
],
"email_addresses": [
{
"id": 1,
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work"
}
],
"phone_numbers": [
{
"id": 1,
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work"
}
],
"websites": [
{
"id": 1,
"address": "https://www.example.com",
"principal": true,
"kind": "Website"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"value": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"external_unique_id": null
}DELETE Delete an existing contact/v1/contacts/{id}
Delete a specific contact using its unique identifier.
- idnumber, required
The id of the contact to be deleted
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"prefix": "Mr.",
"first_name": "Kevin",
"middle_name": "James",
"last_name": "Anderson",
"suffix": "M.D.",
"nickname": "Kev",
"job_title": "CEO",
"twitter_name": "kev.anderson",
"linkedin_url": "linkedin.com/in/kanderson",
"background_information": "Met Kevin at a conference.",
"assigned_to": 1,
"referred_by": 1,
"type": "Person",
"gender": "Male",
"contact_source": "Referral",
"contact_type": "Client",
"status": "Active",
"marital_status": "Married",
"attorney": 1,
"cpa": 1,
"doctor": 1,
"insurance": 1,
"business_manager": 1,
"family_officer": 1,
"assistant": 1,
"other": 1,
"trusted_contact": 1,
"important_information": "Has 3 kids in college",
"personal_interests": "Skiing: Downhill, Traveling",
"investment_objective": "Income",
"time_horizon": "Intermediate",
"risk_tolerance": "Moderate",
"mutual_fund_experience": 3,
"stocks_and_bonds_experience": 2,
"partnerships_experience": 1,
"other_investing_experience": 5,
"gross_annual_income": 100000,
"assets": 250000,
"non_liquid_assets": 50000,
"liabilities": 50000,
"adjusted_gross_income": 75000,
"estimated_taxes": 18000,
"confirmed_by_tax_return": true,
"tax_year": 2015,
"tax_bracket": 10,
"birth_place": "New York, NY",
"maiden_name": "Anderson",
"passport_number": "AB1234CD5689",
"green_card_number": "ZX567HG134",
"occupation": {
"name": "CEO",
"start_date": "2015-11-25"
},
"drivers_license": {
"number": "1111111",
"state": "New York",
"issued_date": "2001-10-27",
"expires_date": "2011-10-27"
},
"retirement_date": "2025-09-30",
"signed_fee_agreement_date": "2013-05-15",
"signed_ips_agreement_date": "2014-03-12",
"signed_fp_agreement_date": "2015-03-12",
"last_adv_offering_date": "2013-09-21",
"initial_crs_offering_date": "2012-09-21",
"last_crs_offering_date": "2013-09-21",
"last_privacy_offering_date": "2011-10-23",
"company_name": "Acme Co.",
"household": {
"name": "The Andersons",
"title": "Head",
"id": 0,
"members": [
{
"id": 1,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
},
"image": "https://app.crmworkspace.com/avatar.png",
"tags": [
{
"id": 1,
"name": "Clients"
}
],
"street_addresses": [
{
"street_line_1": "155 12th Ave.",
"street_line_2": "Apt 3B",
"city": "New York",
"state": "New York",
"zip_code": "10001",
"country": "United States",
"principal": true,
"kind": "Work",
"id": 1,
"address": "155 12th Ave., Apt 3B, New York, New York 10001, United States"
}
],
"email_addresses": [
{
"id": 1,
"address": "kevin.anderson@example.com",
"principal": true,
"kind": "Work"
}
],
"phone_numbers": [
{
"id": 1,
"address": "(555) 555-5555",
"principal": true,
"extension": "77",
"kind": "Work"
}
],
"websites": [
{
"id": 1,
"address": "https://www.example.com",
"principal": true,
"kind": "Website"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"value": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"external_unique_id": null,
"birth_date": "1975-10-27",
"anniversary": "1998-11-29",
"client_since": "2002-05-21",
"date_of_death": "2018-01-21"
}Retrieve all tasks¶
GET Retrieve all tasks/v1/tasks{?resource_id}{?resource_type}{?assigned_to}{?assigned_to_team}{?created_by}{?completed}{?task_type}{?subtasks}{?updated_since}{?updated_before}
This endpoint will retrieve all of the tasks that are accessible by the user. This way the user can not access any tasks they don’t have access to. This also includes subtasks for parent tasks (tasks that are not subtasks themselves).
- resource_idnumber
The id of the resource being searched for
- resource_typestring
The type of resource being searched for
- assigned_tonumber
The id of the user which the task is assigned to
- assigned_to_teamnumber
The id of the team which the task is assigned to
- created_bynumber
The id of the user who created the task
- completedboolean
Return completed tasks as well
- task_typestring
The type of tasks that should be returned from this endpoint
Choices:
allparentssubtasks- subtasksarray[Subtask]
An array of subtasks associated with this task
- updated_sincestring
Only returns tasks updated on or after this timestamp
- updated_beforestring
Only returns tasks updated on or before this timestamp
200Body
{
"tasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}
]
}POST Create a new task and assign it to a user/v1/tasks
Create a new task and assign it to a user.
- namestring, required
The name of the task being returned
- due_dateDatetime, required
The time at which the task is due
- completeboolean
Flag to indicate whether or not the task is complete
- categorynumber
The category the task will belong to
- linked_toArray (Document)
An array of resources that are linked to this task. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- prioritystring
String to indicate the priority of the task you are creating
Choices:
LowMediumHigh- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- due_laterstring,null
A string representing the interval of time when this subtask is due after the start of a parent todo
- subtasksArray (Subtask)
An array of subtasks, included only for parent tasks (tasks that are not subtasks themselves)
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this task
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
- assigned_tonumber
The id of the user who the task is assigned to
- descriptionstring
A short explaination of the task being returned as plain text or html
Body
{
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Low",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
],
"assigned_to": 1,
"description": "Follow up from message..."
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}POST Create a new task and assign it to a team/v1/tasks
Create a new task and assign it to a team.
- namestring, required
The name of the task being returned
- due_dateDatetime, required
The time at which the task is due
- completeboolean
Flag to indicate whether or not the task is complete
- categorynumber
The category the task will belong to
- linked_toArray (Document)
An array of resources that are linked to this task. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- prioritystring
String to indicate the priority of the task you are creating
Choices:
LowMediumHigh- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- due_laterstring,null
A string representing the interval of time when this subtask is due after the start of a parent todo
- subtasksArray (Subtask)
An array of subtasks, included only for parent tasks (tasks that are not subtasks themselves)
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this task
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
- assigned_to_teamnumber
The id of the team which the task is assigned to
- descriptionstring
A short explaination of the task being returned as plain text or html
Body
{
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Low",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
],
"assigned_to_team": 10,
"description": "Follow up from message..."
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}Task¶
GET Retrieve an existing task/v1/tasks/{id}
Retrieve a specific task using its unique identifier. The task returned will include the attributes listed below. This also includes subtasks for parent tasks (tasks that are not subtasks themselves).
- idnumber, required
The id of the task to be retrieved
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}PUT Update an existing task and assign it to a user/v1/tasks/{id}
Update an existing task and assign it to a user with some new properties, these properties will be saved to the database and the new task will be returned.
- idnumber, required
The id of the task to be updated
- namestring, required
The name of the task being returned
- due_dateDatetime, required
The time at which the task is due
- completeboolean
Flag to indicate whether or not the task is complete
- categorynumber
The category the task will belong to
- linked_toArray (Document)
An array of resources that are linked to this task. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- prioritystring
String to indicate the priority of the task you are creating
Choices:
LowMediumHigh- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- due_laterstring,null
A string representing the interval of time when this subtask is due after the start of a parent todo
- subtasksArray (Subtask)
An array of subtasks, included only for parent tasks (tasks that are not subtasks themselves)
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this task
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
- assigned_tonumber
The id of the user who the task is assigned to
- descriptionstring
A short explaination of the task being returned as plain text or html
Body
{
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Low",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
],
"assigned_to": 1,
"description": "Follow up from message..."
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}PUT Update an existing task and assign it to a team/v1/tasks
Update an existing task and assign it to a team with some new properties, these properties will be saved to the database and the new task will be returned.
- namestring, required
The name of the task being returned
- due_dateDatetime, required
The time at which the task is due
- completeboolean
Flag to indicate whether or not the task is complete
- categorynumber
The category the task will belong to
- linked_toArray (Document)
An array of resources that are linked to this task. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- prioritystring
String to indicate the priority of the task you are creating
Choices:
LowMediumHigh- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- due_laterstring,null
A string representing the interval of time when this subtask is due after the start of a parent todo
- subtasksArray (Subtask)
An array of subtasks, included only for parent tasks (tasks that are not subtasks themselves)
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this task
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
- assigned_to_teamnumber
The id of the team which the task is assigned to
- descriptionstring
A short explaination of the task being returned as plain text or html
Body
{
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Low",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
],
"assigned_to_team": 10,
"description": "Follow up from message..."
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}DELETE Delete task/v1/tasks/{id}
Delete an existing task from your account (workspace). This task will not be available to you going forward in the future.
- idnumber, required
The id of the task to be deleted
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Return Bill's call",
"due_date": "2015-05-24 11:00 AM -0400",
"complete": true,
"category": 1,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"priority": "Medium",
"visible_to": "Everyone",
"due_later": "2 days later at 5:00 PM",
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
],
"frame": "today",
"repeats": true,
"completer": 1,
"description": "Follow up from message...",
"description_html": "<div>Follow up from message...</div>",
"assigned_to": 1,
"assigned_to_team": 10
}Retrieve all workflows¶
GET Retrieve all workflows/v1/workflows{?resource_id}{?resource_type}{?status}{?updated_since}{?updated_before}
This endpoint will retrieve all of the workflows that are accessible by the user. This way the user can not access any workflows they don’t have access to.
- resource_idnumber
The id of the resource being searched for
- resource_typestring
The type of resource being searched for
- statusstring
Only returns workflows whose status match the specified value
Choices:
activecompletedscheduled- updated_sincestring
Only returns workflows updated on or after this timestamp
- updated_beforestring
Only returns workflows updated on or before this timestamp
- workflowsArray (Workflow)
- idnumber
The id of the workflow being returned
- creatornumber
The id of the user who created the workflow
- created_atDatetime
A timestamp representing when the workflow was created.
- updated_atDatetime
A timestamp representing when the workflow was last updated.
- labelstring
A short name for the workflow
- linked_toDocument
An object that is linked to this workflow
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_templateWorkflowTemplate
The workflow template related to the specified workflow
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- workflow_milestonesArray (WorkflowMilestone)
An array of all workflow milestones related to this workflow
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- milestone_dateDatetime
The date and time this milestone occurs
- starts_atDatetime
When the workflow is set to start
- started_atDatetime
When the workflow was started
200Body
{
"workflows": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"label": "Onboard a new client to the firm",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"visible_to": "Everyone",
"workflow_template": {
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
},
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding",
"milestone_date": "2015-05-24 10:00 AM -0400"
},
{
"id": "ghijkl",
"name": "Account Opening",
"milestone_date": "2015-06-24 10:00 AM -0400"
}
],
"starts_at": "2019-02-25 03:00 PM -0400",
"started_at": "2019-02-25 03:00 PM -0400"
}
]
}POST Create a new workflow/v1/workflows
Create a new workflow.
- labelstring
A short name for the workflow
- linked_toDocument
An object that is linked to this workflow
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_templatenumber, required
The id of the workflow template this workflow is based on
- starts_atDatetime
The date (time is optional) you want the workflow to start
- workflow_milestonesArray (WorkflowMilestone)
An array of all workflow milestones needed for the provided workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- milestone_dateDatetime
The date and time this milestone occurs
- idnumber
The id of the workflow being returned
- creatornumber
The id of the user who created the workflow
- created_atDatetime
A timestamp representing when the workflow was created.
- updated_atDatetime
A timestamp representing when the workflow was last updated.
- labelstring
A short name for the workflow
- linked_toDocument
An object that is linked to this workflow
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_templateWorkflowTemplate
The workflow template related to the specified workflow
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- workflow_milestonesArray (WorkflowMilestone)
An array of all workflow milestones related to this workflow
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- milestone_dateDatetime
The date and time this milestone occurs
- starts_atDatetime
When the workflow is set to start
- started_atDatetime
When the workflow was started
Body
{
"label": "Onboard a new client to the firm",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"visible_to": "Everyone",
"workflow_template": 2,
"starts_at": "2019-02-25 3:00pm",
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding",
"milestone_date": "2015-05-24 10:00 AM -0400"
},
{
"id": "ghijkl",
"name": "Account Opening",
"milestone_date": "2015-06-24 10:00 AM -0400"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"label": "Onboard a new client to the firm",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"visible_to": "Everyone",
"workflow_template": {
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
},
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding",
"milestone_date": "2015-05-24 10:00 AM -0400"
},
{
"id": "ghijkl",
"name": "Account Opening",
"milestone_date": "2015-06-24 10:00 AM -0400"
}
],
"starts_at": "2019-02-25 03:00 PM -0400",
"started_at": "2019-02-25 03:00 PM -0400"
}Workflow¶
GET Retrieve an existing workflow/v1/workflows/{id}
Retrieve a specific workflow using its unique identifier. The workflow returned will include the attributes listed below.
- idnumber, required
The id of the workflow to be retrieved
- idnumber
The id of the workflow being returned
- creatornumber
The id of the user who created the workflow
- created_atDatetime
A timestamp representing when the workflow was created.
- updated_atDatetime
A timestamp representing when the workflow was last updated.
- labelstring
A short name for the workflow
- linked_toDocument
An object that is linked to this workflow
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_templateWorkflowTemplate
The workflow template related to the specified workflow
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- workflow_milestonesArray (WorkflowMilestone)
An array of all workflow milestones related to this workflow
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- milestone_dateDatetime
The date and time this milestone occurs
- starts_atDatetime
When the workflow is set to start
- started_atDatetime
When the workflow was started
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"label": "Onboard a new client to the firm",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"visible_to": "Everyone",
"workflow_template": {
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
},
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding",
"milestone_date": "2015-05-24 10:00 AM -0400"
},
{
"id": "ghijkl",
"name": "Account Opening",
"milestone_date": "2015-06-24 10:00 AM -0400"
}
],
"starts_at": "2019-02-25 03:00 PM -0400",
"started_at": "2019-02-25 03:00 PM -0400"
}DELETE Delete workflow/v1/workflows/{id}
Delete an existing workflow from your account (workspace). This workflow will not be available to you going forward in the future.
- idnumber, required
The id of the workflow to be deleted
- idnumber
The id of the workflow being returned
- creatornumber
The id of the user who created the workflow
- created_atDatetime
A timestamp representing when the workflow was created.
- updated_atDatetime
A timestamp representing when the workflow was last updated.
- labelstring
A short name for the workflow
- linked_toDocument
An object that is linked to this workflow
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_templateWorkflowTemplate
The workflow template related to the specified workflow
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- workflow_milestonesArray (WorkflowMilestone)
An array of all workflow milestones related to this workflow
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- milestone_dateDatetime
The date and time this milestone occurs
- starts_atDatetime
When the workflow is set to start
- started_atDatetime
When the workflow was started
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"label": "Onboard a new client to the firm",
"linked_to": {
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
},
"visible_to": "Everyone",
"workflow_template": {
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
},
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding",
"milestone_date": "2015-05-24 10:00 AM -0400"
},
{
"id": "ghijkl",
"name": "Account Opening",
"milestone_date": "2015-06-24 10:00 AM -0400"
}
],
"starts_at": "2019-02-25 03:00 PM -0400",
"started_at": "2019-02-25 03:00 PM -0400"
}Retrieve all workflow templates¶
GET Retrieve all workflow templates/v1/workflow_templates
This endpoint will retrieve all of the workflow templates that are accessible by the user. This way the user can not access any workflow templates they don’t have access to.
- workflow_templatesArray (WorkflowTemplate)
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}
200Body
{
"workflow_templates": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
}
]
}WorkflowTemplate¶
GET Retrieve an existing workflow template/v1/workflow_templates/{id}
Retrieve a specific workflow template using its unique identifier. The workflow template returned will include the attributes listed below.
- idnumber, required
The id of the workflow template to be retrieved
- idnumber
The id of the workflow template being returned
- creatornumber
The id of the user who created the workflow template
- created_atDatetime
A timestamp representing when the workflow template was created.
- updated_atDatetime
A timestamp representing when the workflow template was last updated.
- namestring
The name of the workflow template
- sequentialboolean
Flag to determine if the workflow steps in this template must be completed in order of their position
- descriptionstring
A short description of the workflow template as plain text
- description_htmlstring
A short description of the workflow template as html
- sharedboolean
Flag to determine if this workflow template is shared amongst all accounts (workspaces) in the subscription
- readyboolean
Flag to determine if this workflow template is ready to spawn new workflows
- workflow_milestonesArray (WorkflowTemplateMilestone)
An array of all workflow milestones related to this workflow template
- idstring, required
The id of the milestone being returned
- namestring, required
The name of the milestone
- workflow_stepsArray (WorkflowStep)
An array of all workflow steps related to this workflow template
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- kindstring
A string to classify the template
Choices:
ContactProjectOpportunity- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "New Client Onboarding Process",
"sequential": true,
"description": "Onboarding workflow for our clients...",
"description_html": "<div>Onboarding workflow for our clients...</div>",
"shared": true,
"ready": true,
"workflow_milestones": [
{
"id": "abcdef",
"name": "Onboarding"
}
],
"workflow_steps": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}
],
"kind": "Contact",
"visible_to": "Everyone"
}Complete a workflow step¶
PUT Complete a workflow step/v1/workflows/{workflow_id}/steps/{id}
- workflow_idnumber, required
The id of the workflow which owns the step
- idnumber, required
The id of the workflow step to complete
- completeboolean
Flag, which if present upon a request, marks step complete
- workflow_outcome_idnumber
The ID of the outcome to be applied
- due_date_setboolean
When selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_datestring
When selecting an outcome with the "Restart Step" action, this indicates the due date for the restarted step
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep- completernumber
The id of the user who completed the event
Complete a WorkflowStepBody
{
"complete": true,
"workflow_outcome_id": 1,
"due_date_set": true,
"due_date": "2020-09-25 10:00 AM -0400"
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
],
"completer": 1
}Revert a workflow step¶
PUT Revert a workflow step/v1/workflows/{workflow_id}/steps/{id}
- workflow_idnumber, required
The id of the workflow which owns the step
- idnumber, required
The id of the workflow step to revert
- revertboolean
Flag, which if present upon a request, reverts the
completestatus of a workflow step
- idnumber
The id of the workflow step being returned
- creatornumber
The id of the user who created the workflow step
- created_atDatetime
A timestamp representing when the workflow step was created.
- updated_atDatetime
A timestamp representing when the workflow step was last updated.
- namestring
The name of the workflow step
- descriptionstring
A short description of the workflow step as plain text
- description_htmlstring
A short description of the workflow step as html
- workflownumber
The ID of the workflow this step is connected to
- assigned_tonumber,null
The ID of the user that is assigned to this workflow step
- assigned_to_teamnumber,null
The ID of the team that is assigned to this workflow step
- due_based_onstring
Indicates what this step’s due date is based on. Available options are "default", "start" and "milestone". If no option is specified this will be set to "default". "milestone" means a
workflow_milestone_idmust be provided. "start" means the step is based on the workflow start date- due_date_setboolean
A flag indicating a due date is set for this workflow step
- due_laterstring
A string representing the interval of time when this workflow step is due after the start of a workflow
- due_dateDatetime
The specific deadline (due date) for an active or completed workflow step
- prioritystring
The relative priority of the workflow step
Choices:
NoneLowMediumHigh- workflow_outcomesArray (WorkflowOutcome)
An array of all workflow outcomes related to this workflow step
- idnumber, required
The id of the workflow outcome being returned
- workflow_step_idnumber, required
The id of the workflow step
- namestring
The name of the workflow outcome
- actionstring
The action the outcome will perform, such as "Go to step", "Restart Step", "Restart Workflow", and "Complete Workflow"
- go_to_step_idnumber
After selecting an outcome with the "Go to Step" action, this will be the next active step
- due_date_setboolean
After selecting an outcome with the "Restart Step" action, this indicates whether the restarted step will have a due date
- due_laterstring
After selecting an outcome with the "Restart Step" action with a due date set, this indicates when the restarted step is due
- created_atDatetime
A timestamp representing when the workflow outcome was created.
- updated_atDatetime
A timestamp representing when the workflow outcome was last updated.
- workflow_milestone_idnumber,null
The ID of the workflow milestone this step is based on
- subtasksArray (Subtask)
The subtasks associated with this workflow step
- idnumber
The id of the subtask being returned
- creatornumber
The id of the user who created the subtask
- created_atDatetime
A timestamp representing when the subtask was created.
- updated_atDatetime
A timestamp representing when the subtask was last updated.
- due_dateDatetime
The due date of the subtask
- namestring
The name of the subtask
- framestring
The frame of the subtask
- completeboolean
Flag, which if present upon a request, marks subtask complete
- repeatsboolean
A flag to indicate whether or not the subtask repeats
- descriptionstring
A short explanation of the subtask being returned
- description_htmlstring
A short explanation of the subtask being returned with html formatting
- prioritystring, required
The priority of the subtask
Choices:
NoneLowMediumHigh- due_laterstring
A string representing the interval of time when this subtask is due after the start of a workflow step
- completernumber
The id of the user who completed the subtask
- categorystring
The category of the subtask
- linked_toArray (Document)
An array of resources that are linked to this subtask. Supported resource types: contacts, projects, and opportunities.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- parentArray (ParentTodo)
The parent todo
- idnumber
The id of the parent todo
- typestring
The type of the parent todo
Choices:
TaskWorkflowStep
Revert a WorkflowStepBody
{
"revert": true
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Schedule discover meeting",
"description": "In this meeting, we will...",
"description_html": "<div>In this meeting, we will...</div>",
"workflow": 1,
"assigned_to": 1,
"assigned_to_team": 10,
"due_based_on": "default",
"due_date_set": true,
"due_later": "2 days later at 5:00 PM",
"due_date": "2024-03-06 11:30 AM -0500",
"priority": "None",
"workflow_outcomes": [
{
"id": 1,
"workflow_step_id": 1,
"name": "Meeting scheduled with client",
"action": "Go to Step",
"go_to_step_id": 2,
"due_date_set": false,
"due_later": "2 days later at 5:00 PM",
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400"
}
],
"workflow_milestone_id": 1,
"subtasks": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"due_date": "2024-10-03 12:00 PM -0400",
"name": "Call with client",
"frame": "specific",
"complete": true,
"repeats": true,
"description": "Review meeting for Kevin...",
"description_html": "<p>Review meeting for Kevin...</p>",
"priority": "None",
"due_later": "2 days later at 5:00 PM",
"completer": 1,
"category": "null",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"parent": [
{
"id": 1,
"type": "Task"
}
]
}
]
}Retrieve all events¶
GET Retrieve all events/v1/events{?resource_id}{?resource_type}{?start_date_min}{?start_date_max}{?order}{?updated_since}{?updated_before}
This endpoint will retrieve all of the events that are accessible by the user. This way the user can not access any events they don’t have access to.
- resource_idnumber
The id of the resource being searched for
- resource_typestring
The type of resource being searched for
- start_date_minstring
The minimum start date of the events to be returned
- start_date_maxstring
The maximum start date of the events to be returned
- orderstring
The order that the events should be returned in regarding event start
Choices:
ascdescrecentcreated- updated_sincestring
Only returns events updated on or after this timestamp
- updated_beforestring
Only returns events updated on or before this timestamp
200Body
{
"events": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "confirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}
]
}POST Create a new event/v1/events
Create a new event
- titlestring, required
The name of the event being returned
- starts_atDatetime, required
A timestamp signifying when the event starts
- ends_atDatetime, required
A timestamp signifying when the event ends
- repeatsboolean
A flag to indicate whether or not the event repeats
- event_categorynumber
The id of the event category to which the event belongs
- all_dayboolean
A flag to indicate if the event lasts all day
- locationstring
The description of the location the event takes place
- descriptionstring
A short explaination of the event being returned
- statestring
The current state of the event
Choices:
unconfirmedconfirmedtentativecompletedcancelled- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- email_inviteesboolean
A flag to indicate if the invitees should be emailed their invitation
- linked_toArray (Document)
An array of resources that are linked to this event. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- inviteesArray (InviteeRequest)
An object that describes a contact or user who is visiting the site
- idnumber, required
The id of the contact/user being invited
- typestring, required
The type of the resource being invited
Choices:
UserContact- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this event
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "unconfirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "User"
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "confirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Event¶
GET Retrieve an existing event/v1/events/{id}
Retrieve a specific event using its unique identifier. The event returned will include the attributes listed below.
- idnumber, required
The id of the event to be retrieved
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "confirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}PUT Update an existing event/v1/events/{id}
Update a existing event with new properties, these properties will be saved to the database and the new event will be returned.
- idnumber, required
The id of the event to be updated
- titlestring, required
The name of the event being returned
- starts_atDatetime, required
A timestamp signifying when the event starts
- ends_atDatetime, required
A timestamp signifying when the event ends
- repeatsboolean
A flag to indicate whether or not the event repeats
- event_categorynumber
The id of the event category to which the event belongs
- all_dayboolean
A flag to indicate if the event lasts all day
- locationstring
The description of the location the event takes place
- descriptionstring
A short explaination of the event being returned
- statestring
The current state of the event
Choices:
unconfirmedconfirmedtentativecompletedcancelled- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- email_inviteesboolean
A flag to indicate if the invitees should be emailed their invitation
- linked_toArray (Document)
An array of resources that are linked to this event. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- inviteesArray (InviteeRequest)
An object that describes a contact or user who is visiting the site
- idnumber, required
The id of the contact/user being invited
- typestring, required
The type of the resource being invited
Choices:
UserContact- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this event
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "unconfirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "User"
}
],
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "confirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}DELETE Delete event/v1/events/{id}
Delete an existing event from your account (workspace). This event will not be available to you going forward in the future.
- idnumber, required
The id of the event to be deleted
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"title": "Client Meeting",
"starts_at": "2015-05-24 10:00 AM -0400",
"ends_at": "2015-05-24 11:00 AM -0400",
"repeats": true,
"event_category": 2,
"all_day": true,
"location": "Conference Room",
"description": "Review meeting for Kevin...",
"state": "confirmed",
"visible_to": "Everyone",
"email_invitees": true,
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"invitees": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Retrieve all opportunities¶
GET Retrieve all opportunities/v1/opportunities{?resource_id}{?resource_type}{?order}{?include_closed}{?updated_since}{?updated_before}
This endpoint will retrieve all of the opportunities that are accessible by the user. This way the user can not access any opportunities they don’t have access to.
- resource_idnumber
The id of the resource being searched for
- resource_typestring
The type of resource being searched for
- orderstring
The order that the opportunities should be returned in
Choices:
ascdescrecentcreated- include_closedboolean
Return won and lost opportunities as well
- updated_sincestring
Only returns opportunities updated on or after this timestamp
- updated_beforestring
Only returns opportunities updated on or before this timestamp
200Body
{
"opportunities": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}
]
}POST Create a new opportunity/v1/opportunities
Create a new opportunity.
- namestring, required
The name of the opportunity being returned
- descriptionstring
A short explaination of the opportunity being returned
- target_closeDatetime, required
A string representing the date/time when the opportunity should close
- probabilitynumber, required
A number representing the chance the opportunity will close, as a percentage
- stagenumber, required
A string representing the current stage the opportunity finds itself in
- managernumber
The id of the user who is designated as manager of this opportunity
- amountsArray (Amount), required
An array of the amounts associated with the opportunity
- amountnumber
The amount in dollars
- currencystring
- Default: $
The type of currency the amount was recorded in
- kindstring
The type of amount represented here
Choices:
FeeCommissionAUMOther- linked_toArray (Document)
An array containing the contact that is linked to this opportunity. Only the first contact specified will be used.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this opportunity
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Opportunity¶
GET Retrieve an existing opportunity/v1/opportunities/{id}
Retrieve a specific opportunity using its unique identifier. The opportunity returned will include the attributes listed below.
- idnumber, required
The id of the opportunity to be retrieved
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}PUT Update an existing opportunity/v1/opportunities/{id}
Update a existing opportunity with new properties, these properties will be saved to the database and the new opportunity will be returned.
- idnumber, required
The id of the opportunity to be updated
- namestring, required
The name of the opportunity being returned
- descriptionstring
A short explaination of the opportunity being returned
- target_closeDatetime, required
A string representing the date/time when the opportunity should close
- probabilitynumber, required
A number representing the chance the opportunity will close, as a percentage
- stagenumber, required
A string representing the current stage the opportunity finds itself in
- managernumber
The id of the user who is designated as manager of this opportunity
- amountsArray (Amount), required
An array of the amounts associated with the opportunity
- amountnumber
The amount in dollars
- currencystring
- Default: $
The type of currency the amount was recorded in
- kindstring
The type of amount represented here
Choices:
FeeCommissionAUMOther- linked_toArray (Document)
An array containing the contact that is linked to this opportunity. Only the first contact specified will be used.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this opportunity
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}DELETE Delete opportunity/v1/opportunities/{id}
Delete an existing opportunity from your account (workspace). This opportunity will not be available to you going forward in the future.
- idnumber, required
The id of the opportunity to be deleted
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Financial Plan",
"description": "Opportunity to plan for...",
"target_close": "2015-11-12 11:00 AM -0500",
"probability": 70,
"stage": 1,
"manager": 1,
"amounts": [
{
"amount": 56.76,
"currency": "$",
"kind": "Fee"
}
],
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Retrieve all projects¶
GET Retrieve all projects/v1/projects{?updated_since}{?updated_before}
This endpoint will retrieve all of the projects that are accessible by the user. This way the user can not access any projects they don’t have access to.
- updated_sincestring
Only returns projects updated on or after this timestamp
- updated_beforestring
Only returns projects updated on or before this timestamp
200Body
{
"projects": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"image": "https://app.crmworkspace.com/projects.png",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}
]
}POST Create a new project/v1/projects
Create a new project.
- namestring, required
The name of the project being returned
- descriptionstring, required
A short explaination of the project being returned
- organizernumber
The id of the user who is responsible for organizing the project
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this project
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"image": "https://app.crmworkspace.com/projects.png",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Project Resource¶
GET Retrieve an existing project/v1/projects/{id}
Retrieve a specific project using its unique identifier. The project returned will include the attributes listed below.
- idnumber, required
The id of the project to be retrieved
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"image": "https://app.crmworkspace.com/projects.png",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}PUT Update an existing project/v1/projects/{id}
Update a existing project with new properties, these properties will be saved to the database and the new project will be returned.
- idnumber, required
The id of the project to be updated
- namestring, required
The name of the project being returned
- descriptionstring, required
A short explaination of the project being returned
- organizernumber
The id of the user who is responsible for organizing the project
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- custom_fieldsArray (CustomFieldRequest)
An array of custom fields for this project
- idnumber
The name of the custom field that you wish to set
- valuestring
The value that the custom field should take on
Note for percentage fields: For percentage custom fields, submit values in their natural format without decimal conversion. For example, to save 75%, submit "75" instead of "0.75".
Body
{
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"custom_fields": [
{
"id": 1,
"value": "123456789"
}
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"image": "https://app.crmworkspace.com/projects.png",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}DELETE Delete project/v1/projects/{id}
Delete an existing project from your account (workspace). This project will not be available to you going forward in the future.
- idnumber, required
The id of the project to be deleted
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"name": "Client Seminar",
"description": "Project to plan spring seminar.",
"organizer": 1,
"visible_to": "Everyone",
"image": "https://app.crmworkspace.com/projects.png",
"custom_fields": [
{
"id": 1,
"name": "My Field",
"value": "123456789",
"document_type": "Contact",
"field_type": "single_select"
}
]
}Retrieve all notes¶
GET Retrieve all notes/v1/notes{?resource_id}{?resource_type}{?order}{?updated_since}{?updated_before}
This endpoint will retrieve all of the notes that are accessible by the user. This way the user can not access
any notes they don’t have access to. Notes are returned in the status_updates array.
- resource_idnumber
The id of the resource being searched for
- resource_typestring
The type of resource being searched for
- orderstring
The order that the resource should be returned in. "asc" (Assending by Created Date) is the default sort order. "created" is sort Decending by Created Date. "updated" is sort Decending by Updated Date.
Choices:
asccreatedupdated- updated_sincestring
Only returns notes updated on or after this timestamp
- updated_beforestring
Only returns notes updated on or before this timestamp
- status_updatesArray (Note)
- idnumber
The id of the note being returned
- creatornumber
The id of the user who created the note
- created_atDatetime
A timestamp representing when the note was created.
- updated_atDatetime
A timestamp representing when the note was last updated.
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (Tag)
An array of tags that are associated with the note
- idnumber
The id of the tag being returned
- namestring
The name of the tag
200Body
{
"status_updates": [
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
{
"id": 1,
"name": "Clients"
}
]
}
]
}POST Create a new note/v1/notes
Create a new note.
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (string)
An array of tags that are associated with the note
- idnumber
The id of the note being returned
- creatornumber
The id of the user who created the note
- created_atDatetime
A timestamp representing when the note was created.
- updated_atDatetime
A timestamp representing when the note was last updated.
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (Tag)
An array of tags that are associated with the note
- idnumber
The id of the tag being returned
- namestring
The name of the tag
Body
{
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
"Clients"
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
{
"id": 1,
"name": "Clients"
}
]
}Note¶
GET Retrieve an existing note/v1/notes/{id}
Retrieve a specific note using its unique identifier. The note returned will include the attributes listed below.
- idnumber, required
The id of the note to be retrieved
- idnumber
The id of the note being returned
- creatornumber
The id of the user who created the note
- created_atDatetime
A timestamp representing when the note was created.
- updated_atDatetime
A timestamp representing when the note was last updated.
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (Tag)
An array of tags that are associated with the note
- idnumber
The id of the tag being returned
- namestring
The name of the tag
200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
{
"id": 1,
"name": "Clients"
}
]
}PUT Update an existing note/v1/notes/{id}
Update a existing note with new properties, these properties will be saved to the database and the new note will be returned.
- idnumber, required
The id of the note to be updated
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (string)
An array of tags that are associated with the note
- idnumber
The id of the note being returned
- creatornumber
The id of the user who created the note
- created_atDatetime
A timestamp representing when the note was created.
- updated_atDatetime
A timestamp representing when the note was last updated.
- contentstring, required
The main body of the note
- linked_toArray (Document)
An array of resources that are linked to this note. The only supported resource type is contact.
- idnumber, required
The id of the resource being linked
- typestring, required
The type of resource being linked
- namestring
The name of the resource being linked
- visible_tostring
The user, or user group, able to view the resource.
Choices:
EveryonePrivate{user_group_id}- tagsArray (Tag)
An array of tags that are associated with the note
- idnumber
The id of the tag being returned
- namestring
The name of the tag
Body
{
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
"Clients"
]
}200Body
{
"id": 1,
"creator": 1,
"created_at": "2015-05-24 10:00 AM -0400",
"updated_at": "2015-10-12 11:30 PM -0400",
"content": "Spoke with Kevin Anderson on the phone...",
"linked_to": [
{
"id": 1,
"type": "Contact",
"name": "Kevin Anderson"
}
],
"visible_to": "Everyone",
"tags": [
{
"id": 1,
"name": "Clients"
}
]
}List all contact roles¶
GET List all contact roles/v1/categories/contact_roles
This endpoint will return every contact role in the authenticated user’s account (workspace).
- contact_rolesArray (ContactRole)
- idnumber
The id of the contact role
- namestring
The name of the contact role
- available_optionsArray (ContactRoleOption)
The options available to assign to the contact role (users)
- idnumber
The id of the option
- assigned_toContactRoleAssignment
The user associated with the option
- idnumber, required
The id of the user
- typestring, required
The type of object being assigned (User)
- namestring
The name of the user
- removed_optionsArray (RemovedContactRoleOption)
Values that could previously be given to the contact role and are still assigned to some records
- idnumber
The id of the option
- deleted_atDatetime
The timestamp representing when the option was removed from the list of available options
- assigned_toRemovedContactRoleAssignment
The user associated with the option
- idnumber, required
The id of the user
- typestring, required
The type of object being assigned (User)
- namestring
The name of the user
200Body
{
"contact_roles": [
{
"id": 1,
"name": "Planning Advisor",
"available_options": [
{
"id": 1,
"assigned_to": {
"id": 1,
"type": "User",
"name": "Kevin Anderson"
}
}
],
"removed_options": [
{
"id": 2,
"deleted_at": "2022-06-30T00:00:00.000000+00:00",
"assigned_to": {
"id": 2,
"type": "User",
"name": "Maria Keston"
}
}
]
}
]
}List all custom fields¶
GET List all custom fields/v1/categories/custom_fields
This endpoint will return every custom field in the authenticated user’s account (workspace).
- document_typestring
The document type that the custom fields are for, defaults to all document types
Choices:
ContactOpportunityProjectTaskEventManualInvestmentAccountDataFile
Body
{
"document_type": "Contact"
}200Body
{
"custom_fields": [
{
"id": 1,
"name": "My Field",
"document_type": "Contact",
"field_type": "single_select",
"options": [
{
"id": 1,
"label": "Option one"
}
]
}
]
}List all members of a customizable category¶
GET List all members of a customizable category/v1/categories/{type}
This endpoint will return every instance of the specified category name which are owned by the account (workspace) of the user authenticated with the API.
- typestring, required
The name of the category type that you are trying to return
Choices:
tagscustom_fieldsopportunity_stagesopportunity_pipelinescontact_typescontact_sourcestask_categoriesevent_categoriesfile_categoriesinvestment_objectivesfinancial_account_typesemail_typesphone_typesaddress_typeswebsite_typescontact_roles
- tagsArray (TagWithDocumentType)
- idnumber, required
The id of the tag being returned
- typestring, required
The type of resource
- namestring
The name of the tag
- document_typestring
The document type that the tag is for
200Body
{
"tags": [
{
"id": 1,
"type": "Tag",
"name": "Tag Name",
"document_type": "Note"
}
]
}Create¶
POST Add member to a household/v1/households/{household_id}/members
This endpoint will add a member to the household.
- household_idnumber, required
The id of the household receiving the new member
- idnumber, required
The id of the contact to add to household
- titlestring, required
The household title you wish to assign to the added contact
Choices:
HeadSpousePartnerChildGrandchildParentGrandparentSiblingOther Dependent
- idnumber
The id of the household
- membersArray (string)
- idnumber
The id of the household member
- first_namestring
The full name of the household member
- last_namestring
The full name of the household member
- titlestring
The title of the household member
- typestring
The type of the household member
Body
{
"id": 2,
"title": "Head"
}200Body
{
"id": 1,
"members": [
{
"id": 2,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
}Destroy¶
DELETE Delete member from a household/v1/households/{household_id}/members/{id}
This endpoint will remove a member from a household.
- household_idnumber, required
The id of the household from which the member will be deleted
- idnumber, required
The id of the contact to delete from the household
- idnumber
The id of the household
- membersArray (string)
- idnumber
The id of the household member
- first_namestring
The full name of the household member
- last_namestring
The full name of the household member
- titlestring
The title of the household member
- typestring
The type of the household member
200Body
{
"id": 1,
"members": [
{
"id": 2,
"first_name": "Kevin",
"last_name": "Anderson",
"title": "Head",
"type": "Person"
}
]
}List all user groups¶
GET List all user groups/v1/user_groups
This endpoint will return all of the user groups associated with the account (workspace) of the user interacting with the API access token.
- user_groupsArray (UserGroup)
- idnumber, required
The id of the user group being returned
- namestring, required
The name of the user group
- usernumber,null
The ID of the user this user group is associated with. This field will be populated for "Only Me" user groups, and
nullfor other groups
200Body
{
"user_groups": [
{
"id": 1,
"name": "Only Me",
"user": 1
}
]
}List all teams¶
GET List all teams/v1/teams
This endpoint will return all of the teams associated with the account (workspace) of the user interacting with the API access token.
- teamsArray (Team)
- idnumber, required
The id of the team being returned
- namestring, required
The name of the team
- membersArray (AccountUser)
An array of users on the team
- idnumber
The id of the user
- emailstring
The email associated with the user’s login profile
- namestring
The name associated with the user’s login profile
- accountnumber
The id of the user’s account (workspace)
200Body
{
"teams": [
{
"id": 1,
"name": "Service",
"members": [
{
"id": 1,
"email": "bill@example.com",
"name": "Bill Jones",
"account": 1
}
]
}
]
}Retrieve all users¶
GET Retrieve all users/v1/users
This endpoint will retrieve all of the active users for the current account.
- usersArray (User)
- idnumber, required
The id of the user being returned
- emailstring, required
The email of the user
- namestring, required
The name of the user
- accountnumber, required
The ID of the account this user is associated with
- excluded_from_assignmentsboolean, required
A flag to indicate if the user is a home office user
200Body
{
"users": [
{
"id": 1,
"email": "bill@example.com",
"name": "Bill",
"account": 1,
"excluded_from_assignments": false
}
]
}
Retrieve all comments¶
/v1/comments{?resource_id}{?resource_type}{?updated_since}{?updated_before}This endpoint will retrieve all of the comments that are accessible by the user for the specified resource.
The id of the resource being searched for. Ignored if no resource_type provided
The type of resource being searched for
Only returns comments updated on or after this timestamp
Only returns comments updated on or before this timestamp
The id of the comment being returned
The id of the user who created the comment
A timestamp representing when the comment was created.
A timestamp representing when the comment was last updated.
The body of the comment represented as plain text.
The body of the comment represented as html.
The name of the resource type
The id of the resource
200Body