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 Trait | SQL Field Type |
|---|---|
companyId | character varying(40) |
name | character varying(128) |
description | character varying(1024) |
notes | jsonb |
leaders | text[] |
tags | text[] |
tasks | jsonb |
details | jsonb |
isPaid | boolean |
streetAddressHQ | character varying(64) |
cityAddressHQ | character varying(64) |
regionCodeAddressHQ | character varying(64) |
countryCodeAddressHQ | character varying(64) |
postalZipCodeHQ | character varying(64) |
phone | character varying(32) |
logoURL | character varying(512) |
website | character varying(128) |
domain | character varying(128) |
monthlyRevenuePerSeat | numeric |
monthlyRevenueEstimate | numeric |
stripeCustomerId | character varying(36) |
totalRevenue | numeric(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.