POST
/
vehicles
/
{id}
/
webhooks
/
{webhook_id}
curl "https://api.smartcar.com/v2.0/vehicles/{vehicleId}/webhooks/{webhook_id}" \
    -H "Authorization: Bearer {access_token}" \
    -X "POST"
{
    "vehicleId": "dc6ea99e-57d1-4e41-b129-27e7eb58713e",
    "webhookId": "9b6ae692-60cc-4b3e-89d8-71e7549cf805"
}   

Request

Path

id
string
required

The vehicle ID of the vehicle you are making a request to.

webhook_id
string

The webhook id you are subscribing the vehicle to. This can be found in Dasbhaord under Webhooks.

Response

vehicleId
string

The vehicle id of the vehicle you are making a request to.

webhookId
string

The webhook id you are subscribing the vehicle to.