Request
Path
The vehicle ID of the vehicle you are making a request to.
The webhook id you are subscribing the vehicle to. This can be found in Dashboard under Webhooks.
curl "https://api.smartcar.com/v2.0/vehicles/{vehicleId}/webhooks/{webhook_id}" \
-H "Authorization: Bearer {access_token}" \
-X "POST"
curl "https://api.smartcar.com/v2.0/vehicles/{vehicleId}/webhooks/{webhookId}" \
-H "Authorization: Bearer {token}" \
-X "POST"
Response
The vehicle id of the vehicle you are making a request to.
The webhook id you are subscribing the vehicle to.
{
"vehicleId": "dc6ea99e-57d1-4e41-b129-27e7eb58713e",
"webhookId": "9b6ae692-60cc-4b3e-89d8-71e7549cf805"
}