# Set vehicle mode in API

**URL:** <https://support.routexl.com/t/set-vehicle-mode-in-api/1617>\
**Category:** API\
**Created:** [September 22, 2020, 1:17pm UTC](https://support.routexl.com/t/set-vehicle-mode-in-api/1617 "2020-09-22T13:17:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![21south](https://support.routexl.com/letter_avatar_proxy/v4/letter/2/a5b964/32.png) [@21south](https://support.routexl.com/u/21south)\
**Post date:** [September 22, 2020, 1:17pm UTC](https://support.routexl.com/t/set-vehicle-mode-in-api/1617/1 "2020-09-22T13:17:50Z")

</div>

Is there a way for me to specify in the API call for Tour which vehicle I will be using? I found the options in the dashboard but haven’t seen any reference in the API docs. Is it possible at all?

---

<div class="post-metadata">

**Author:** ![RouteXL](https://support.routexl.com/user_avatar/support.routexl.com/routexl/32/347_2.png) [@RouteXL](https://support.routexl.com/u/RouteXL)\
**Post date:** [September 22, 2020, 4:04pm UTC](https://support.routexl.com/t/set-vehicle-mode-in-api/1617/2 "2020-09-22T16:04:33Z")

</div>

You can not select the vehicle in the current API, it will always be car.

However [API V2](https://www.routexl.com/blog/routexl-api-v2/) does support it, by setting `parameters[type]`.

---

<div class="post-metadata">

**Author:** ![21south](https://support.routexl.com/letter_avatar_proxy/v4/letter/2/a5b964/32.png) [@21south](https://support.routexl.com/u/21south)\
**Post date:** [September 23, 2020, 1:57pm UTC](https://support.routexl.com/t/set-vehicle-mode-in-api/1617/3 "2020-09-23T13:57:37Z")

</div>

Thnx. Does this mean that you will be able to provide parameters that make certain roads inaccessible for certain vehicles (such as tunnels and truck with height \> 2.5 meters)?

---

<div class="post-metadata">

**Author:** ![RouteXL](https://support.routexl.com/user_avatar/support.routexl.com/routexl/32/347_2.png) [@RouteXL](https://support.routexl.com/u/RouteXL)\
**Post date:** [September 23, 2020, 4:07pm UTC](https://support.routexl.com/t/set-vehicle-mode-in-api/1617/4 "2020-09-23T16:07:39Z")

</div>

No, dimensions are not yet included. That’s on our wishlist for sure, but there is no timeline yet. The vehicle type “smalltruck” (or “deliveryvan” on the website) has more access to certain roads, such as service and private roads.
