Skip to main content

webhookSubscriptionCreate and webhookSubscriptionUpdate support all URI types

The webhookSubscriptionCreate and webhookSubscriptionUpdate GraphQL mutations now support a unified uri field in the webhookSubscription (WebhookSubscriptionInput) argument, which accepts:

  • HTTPS URLs
  • Google Pub/Sub URIs (pubsub://{project-id}:{topic-id})
  • Amazon EventBridge event source ARNs

The WebhookSubscription object has been updated to include this new uri field, and the webhookSubscriptions query now supports filtering by uri to accommodate all endpoint types.

Deprecations

The following endpoint-specific mutations are now deprecated in favor of the unified approach:

Additionally, the callbackUrl field in the webhookSubscriptions query is deprecated (previously supported HTTPS URLs only).

Migration Notes

Use the new uri field in webhookSubscriptionCreate/webhookSubscriptionUpdate mutations and webhookSubscriptions query instead of the deprecated endpoint-specific mutations and callbackUrl field.

Was this section helpful?