cURL
curl --request GET \ --url https://api.makeswift.com/v2/routes \ --header 'x-api-key: <api-key>'
{ "object": "list", "data": [ { "object": "route", "id": "37b18c41-9752-4adf-9aef-f42ab4f74b04", "pathname": "/furniture" } ], "hasMore": true }
Returns a list of routes for a site.
API key authentication. Accepts either:
The site ID to list routes from.
The maximum number of routes to return.
1 <= x <= 100
The pagination cursor. This is used to indicate what ID to list from.
list
Show child attributes
The flag that indicates whether there are more routes available.
Was this page helpful?