How to get The optimized route from start point to end point

Dear RouteXl,
I am going integrated RouteXl Api in my application. How to get The optimized route from start point to end point in post tour Api .

The API optimizes the route between the first and last location. To optimize route from start point to end point, make the start point the first location and the end point the last location in your request.