OpenAPI 3.0 — REST API
airsource API
Build your own integrations — REST API to sync sales data between any source and destination.
Quick Start
Connect your first data source to a destination in 3 minutes.
1
Get your API Key
// After onboarding, find your API key in the dashboard
const API_KEY = process.env.AIRSOURCE_API_KEY;2
POST /api/integrations — connect your data
const res = await fetch("https://airsource.io/api/integrations", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
email: "you@example.com",
source: "stripe",
destination: "airtable",
source_credentials: { api_key: "sk_..." },
destination_credentials: { api_key: "pat...", base_id: "app..." },
}),
});
const { integration_id } = await res.json();3
GET /api/admin/status — verify connection
const status = await fetch(
`https://airsource.io/api/dashboard/sync-logs/${integration_id}`,
{ headers: { Authorization: `Bearer ${API_KEY}` } }
);
console.log(await status.json());API Endpoints
Click any endpoint to expand request/response details and code examples.
Integration
Schema
Auth
Dashboard
Webhook
OpenAPI Spec
Download or explore the machine-readable OpenAPI 3.0 spec to generate client SDKs, Postman collections, or connect to any API tool.
View openapi.json