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

All versions ->

Copy link to request setupRun requestRun
GET/v2/sites/{site_id}/snippet

Retrieve snippet

Retrieves your snippet from a Square Online site. API Reference ->

Sign in
Sandbox is not supported for this endpoint.SandboxProduction

Access Tokens

Sign in to populate your access tokens from the developer dashboard Sign in

Link to section

Parameters

site_id

string

Required

A string that contains no characters. In an API request this value will appear as ''. Can be used to remove a field's value.

GET /v2/sites/{site_id}/snippet

Response

// No response received yet.