Outreach
Outreach is a sales engagement platform for running prospecting sequences, emails, calls, and tasks, and for tracking opportunities.
ingestr supports Outreach as a source.
URI format
# S2S (server-to-server) credentials, best for scheduled loads
outreach://?s2s_app_id=<s2s_guid>&install_id=<install_id>&private_key=<base64_pem>
# OAuth refresh-token credentials
outreach://?client_id=<client_id>&client_secret=<client_secret>&refresh_token=<refresh_token>
# A pre-obtained access token (expires after ~2 hours)
outreach://?access_token=<access_token>URI parameters:
s2s_app_id,install_id,private_key: S2S credentials.s2s_app_idis your app's S2S GUID,install_ididentifies the app's installation in your organization, andprivate_keyis the base64-encoded PEM of the RSA key whose public half you uploaded to the app. ingestr signs a new one-hour token with the key whenever it needs one, so nothing expires. Provide all three together. S2S can't readstages,sequence_steps, oropportunity_stages; use OAuth credentials for those.client_id,client_secret,refresh_token: the credentials of your Outreach OAuth application and a refresh token issued to it. ingestr exchanges them for an access token when it connects and refreshes the token again before it expires, so long loads keep working. Provide all three together. Outreach refresh tokens last 14 days and are replaced on every refresh, and ingestr can't save the new one, so a refresh token works for a limited time only. Prefer S2S for scheduled loads.access_token: a ready OAuth access token. Outreach access tokens expire after about two hours, so prefer the refresh-token credentials.base_url(optional): the API base URL. Defaults tohttps://api.outreach.io/api/v2.token_url(optional): the OAuth token URL. Defaults tohttps://api.outreach.io/oauth/token.
Provide one of: s2s_app_id + install_id + private_key, client_id + client_secret + refresh_token, or access_token.
Getting S2S credentials
- In the Outreach Developer Portal, add the "API Access (S2S)" feature to your app and select the read scope of each resource you want to load (for example
prospects.read). Note the app's S2S GUID. - Generate an RSA key pair and upload the public key to the app:sh
openssl genrsa -out outreach.pem 2048 openssl rsa -in outreach.pem -pubout -out outreach.pub - Have an Outreach org admin install the app. Outreach passes the installation ID to the app's setup URL or lifecycle webhook; see Obtaining installation ID.
- Use
base64 -w0 outreach.pemasprivate_key, URL-encoded, in the ingestr URI.
Getting OAuth credentials
- In the Outreach Developer Portal, create an app with a redirect URI and the read scope of each resource you want to load (for example
prospects.readorusers.read). - Open the authorization URL in a browser and approve access as an Outreach user:
https://api.outreach.io/oauth/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&response_type=code&scope=<scope1+scope2> - Exchange the
codefrom the redirect for tokens:shcurl https://api.outreach.io/oauth/token -X POST \ -d client_id=<client_id> -d client_secret=<client_secret> -d redirect_uri=<redirect_uri> \ -d grant_type=authorization_code -d code=<code> - Use the
refresh_tokenfrom the response, with yourclient_idandclient_secret, in the ingestr URI.
The data ingestr can read is limited to what the authorizing user can see in Outreach.
Tables
| Table | PK | Inc Key | Inc Strategy | Details |
|---|---|---|---|---|
prospects | id | updatedAt | merge | People you sell to. Soft-deleted prospects carry trashedAt. |
accounts | id | updatedAt | merge | Companies. Outreach only lists named accounts. |
opportunities | id | updatedAt | merge | Deals. Soft-deleted opportunities carry trashedAt. |
opportunity_stages | id | updatedAt | merge | Stages an opportunity moves through. |
sequences | id | updatedAt | merge | Sequences (cadences) of steps. |
sequence_states | id | updatedAt | merge | A prospect's enrollment in a sequence. |
sequence_steps | id | updatedAt | merge | Steps within a sequence. |
mailings | id | updatedAt | merge | Emails sent or scheduled, with their delivery state. |
calls | id | updatedAt | merge | Logged calls and their outcomes. |
tasks | id | updatedAt | merge | Tasks for users, such as calls and manual emails. |
users | id | updatedAt | merge | Outreach users. Deactivated users have locked = true. |
stages | id | updatedAt | merge | Prospect stages. |
Use these as the --source-table parameter in the ingestr ingest command.
Each row holds the resource's id and type, one column per attribute, and the resource's relationships as a JSON column. For every to-one relationship, the related id is also a column named after it, e.g. accountId, ownerId, or sequenceId (account_id, owner_id, sequence_id with the default snake_case naming). A polymorphic relationship like a task's subject can point at different resource types; check relationships for the type.
Without --interval-start / --interval-end, ingestr loads every record. With an interval, it loads the records updated within it and merges them into the destination by id.
Deleted records
- Hard-deleted records disappear from the Outreach API, so ingestr can't remove them from the destination. To drop them, run a
--full-refreshload. - Soft-deleted prospects and opportunities keep their
trashedAttimestamp while Outreach still returns them.
Example
Load all prospects into DuckDB:
ingestr ingest \
--source-uri 'outreach://?client_id=client_123&client_secret=secret_123&refresh_token=refresh_123' \
--source-table 'prospects' \
--dest-uri 'duckdb:///outreach.duckdb' \
--dest-table 'outreach.prospects'Load the mailings updated in January 2026:
ingestr ingest \
--source-uri 'outreach://?client_id=client_123&client_secret=secret_123&refresh_token=refresh_123' \
--source-table 'mailings' \
--dest-uri 'duckdb:///outreach.duckdb' \
--dest-table 'outreach.mailings' \
--interval-start '2026-01-01' \
--interval-end '2026-02-01'A date without a time means midnight UTC, and both ends of the interval are inclusive. An end of 2026-02-01 therefore covers all of January 31, plus any record updated exactly at midnight on February 1; merging by id makes that overlap with the next run harmless.