Webhooks are the recommended way to receive real-time vehicle data from Smartcar. You can still use the REST API for retrieving data and issuing commands, but webhooks are the most scalable and reliable option for most use cases.
How Webhooks Work
- Configure triggers - Define which vehicle events should send you data (e.g., battery percentage changes, location changes, etc.)
- Select signals - Choose what data points to include in webhook payloads (see available signals)
- Receive events - Smartcar automatically sends HTTP POST requests to your endpoint when conditions are met
- Process data - Your application handles incoming webhook deliveries and updates your system
Webhook Components
Understanding Smartcar’s webhook system involves three main areas:1. Setup & Configuration
- Creating Webhooks - Configure webhooks in the Smartcar Dashboard
- Callback Verification - Verify your endpoint URL
- Receiving Webhooks - Build your webhook receiver
2. Security & Validation
- Payload Verification - Validate webhook signatures
- Best Practices - Secure your integration
3. Technical Reference
- Event Reference - Complete event and payload documentation
- Delivery Behavior - Retry policies, ordering, and guarantees

