Integrations and Connections in Air Pixels
Connect Air Pixels with third-party tools, drone hardware, and external services to enhance your workflow and automate drone operations.
curl -X POST https://api.example.com/v1/flights \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"droneId": "drone_xyz789",
"path": {
"waypoints": [{"lat": 34.0522, "lng": -118.2437}]
}
}'
const response = await fetch('https://api.example.com/v1/flights', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
droneId: 'drone_xyz789',
path: { waypoints: [{ lat: 34.0522, lng: -118.2437 }] }
})
});
{
"success": true,
"flightId": "fp_1234567890",
"status": "scheduled"
}
{
"error": "invalid_drone_id",
"message": "Drone not found"
}
Overview
Air Pixels supports seamless integrations with drone hardware, third-party services, and custom APIs. You can connect compatible drones for automated flights, set up webhooks for real-time notifications, and build custom solutions using our REST API. These integrations streamline your operations on film sets, rooftops, and other environments.
Review the compatibility list in your dashboard to ensure your hardware and tools work with Air Pixels.
Supported Drone Hardware
Air Pixels works with leading drone manufacturers. Use the table below to check compatibility.
| Manufacturer | Models | Key Features |
|---|---|---|
| DJI | Mavic 3, Air 3, Mini 4 | AI flight paths, live video |
| Autel | EVO Nano+, EVO Lite+ | Rooftop scanning, obstacle avoidance |
| Skydio | X10, X2 | Autonomous mapping, 3D models |
Connect your DJI drone via the Air Pixels app.
Pair Device
Open the Air Pixels app and select Add Drone.
Enter Credentials
Input your drone's serial number and API token.
Test Connection
Run a test flight path to verify integration.
Follow these steps for Autel drones.
<CodeGroup tabs="App,Mobile SDK">
```javascript
// App-based pairing
const drone = await airPixels.connect('autel-evo-lite');
await drone.auth({ serial: 'ATEL123456' });
```
```swift
// Mobile SDK example
let drone = try AirPixelsDrone.connect(model: "EVO Lite+")
try drone.authenticate(serialNumber: "ATEL123456")
```
</CodeGroup>
Webhook Integrations
Set up webhooks to receive notifications for flight events like takeoff, completion, or errors. Point your webhook URL to https://your-webhook-url.com/airpixels.
Setup Steps
Create Webhook
In your dashboard, navigate to Integrations > Webhooks > New Webhook.
Configure Events
Select events: flight.started, flight.completed, flight.error.
Add Endpoint
Enter your URL and test with a sample payload.
Sample Payload
{
"event": "flight.started",
"flightId": "fp_1234567890",
"droneId": "drone_xyz789",
"timestamp": 1699123456,
"location": {
"lat": 34.0522,
"lng": -118.2437
}
}
{
"event": "flight.error",
"flightId": "fp_1234567890",
"error": "obstacle_detected",
"timestamp": 1699123500
}
Use tools like ngrok for local testing: ngrok http 3000.
API Connections
Build custom integrations with our REST API at https://api.example.com/v1. Authenticate using Bearer tokens.
Unique flight identifier.
Bearer YOUR_TOKEN.
Create a Flight
Community and Partnerships
Explore partnerships for advanced tools.