Importing Data
Overview of all methods to import data into Solinth.
8 min readUpdated December 2024
Import Methods
Solinth provides multiple ways to import your data. Choose the method that best fits your workflow and technical requirements.
1. REST API
The most flexible option for developers. Push events in real-time from your application code.
- Real-time data ingestion
- Full control over event structure
- Batch support for high-volume data
- SDKs available for popular languages
Example: Track an Event
await fetch('https://api.solinth.com/v1/events', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
event: 'purchase',
properties: {
amount: 99.00,
product: 'Pro Plan'
}
})
});2. Webhooks
Receive data automatically when events occur in external services. Perfect for integrating with payment processors, CRMs, and other tools.
- Automatic data sync
- No code required for supported services
- Real-time updates
- Retry logic for failed deliveries
Webhook Security
Always verify webhook signatures to ensure requests are authentic. See our Webhooks guide for details.
3. File Uploads
Import historical data or bulk data from CSV, JSON, or Excel files.
- Support for CSV, JSON, and Excel formats
- Column mapping interface
- Preview before import
- Up to 100MB per file (larger files via API)
4. Integrations
Connect to third-party services with one-click integrations. Data syncs automatically without any code.
- Stripe - Payment and subscription data
- Google Analytics - Website traffic and conversions
- Shopify - E-commerce orders and products
- HubSpot - CRM and marketing data
- And many more...
Choosing the Right Method
| Method | Best For | Technical Level |
|---|---|---|
| REST API | Custom events, real-time tracking | Developer |
| Webhooks | Third-party service events | Intermediate |
| File Uploads | Historical data, bulk imports | Beginner |
| Integrations | Popular services, no-code setup | Beginner |
Next Steps
Dive deeper into each import method: