Vehicle profile access to roads

When requesting a route between two locations and the vehicle type/profile is set to truck and when the truck can not drive into the street of the end address, then what will happen? Will it return that there is no route or will it just show the route as close by the end location as possible?

It should show you the route with the end location as close as possible. Or if too far away will return with connection not found.

Great. And in the Matrix API? How can we be informed?

It will also there silently snap to the closest possible location or return with an error (without any results)

Okay. So if I want to know whether a truck can enter a destination street, I should just poll the route api and check if the lat lon of the snapped_waypoints destination match the request destination lat/lon?

Yes, that should work.