Squarespace API keys

How to set up, use, and troubleshoot API keys to connect integrations to your site.

Last updated January 21, 2025

An application programming interface (API) lets developers build integrations and applications that can connect to your Squarespace site.

This guide provides a general overview of the Squarespace API and unique API keys. For detailed information, visit the API developer documentation.

For help with Zapier, visit Adding form integrations with Zapier.

Accessing this feature

The Squarespace API has the following availability. To learn more, visit Choosing the right Squarespace plan:

  • Forms API (for Zapier integration) is available on Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans.
  • Orders API is available in the Core, Plus, Advanced, and Commerce Advanced plan.
  • Inventory API is available in the Core, Plus, Advanced, and Commerce Advanced plan.
  • Transactions API is available in the Core, Plus, Advanced, and Commerce Advanced plan.

About our API

What you can build

With our API, you can build direct integrations with other software, with a wide variety of use cases. Create a Forms API key to use our integration with Zapier, or create commerce API keys to build your own custom commerce tools.

Using the data we provide access to through our API, you can:

  • Connect to a third-party fulfillment or shipping application
  • Sync your inventory with other sales channels or inventory management systems
  • Send order confirmation emails through third-party software
  • Automate shipping label printing
  • Automate accounting
  • Connect to our Zapier integration

To confirm an integration is possible, visit our developer documentation.

API key security

Your unique API key is a randomized string of characters which permits authenticated access to your Squarespace account.

To create a new key:

  1. Open the Developer tools panel.
  2. Click Developer API Keys.
  3. Click Generate Key.
  4. Enter a Key Name.
  5. Under Permissions, check Orders, Forms, Inventory, or Transactions. Forms are available in the Business plan or higher. Orders, Inventory, and Transactions are only available in the Commerce Advanced plan.
  6. Select the permissions for the API key.
  7. Click Next.
  8. Copy your unique API key.

When you get this key:

  • Keep it secure. Treat your API key like you would treat any account password.
  • Copy and save it for your records. For security, we don’t store your API key. There’s no way to retrieve it after you close the window, but if you lose it, you can always create a new one.

You can follow these steps again to create multiple keys.

Zapier integration

You can connect form blocks, newsletter blocks, and cover page forms to the online automation tool Zapier. This lets you create Zaps, a type of automated workflow, which use form submissions to trigger additional Zapier integrations like Slack, Trello, ConvertKit, Salesforce and more. This can help you save time by connecting Squarespace to useful tools and automating processes.

For help, visit Adding forms integrations with Zapier.

Commerce APIs

Use the commerce APIs to sync your store's order, inventory, and transaction data with third-party services. This is a great way to connect your Squarespace store with other services you use to manage your business, and automate key tasks like shipping and tax filing. Learn more about using these APIs in our developer documentation:

Keep in mind:

  • It's not possible to use the commerce API to connect a third-party payment processor. You can only use Square for point of sale, Stripe, or PayPal to process orders made on your site.
  • The Orders and Inventory APIs are designed for merchants to build their own custom integrations. Find our official extensions built by third-party services in Squarespace Extensions.

Revoke an API key

To revoke an API key, delete it in the Squarespace API Keys panel:

  1. Open the Developer tools panel.
  2. Click Developer API Keys.
  3. Click the trash can icon beside the API Key you want to revoke.
  4. Click Confirm.

Deleting an API key breaks the connection between your site and the app or service using the key to access your site data. The app or service may still have data you sent while the API was connected. Contact the developer directly to manage your historical data.

Troubleshooting and support

API keys

We recommend these first steps when troubleshooting issues with API keys:

  • Ensure you’re using the right type of API key. For example, you can only use the Forms API to build form integrations.
  • If a particular form or order doesn’t appear, ensure you created the API key for the correct site.
  • If a form doesn’t appear in Zapier and the API key is for the correct site, delete the form in Squarespace and add a new one.

Commerce APIs

For help using the Squarespace Commerce APIs, visit our Developer Site, which has detailed documentation on all our public APIs. If you still have questions, contact us.

Footer Image
  • Get help from our community

  • Get help from our community on advanced customizations.

  • Hire a Squarespace Expert

  • Stand out online with the help of an experienced designer or developer.