
AfterShip
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect AfterShip to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your AfterShip API key to pull your shipment tracking data into the PostHog Data warehouse.
You can create a key in the AfterShip admin under Settings → API keys.
AfterShip's tracking search only reaches back 120 days, so a sync covers your last 120 days of shipments.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Linking AfterShip to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select AfterShip
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
trackings | A shipment AfterShip is tracking, including its current delivery status, origin and destination, estimated delivery dates, and the full checkpoint history reported by the carrier. | Incremental, Full refresh | updated_at, created_at | — |
couriers | A carrier activated on your AfterShip account, with the extra fields it needs to track a shipment and the countries it serves. | Full refresh | — | — |
courier_connections | A carrier account you connected to AfterShip so it can pull tracking updates directly from that carrier. The stored carrier credentials are dropped during sync and never land in the warehouse. | Full refresh | — | — |