How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Square WebhookSubscriptions API

The WebhookSubscriptions API from Square — 5 operation(s) for webhooksubscriptions.

Square WebhookSubscriptions API is one of 45 APIs that Square publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Webhook Subscriptions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 8 operations across 5 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://connect.squareup.com.

8 operations 5 paths 19 schemas 1 DELETE3 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://connect.squareup.com
Authentication
OAuth 2.0, API Key
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Square WebhookSubscriptions API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 57 scopes. An API key is passed in the header as Authorization (oauth2ClientSecret).

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 3 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

WebhookSubscriptions 8
GET
/v2/webhooks/event-types
Square List Webhook Event Types
ListWebhookEventTypes 1 param → 200
GET
/v2/webhooks/subscriptions
Square List Webhook Subscriptions
ListWebhookSubscriptions 4 params → 200
POST
/v2/webhooks/subscriptions
Square Create Webhook Subscription
CreateWebhookSubscription body → 200
DELETE
/v2/webhooks/subscriptions/{subscription_id}
Square Delete Webhook Subscription
DeleteWebhookSubscription 1 param → 200
GET
/v2/webhooks/subscriptions/{subscription_id}
Square Retrieve Webhook Subscription
RetrieveWebhookSubscription 1 param → 200
PUT
/v2/webhooks/subscriptions/{subscription_id}
Square Update Webhook Subscription
UpdateWebhookSubscription 1 param body → 200
POST
/v2/webhooks/subscriptions/{subscription_id}/signature-key
Square Update Webhook Subscription Signature Key
UpdateWebhookSubscriptionSignatureKey 1 param body → 200
POST
/v2/webhooks/subscriptions/{subscription_id}/test
Square Test Webhook Subscription
TestWebhookSubscription 1 param body → 200

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are WebhookSubscription (9 properties), SubscriptionTestResult (5 properties), Error (4 properties), ListWebhookEventTypesResponse (3 properties). Each schema is shown below with its type and property counts.

EventTypeMetadata
object
Contains the metadata of a webhook event type.
3 properties
TestWebhookSubscriptionResponse
object
Defines the fields that are included in the response body of a request to the [TestWebhookSubscription](api-endpoint:WebhookSubscriptions-TestWebhookSubscripti…
2 properties
WebhookSubscription
object
Represents the details of a webhook subscription, including notification URL, event types, and signature key.
9 properties
ListWebhookSubscriptionsResponse
object
Defines the fields that are included in the response body of a request to the [ListWebhookSubscriptions](api-endpoint:WebhookSubscriptions-ListWebhookSubscript…
3 properties
RetrieveWebhookSubscriptionResponse
object
Defines the fields that are included in the response body of a request to the [RetrieveWebhookSubscription](api-endpoint:WebhookSubscriptions-RetrieveWebhookSu…
2 properties
SubscriptionTestResult
object
Represents the details of a webhook subscription, including notification URL, event types, and signature key.
5 properties
UpdateWebhookSubscriptionResponse
object
Defines the fields that are included in the response body of a request to the [UpdateWebhookSubscription](api-endpoint:WebhookSubscriptions-UpdateWebhookSubscr…
2 properties
SortOrder
string
The order (e.g., chronological or alphabetical) in which results from a request are returned.
ListWebhookEventTypesResponse
object
Defines the fields that are included in the response body of a request to the [ListWebhookEventTypes](api-endpoint:WebhookSubscriptions-ListWebhookEventTypes)…
3 properties
CreateWebhookSubscriptionRequest
object
Creates a [Subscription](entity:WebhookSubscription).
2 properties 1 required
UpdateWebhookSubscriptionSignatureKeyRequest
object
Updates a [Subscription](entity:WebhookSubscription) by replacing the existing signature key with a new one.
1 property
TestWebhookSubscriptionRequest
object
Tests a [Subscription](entity:WebhookSubscription) by sending a test event to its notification URL.
1 property
UpdateWebhookSubscriptionRequest
object
Updates a [Subscription](entity:WebhookSubscription).
1 property
Error
object
Represents an error encountered during a request to the Connect API. See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) fo…
4 properties 2 required
ErrorCode
string
Indicates the specific error that occurred during a request to a Square API.
CreateWebhookSubscriptionResponse
object
Defines the fields that are included in the response body of a request to the [CreateWebhookSubscription](api-endpoint:WebhookSubscriptions-CreateWebhookSubscr…
2 properties
ErrorCategory
string
Indicates which high-level category of error has occurred during a request to the Connect API.
UpdateWebhookSubscriptionSignatureKeyResponse
object
Defines the fields that are included in the response body of a request to the [UpdateWebhookSubscriptionSignatureKey](api-endpoint:WebhookSubscriptions-UpdateW…
2 properties
DeleteWebhookSubscriptionResponse
object
Defines the fields that are included in the response body of a request to the [DeleteWebhookSubscription](api-endpoint:WebhookSubscriptions-DeleteWebhookSubscr…
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

square-webhooksubscriptions-api-openapi.yml Raw ↑

Other APIs Square publishes across the network.

Square Reporting API
Square Channels API
Square Transfer Orders API
Square ApplePay API
Square BankAccounts API
Square BookingCustomAttributes API
Square Bookings API
Square Cards API
Square CashDrawers API
Square Catalog API
Square Checkout API
Square CustomerCustomAttributes API
Where this information came from

This is an independent, third-party profile of Square WebhookSubscriptions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.