Note: While our most popular guides have been translated into Spanish, some guides are only available in English.

Squarespace API keys

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.

The Squarespace API is a premium feature:

  • Forms API (for Zapier integration) is available on Business and Commerce plans.
  • Orders API is available in the Commerce Advanced plan.
  • Inventory API is available in the Commerce Advanced plan.
  • Transactions API is available in the 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. In the Home menu, click Settings, then click Advanced.
  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. In the Home menu, click Settings, then click Advanced.
  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.

Was this article helpful?
19 out of 46 found this helpful