Create an app and get your API key to authenticate with the Makeswift REST API.
betaTo use the Makeswift REST API, you’ll need to create an app and obtain an API key. This guide walks you through the setup process.
While both API Key and Bearer Token authentication methods are supported, you must use only one authentication method per request. Requests that include both an API Key and Bearer Token will be rejected.
Apps is currently an early access feature. You’ll need to enable it before you can create an app.

Once Apps is enabled, you can create your first app:


After creating your app, you’ll be shown your API key. This is the only time the key will be displayed.
Save your API key immediately. It won’t be shown again after you close the dialog. If you lose it, you’ll need to create a new app.

Many API endpoints require a Site ID. To find it:

Some API endpoints operate at the workspace level and require a Workspace ID:

Include your API key in the x-api-key header with every request:
Keep your API key secure and never expose it in client-side code. Use environment variables to store your key in your application.
Now that you have your API key, you can start making requests to the API: