Scheduled webhooks make it incredibly easy to receive vehicle data on a cadence of your choosing. You can set up a webhook for any Smartcar endpoint that allows you to read data from a vehicle.
eventName
set to scheduled
.
mode
field will reflect the type of vehicle you’ve subscribed - either live
, test
or simulated
.ACCESS_TOKEN
from the auth code exchange step for Connect,
you’ll first want to hit the All Vehicles endpoint to fetch the Smartcar
vehicle_id
s of the authorized vehicles.
ACCESS_TOKEN
and WEBHOOK_ID
you can hit the Subscribe
endpoint for each vehicle_id
to start receiving data.
When will I receive my first scheduled webhook?
Can I use an Event Based webhook to receive scheduled webhooks?
Can I use the same callback URI for my webhooks?
eventName
field - scheduled
or eventBased
.I've stopped receiving events
Will I always receive payloads in line with my configured cadence?