Company Tracking

Company Membership

Part of what makes Wisdom a really compelling tool is the company CRM tracker. You can search for particular companies.

In order to update company traits, on your server, you should HTTP POST to the following endpoint https://producer.getwisdom.io/api/v1/ingestion/company/${__COMPANY_ID__}, providing the following params in the body of the HTTP Post. Remember to generate an API token and include it in the body as apiSecretToken.

Company TraitSQL Field Type
companyIdcharacter varying(40)
namecharacter varying(128)
descriptioncharacter varying(1024)
notesjsonb
leaderstext[]
tagstext[]
tasksjsonb
detailsjsonb
isPaidboolean
streetAddressHQcharacter varying(64)
cityAddressHQcharacter varying(64)
regionCodeAddressHQcharacter varying(64)
countryCodeAddressHQcharacter varying(64)
postalZipCodeHQcharacter varying(64)
phonecharacter varying(32)
logoURLcharacter varying(512)
websitecharacter varying(128)
domaincharacter varying(128)
monthlyRevenuePerSeatnumeric
monthlyRevenueEstimatenumeric
stripeCustomerIdcharacter varying(36)
totalRevenuenumeric(12,4)
BASH Example: Updating Company Names & Descriptions
curl -X POST "https://producer.getwisdom.io/api/v1/ingestion/company/$(__COMPANY_ID__)" \
-H 'Content-Type: application/json; charset=utf-8' \
-d "
{
\"apiSecretToken\": \"xxxxxxxxxxxxxxxxxxx\",
\"name\": \"SaaS Corp\",
\"description\": \"test\",
\"notes\": \"Notes to record.\",
\"tags\": [\"enterprise\", \"emea\"],
\"phone\": \"+1 (415) 123 - 4567\",
\"domain\": \"example.com\",
\"logoURL\": \"https://www.example.com/logo.png\"
}"
JS Example: Updating Company Names & Descriptions
const request = require('request');
request({
url: `https://producer.getwisdom.io/api/v1/ingestion/company/${companyId}`,
method: 'post'
json: true,
body: {
// API Token created at "https://app.getwisdom.io/org/~/project/~/configs/api-access"
apiSecretToken: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
name,
description,
notes,
leaders,
tags,
tasks,
details,
isPaid,
streetAddressHQ,
cityAddressHQ,
regionCodeAddressHQ ,
countryCodeAddressHQ,
postalZipCodeHQ,
phone,
logoURL,
website,
domain,
revPerSeat,
estMonthlyRev,
},
})

Generating an API Token

Remember to generate an API token for your project, in order to use the server side API to update company information.

Last updated on by John Gracey