Sign in

Create webhook subscription

documented

Creates a webhook subscription.

POST /v2/webhooks/subscriptionsWebhooksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://connect.squareup.com/v2/webhooks/subscriptions" \
  -X POST \
  -H "Square-Version: 2026-01-22" \
  -H "Authorization: Bearer {{$SQUAREUP_PAT}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"idempotency_key":"{{$idempotency_key}}","subscription":{"name":"{{$name}}","event_types":["{{$event_type_1}}","{{$event_type_2}}"],"notification_url":"{{$notification_url}}","api_version":"{{$api_version}}"}}'