cURL
curl --request GET \ --url https://api.makeswift.com/v2/routes/{routeIdOrPathname} \ --header 'x-api-key: <api-key>'
{ "object": "route", "id": "37b18c41-9752-4adf-9aef-f42ab4f74b04", "pathname": "/furniture" }
Returns a route by its ID or pathname.
API key authentication. Accepts either:
The route ID or pathname for the route you are requesting.
The site ID required when using a pathname instead of a route ID.
The route.
route
The ID of the route.
The route pathname.
"/furniture"
Was this page helpful?