Skip to content

Vitally ​

Vitally is a customer success platform that brings together account health, conversations, notes, tasks, projects, and NPS data for B2B customer teams.

ingestr supports Vitally as a source.

URI format ​

The URI format for Vitally is as follows:

plaintext
vitally://?api_key=<api_key>&subdomain=<subdomain>&region=<region>

URI parameters:

  • api_key: a Vitally REST API key. A read-only key is enough.
  • subdomain: your Vitally subdomain, the acme in https://acme.vitally.io. Required for the us region.
  • region: where your workspace is hosted, us or eu. Defaults to us.

Setting up a Vitally integration ​

  1. In Vitally, open Settings (⚙️) from your account logo at the top left, then under Connectors select Integrations and choose Vitally REST API.
  2. Turn the integration on with the switch at the top right.
  3. Create an API key with the Read-only access level and copy its secret token into the api_key parameter of the URI.

Examples ​

bash
# Load all accounts into DuckDB
ingestr ingest \
  --source-uri 'vitally://?api_key=sk_live_123&subdomain=acme' \
  --source-table 'accounts' \
  --dest-uri duckdb:///vitally.duckdb \
  --dest-table 'vitally.accounts'

# Load notes changed since 2025-01-01 from an EU workspace
ingestr ingest \
  --source-uri 'vitally://?api_key=sk_live_123&region=eu' \
  --source-table 'notes' \
  --interval-start 2025-01-01 \
  --dest-uri duckdb:///vitally.duckdb \
  --dest-table 'vitally.notes'

Tables ​

TablePKInc KeyInc StrategyDetails
accountsidupdatedAtmergeActive and churned accounts.
organizationsidupdatedAtmergeOrganizations, the parent of accounts.
usersidupdatedAtmergeUsers linked to a tracked account or organization.
conversationsidupdatedAtmergeConversations, without their messages.
notesidupdatedAtmergeNotes, including deleted ones (archivedAt is set).
tasksidupdatedAtmergeTasks, including deleted ones.
projectsidupdatedAtmergeProjects, including deleted ones.
meetingsidupdatedAtmergeMeetings, including deleted ones.
nps_responsesidupdatedAtmergeNPS survey responses for accounts and organizations.
custom_object_instancesidupdatedAtmergeInstances of every custom object, including deleted ones, with customObjectId naming their custom object.
custom_objectsid-replaceCustom object definitions.
adminsid-replaceVitally team members.
note_categoriesid-replaceNote categories.
custom_fields--replaceCustom field definitions for every model. model names the model, and customObjectId the custom object for customObjects fields.

Use these as the --source-table parameter in the ingestr ingest command.

Notes ​

  • Vitally doesn't report hard-deleted accounts, organizations, or users, so rows deleted in Vitally stay in the destination.
  • The users table only has users linked to a tracked account or organization; Vitally's list endpoint leaves out the others.
  • Conversation messages can't be listed through the Vitally API, so they aren't available as a table.