How to Generate and Manage Squarespace API Keys: A Complete Guide
The Squarespace API allows developers to create integrations and applications that connect to your Squarespace site. This guide explains how to use API keys effectively.
API Availability
- Forms API: Available on Essential, Plus, Advanced, Business, Basic Commerce, and Advanced Commerce plans
- Orders API: Essential, Plus, Advanced, and Advanced Commerce plans
- Inventory API: Essential, Plus, Advanced, and Advanced Commerce plans
- Transactions API: Essential, Plus, Advanced, and Advanced Commerce plans
Use Cases
With Squarespace's API, you can:
- Connect to third-party processing or shipping applications
- Synchronize inventory across sales channels
- Automate order confirmation emails
- Streamline shipping label printing
- Automate accounting
- Integrate with Zapier
Creating an API Key
- Navigate to "Developer Tools" panel
- Click "Developer API Keys"
- Click "Generate Key"
- Enter Key Name
- Select required permissions (Orders, Forms, Inventory, or Transactions)
- Click Next
- Copy and save your unique API key securely
Security Best Practices
- Store your API key safely
- Save it immediately (it cannot be recovered after closing the window)
- Create multiple keys as needed
Zapier Integration
Connect Form Blocks, Newsletter Blocks, and Landing Page Forms to Zapier for automated workflows with popular services like Slack, Trello, ConvertKit, and Salesforce.
Commerce API Features
- Inventory API: Sync inventory with management systems
- Orders API: Connect with shipping and processing services
- Products API: Manage products programmatically
- Transactions API: Integrate with accounting services
- Webhook Subscriptions API: Receive site notifications
Revoking API Keys
- Open "Developer Tools" panel
- Click "Developer API Keys"
- Click trash can icon next to the key
- Confirm deletion
Note: Deleting a key breaks the connection with associated services. Historical data may remain with third-party applications.
Troubleshooting Tips
- Verify you're using the correct API key type
- Confirm the API key is for the right site
- For form issues in Zapier, try deleting and recreating the form
For detailed technical documentation, refer to the Squarespace Developer Site.