- [JSON representation](https://developers.google.com/maps/ai/maps-experience-agent-tools/reference/rest/Shared.Types/RouteEndpoints.md.txt#SCHEMA_REPRESENTATION)

Route endpoints (origin, destination).

| JSON representation |
|---|
| ``` { "origin": { object (`Waypoint`) }, "destination": { object (`Waypoint`) } } ``` |

| Fields ||
|---|---|
| `origin` | ``object (`Waypoint`)`` Required. Starting point (address, Place ID, or geographic coordinates). |
| `destination` | ``object (`Waypoint`)`` Required. Destination point (address, Place ID, or geographic coordinates). |