Discussions

Ask a Question
Back to all

vehicle_location_updated webhook (v1) doesn't return company_id

We now have 3 customers receiving webhooks for the vehicle_location_updated event, but there's nothing in the webhook that tells me which company it's for.

I don't want to have to query each of the companies to find out what devices they have every time a webhook comes in, and I don't want to have to store/cache a list of their devices on our server.

Is there any way to get company_id added to that packet as well as the vehicle_location_received webhook packet, or is there a better way to go about this?