Programmatically manage your Makeswift sites, pages, and locales.
The Makeswift REST API allows you to programmatically manage your Makeswift resources. Use it to automate workflows, integrate with external systems, or build custom tooling.
All API requests should be made to:
Authenticate requests by including an App API key in the x-api-key header:
See the Authentication guide to learn how to create an app and get your API key.
All responses return JSON. Successful responses include an object field indicating the resource type:
List endpoints return paginated results:
List endpoints support cursor-based pagination using the following query parameters:
To paginate through results:
startingAfter parameterhasMore is true, use the id of the last item in data as the startingAfter parameter for the next requesthasMore is falseThe API implements rate limiting per authentication credential (API key or Bearer token) to ensure fair usage and protect service stability. Rate limits may be adjusted over time.
The API uses standard HTTP status codes and returns consistent error responses:
Returned when the request body or query parameters are invalid.
Returned when the API key is missing or invalid.
Returned when the API key is valid but lacks permission to access the resource.
Returned when the requested resource doesn’t exist.
Returned when attempting to create a resource that already exists.
Returned when the rate limit is exceeded.