Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In
  • Home

  • Dev Essentials

  • Payments

  • Commerce

    • Orders

    • Order Custom Attributes

    • Catalog

    • Inventory

    • Transfer Order

    • Bookings

    • Booking Custom Attributes

    • Vendors

    • Channels

    • Sites

    • Snippets

    • Cash Drawers

  • Customers

  • Staff

  • Merchants

  • Objects & Enums

  • Webhook Events

  • Deprecated

  • SDKs

<- Square API

Square API

All versions ->

Snippets

Manage snippets for Square Online sites.

The Snippets API lets you manage snippets that add custom functionality to Square Online sites. A snippet is HTML, CSS, and JavaScript that is injected into the head element of all pages on a site, except for checkout pages. You can use the Snippets API to create applications that help meet the many needs of Square sellers.

Note: Square Online APIs are publicly available as part of an early access program. For more information, see Early access program for Square Online APIs.

For more information, see the following guide:

  • Snippets
  • Endpoints

  • Webhooks

All versions ->

This API does not support webhooks in the current version.